cython not found when building from source
See original GitHub issueThis is when running on current master. Might there be some other prereqs missing? Thanks
$ cython --version
Cython version 0.17.4
$ python setup.py build
running build
running build_py
copying pandas/version.py -> build/lib.linux-x86_64-2.7/pandas
running build_ext
Traceback (most recent call last):
File "setup.py", line 516, in <module>
**setuptools_kwargs)
File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
self.run_command(cmd_name)
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "setup.py", line 328, in build_extensions
self.check_cython_extensions(self.extensions)
File "setup.py", line 325, in check_cython_extensions
""" % src)
Exception: Cython-generated file 'pandas/parser.c' not found.
Cython is required to compile pandas from a development branch.
Please install Cython or download a release package of pandas.
Issue Analytics
- State:
- Created 10 years ago
- Reactions:1
- Comments:12 (7 by maintainers)
Top Results From Across the Web
Cython not found..Please install it error in buildozer
This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'cython' has no ......
Read more >Installing Cython — Cython 3.0.0a11 documentation
Unlike most Python software, Cython requires a C compiler to be present on the system. The details of getting a C compiler varies...
Read more >ModuleNotFoundError: No module named 'Cython' in Python
The Python "ModuleNotFoundError: No module named 'Cython'" occurs when we forget to install the Cython module before importing it or install ...
Read more >Source build can only find 'system' installation of Cython, not ...
When run naively as root, resulting in installation in /usr/local , the build appears to succeed. ... It seems that there's something in...
Read more >Cython - PyPI
Cython is a source code translator based on Pyrex, but supports more cutting edge ... pip install Cython --install-option="--no-cython-compile" ...
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 Free
Top 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
@cpcloud
It is a
Virtualenv
, and it was not seeing the “global”cython
.I run
pip install cython
, and that corrected it.Thank you for the pointers.
pip install cython
didn’t help in my case (I was using python 3.9.4) Switched to Python 3.7.0 and the problem fixed