Giter VIP home page Giter VIP logo

Comments (12)

maartenbreddels avatar maartenbreddels commented on May 22, 2024

Hit by the same issue, building on travis fails for osx:
https://s3.amazonaws.com/archive.travis-ci.org/jobs/170573675/log.txt

.....
      File "/Users/travis/build/maartenbreddels/vaex-wheels/venv/lib/python2.7/site-packages/Cython/Distutils/build_ext.py", line 19, in finalize_options

        self.distribution.ext_modules)

      File "/Users/travis/build/maartenbreddels/vaex-wheels/venv/lib/python2.7/site-packages/Cython/Build/Dependencies.py", line 809, in cythonize

        aliases=aliases)

      File "/Users/travis/build/maartenbreddels/vaex-wheels/venv/lib/python2.7/site-packages/Cython/Build/Dependencies.py", line 752, in create_extension_list

        **kwds))

    TypeError: __init__() takes exactly 6 arguments (3 given)

Using cython==0.24.1 seems to work.

from pyyaml.

sigmavirus24 avatar sigmavirus24 commented on May 22, 2024

I can't find the parameters that are required documented in Cython (feature_name, feature_description, feature_check). I won't have the time tonight to research this, but I hope to get to it before the weekend.

from pyyaml.

maartenbreddels avatar maartenbreddels commented on May 22, 2024

Would be great 👍

from pyyaml.

robertwb avatar robertwb commented on May 22, 2024

These parameters are in yaml's custom Extension class. This was due to the switch to use cythonize(...) by default (which I'm planning on temporarily reverting).

from pyyaml.

sigmavirus24 avatar sigmavirus24 commented on May 22, 2024

@robertwb so, we're going to have problems when you switch to it anyway. Can you help me understand how I might go about fixing this? I'm not intimately familiar with cython or distutils. Thanks.

from pyyaml.

robertwb avatar robertwb commented on May 22, 2024

Looks like you have quite the complicated setup.py file. This is going to take some thought, but I'll keep pyyaml in mind while rewriting https://cython.readthedocs.io/en/latest/src/userguide/source_files_and_compilation.html#

from pyyaml.

robertwb avatar robertwb commented on May 22, 2024

FYI, if you get travis ci up and running, it'd be easier for me to play with.

from pyyaml.

sigmavirus24 avatar sigmavirus24 commented on May 22, 2024

@robertwb Yeah, I've been trying to get a hold of someone who can add that. In the meantime, I assume we should be using something like https://cython.readthedocs.io/en/latest/src/userguide/source_files_and_compilation.html#multiple-cython-files-in-a-package ?

from pyyaml.

anirudt avatar anirudt commented on May 22, 2024

Is there any quick fix for the above? I got the same error while installing Keras on a Ubuntu 14.04 32 bit machine. Any help would be appreciated.

from pyyaml.

sigmavirus24 avatar sigmavirus24 commented on May 22, 2024

@robertwb we have Travis CI set up now.

from pyyaml.

robertwb avatar robertwb commented on May 22, 2024

from pyyaml.

anirudt avatar anirudt commented on May 22, 2024

I see, is this an easy fix, @sigmavirus24 ?

from pyyaml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.