Dependencies.py will not build against Python3.9
See original GitHub issueGet this error (as promised by CPython):
File "/python/Cython-0.29.14/Cython/Build/Dependencies.py", line 754, in create_extension_list
elif isinstance(patterns, basestring) or not isinstance(patterns, collections.Iterable):
AttributeError: module 'collections' has no attribute 'Iterable'
To get past this I added
import collections.abc
and modified line 754 (now 755) to read:
elif isinstance(patterns, basestring) or not isinstance(patterns, collections.abc.Iterable):
After these corrections, the module built against the CPython-3.9 (master branch).
FYI
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Unmet dependencies python3.9 - apt - Ask Ubuntu
Try 'apt --fix-broken install' with no packages (or specify a solution). Conclusion: something is wrong with some Python 3.9 packages. Overview:.
Read more >pip install is unable to build dependencies, failing at setup.py ...
The package you are trying to install does not contain a Windows binary. So pip is trying to compile it from source. But...
Read more >Setup and Building - Python Developer's Guide
If you decide to Install dependencies, you will need to re-run both configure and make . Once CPython is done building you will...
Read more >How to Package Python dependencies with PIP setuptools
Try a faster and easier way to manage your Python dependencies. Use Python 3.9 by ActiveState and build your own runtime with the...
Read more >Installing scikit-learn
It will provide a stable version and pre-built packages are availabl. ... Install the 64bit version of Python 3, for instance from https://www.python.org....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Is there a time frame for when this will be available to be released? Not overly familiar with how often releases are made on this project is all.
Thanks 😃
The MacOS wheel build is currently failing. There will be a release as soon as this problem is resolved.