-
Notifications
You must be signed in to change notification settings - Fork 372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pip install Cartopy error: Proj version 6.3.1 is installed, but cartopy requires at least version 8.0.0. #1967
Comments
Despite you building from source, it seems like it's still picking up your system copy of PROJ. Is there any way you can uninstall the system copy? |
I have also same error with same Ubuntu Distributor, tried to install proj 8.0.0 but failed. |
Tried uninstalling proj with no success. Only current solution is to use conda to install cartopy, which is not ideal. Much prefer to use pip whenever possible. |
Same here, just tried installing with pipenv:
|
The problem here is that PyPI doesn't have any concept of compiled, non-Python dependencies, so there's no PyPI package for PROJ. That means using the system package (if it's recent enough) or building from source and making sure I've managed to make building PROJ from source and linking cartopy with it using these steps in a GitHub action for Metpy's CI system. The most important part is probably the environment variables that are set at the end of the action to ensure that the local build of PROJ is picked up. |
I had the same problem =\ |
PROJ is no longer explicitly required, so this should be solved. |
Error: Proj version 6.3.1 is installed, but cartopy requires at least version 8.0.0.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
Tried every which way, installed Proj 8.0.0 from source. None of the solutions on stack exchange etc work for me :(
Great software BTW and installs and works well on NixOS.
goat@goat:~$ pip3 install Cartopy
Collecting Cartopy
Using cached Cartopy-0.20.1.tar.gz (10.8 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /tmp/tmp6aicdi6c get_requires_for_build_wheel /tmp/tmpkz2s9252
cwd: /tmp/pip-install-54dhuz9l/Cartopy
Complete output (1 lines):
Proj version 6.3.1 is installed, but cartopy requires at least version 8.0.0.
ERROR: Command errored out with exit status 1: /usr/bin/python3 /tmp/tmp6aicdi6c get_requires_for_build_wheel /tmp/tmpkz2s9252 Check the logs for full command output.
The text was updated successfully, but these errors were encountered: