Comments (12)
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.
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.
Would be great 👍
from pyyaml.
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.
@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.
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.
FYI, if you get travis ci up and running, it'd be easier for me to play with.
from pyyaml.
@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.
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.
@robertwb we have Travis CI set up now.
from pyyaml.
from pyyaml.
I see, is this an easy fix, @sigmavirus24 ?
from pyyaml.
Related Issues (20)
- " No module named '_ctypes'" when installing PyYAML 6.0.1 into Python 3.11.4 HOT 5
- Yaml with a key called "on" parsed as True HOT 4
- Disable AppVeyor integration HOT 1
- cython causes pipenv to fail dependency resolution due to errors in PyYAML setup.py HOT 1
- Documentation of exception types
- Backport #702 to pyyaml 5.4 HOT 1
- `[\?]` fails to parse in `Loader` but works in `CLoader` HOT 3
- Forces the Anchor to be emitted when dumping, even if the node is not referenced later?
- Python 3.12 failed to install pyYaML=6.0.0 HOT 4
- Tech lift on the nodes lib
- Cant get it to work on python 3.12 HOT 2
- libyaml-based builds segfault on Python 3.13.0a1 HOT 1
- Clarify that load_all methods return a generator, not a sequence HOT 1
- Failure to import HOT 2
- Support `str` subclasses in libyaml extension
- CSafeDumper doesn't appear to respect `allow_unicode=True`
- failed installing dependencies on WSL2 HOT 1
- bug? some string constants are getting printed as ints HOT 2
- yaml dump outputs not-to-spec keys HOT 2
- yaml-6.0.1 ==> cython-3.0.7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyyaml.