pyproj 3.0.0 uses cython on install but doesn't list it as a dependency
See original GitHub issueMy automated testing for the pyresample packages includes installing pyproj from pip (this is actually readthedocs doing the install, but still). When attempting to pip install pyproj I get:
Installed /home/docs/checkouts/readthedocs.org/user_builds/pyresample/envs/310/lib/python3.7/site-packages/configobj-5.0.6-py3.7.egg
Searching for pyproj>=1.9.5.1
Reading https://pypi.org/simple/pyproj/
Downloading https://files.pythonhosted.org/packages/17/e5/3f5cdff3e955bcd768cdb0f4236f2d6e022aaa72f57caf7f4d5f552c88fc/pyproj-3.0.0.post1.tar.gz#sha256=a49581629cadd29e61fc061d153a4d62ff28b4063c71fe8ca881eeb98cd22017
Best match: pyproj 3.0.0.post1
Processing pyproj-3.0.0.post1.tar.gz
Writing /tmp/easy_install-7u9_8k61/pyproj-3.0.0.post1/setup.cfg
Running pyproj-3.0.0.post1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-7u9_8k61/pyproj-3.0.0.post1/egg-dist-tmp-91dxe9zi
error: Setup script exited with ERROR: Cython.Build.cythonize not found. Cython is required to build from a repo.
Installation method/steps
- Installation method (conda, pip wheel, from source, etc…)
- How did you install PROJ? Where is it installed? pip as a dependency of another library
- Please provide all commands/steps you used to install pyproj and PROJ.
Environment Information
- pyproj version you are attempting to install: 3.0.0.post1
- PROJ version (Execute
proj
command and give version here.) - Python version (
python -c "import sys; print(sys.version.replace('\n', ' '))"
) - Operation System Information (
python -c "import platform; print(platform.platform())"
)
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (12 by maintainers)
Top Results From Across the Web
how to successfully install pyproj and geopandas?
When using pip to install GeoPandas, you need to make sure that all dependencies are installed correctly. First install shapely, fiona, pyproj and...
Read more >Installation — pyproj 3.0.1 documentation - GitHub Pages
This sets the version of PROJ when building pyproj. This enables installing pyproj when the PROJ executables are not present but the header...
Read more >pyproj4-pyproj/community - Gitter
I was able to successfully use cartopy and proj in spyder. ... seems 3.0.0.post1 requires cython to be installed via pip but doesn't...
Read more >Source Files and Compilation - Cython's Documentation
Run the cythonize compiler command with your options and list of .pyx files to ... numpy does not mean that you have to...
Read more >Installation — pandas 2.0.0.dev0+954.gd0dbd9f721 ...
The full list of extras that can be installed can be found in the dependency section. Installing with ActivePython#. Installation instructions for ActivePython ......
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
Hm apparently it is already using pip 20+:
This will be fun.
Edit: Got it. Old rtd config was using
python setup.py install
to install the package which uses the old egg/easy_install installation methodAh this must be a readthedocs issue then. Thanks!