Skip to content
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

Error to install with PIP #526

Closed
gavaza opened this issue Dec 10, 2021 · 1 comment
Closed

Error to install with PIP #526

gavaza opened this issue Dec 10, 2021 · 1 comment

Comments

@gavaza
Copy link

gavaza commented Dec 10, 2021

# pip --version
pip 21.3.1 from /usr/local/lib/python3.8/site-packages/pip (python 3.8)

# pip install https://github.com/matplotlib/basemap/archive/master.zip#egg=basemap
Collecting basemap
  Downloading https://github.com/matplotlib/basemap/archive/master.zip (129.7 MB)
     |████████████████████████████████| 129.7 MB 10 kB/s              
ERROR: basemap from https://github.com/matplotlib/basemap/archive/master.zip#egg=basemap does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.
@molinav
Copy link
Member

molinav commented Dec 10, 2021

Which operating system are you using? If it is GNU/Linux (x86 o x64), you can use the precompiled binaries available in PyPI:

python -m pip install "basemap == 1.3.0b1" "basemap-data == 1.3.0b1"

It is the same problem as in #525, the direct pip installation from the GitHub repo is not working anymore because I have been restructuring the project folder structure in order to make the wheel packaging easier.

You would only need to install explicitly basemap-data until we have a stable release of 1.3.0 in PyPI, at that point basemap will install basemap-data automatically as dependency. If you need the high resolution datasets, you can install them from basemap-data-hires.

@gavaza gavaza closed this as completed Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants