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

Consider moving the pip package away from sourceforge #198

Open
FLamparski opened this issue Aug 9, 2015 · 15 comments
Open

Consider moving the pip package away from sourceforge #198

FLamparski opened this issue Aug 9, 2015 · 15 comments

Comments

@FLamparski
Copy link

Currently, the url for basemap in pypi points at https://downloads.sourceforge.net/project/matplotlib/matplotlib-toolkits/basemap-1.0.7/basemap-1.0.7.tar.gz. This means that in order to install basemap, one has to type the rather scary-looking and lengthy pip3 install --allow-external basemap --allow-unverified basemap basemap. Given this and some relatively shady stuff sourceforge have engaged in recently, I think it's a good idea for you to move the distribution and update the pypi listing accordingly.

@markmuetz
Copy link
Contributor

I've found this too, it makes installation of basemap a bit of a pest when using pip. And I'd echo the sentiments about sourceforge as well.

@WeatherGod
Copy link
Member

These are valid points, and it is something to consider. Previously, the
limitation in hosting the basemap package on pypi has been its size.
Perhaps that can be revisited?

On Tue, Aug 11, 2015 at 5:17 AM, Mark Muetzelfeldt <notifications@github.com

wrote:

I've found this too, it makes installation of basemap a bit of a pest when
using pip. And I'd echo the sentiments about sourceforge as well.


Reply to this email directly or view it on GitHub
#198 (comment).

@matthew-brett
Copy link

Relevant thread : matplotlib/matplotlib#2715 Maybe file size limit of 50MB?

@WeatherGod
Copy link
Member

Thread rezz-ing.
@dstufft, you have helped us out before with file-size limits for matplotlib on PyPi (matplotlib/matplotlib#2715). The problem is significantly worse for basemap, as the tarball is just under 130MB. What are our options?

@dstufft
Copy link

dstufft commented Oct 30, 2015

If you can wait until Warehouse is ready (scheduled to be early 2016), we'll have the ability to allow larger file sizes for specific projects so we can whitelist particular ones to have larger upload limits (our theoretical maximum will be several GB... but at some point we start running into problems with the cost of storing multiple releases of giant packages). In any case, 130MB for a well established project like matplotlib shouldn't be an issue once we can loosen the restrictions on a per project basis.

@fbender
Copy link

fbender commented May 18, 2016

@dstufft Is Warehouse ready to be used for basemap now? As far as I can see it's still in development but at least partially operational.
@WeatherGod Would it be a good idea to test hosting basemap there now?

@dstufft
Copy link

dstufft commented May 18, 2016

Yea, you can upload to Warehouse now, but you'll want to be aware of pypi/warehouse#1194.

@WeatherGod
Copy link
Member

Is that true even if the package was never hosted on pypi directly? basemap
was always hosted from sourceforge.

On Wed, May 18, 2016 at 12:45 PM, Donald Stufft notifications@github.com
wrote:

Yea, you can upload to Warehouse now, but you'll want to be aware of
pypi/warehouse#1194 pypi/warehouse#1194.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#198 (comment)

@dstufft
Copy link

dstufft commented May 18, 2016

Yea, but you only have to do it once each time you upload (and once the issue is fixed, never again).

fuentesfranco pushed a commit to kyklop-climate/kyklop that referenced this issue Jun 24, 2016
Basemap can at the moment apparently not be installed easily via pip.
(see matplotlib/basemap#251 and matplotlib/basemap#198)

Signed-off-by: Ramon Fuentes Franco <rfuentes@ictp.it>
@quang-ha
Copy link

What is the current stage of this issue? I an trying to write some tutorials using basemap, and I want to minimilise the effort of installing it.

@heitorPB
Copy link
Contributor

heitorPB commented Oct 16, 2018

any news, @WeatherGod ?

I'm also in a similar situation of @quang-ha:

$ pip search basemap
basemap (1.0.7)         - Plot data on map projections with matplotlib
projmap (0.7.2)         - High level wrapper of matplotlib-Basemap
tilemapbase (0.4.3)     - Use OpenStreetMap tiles as basemaps in python / matplotlib
basemap_Jim (0.1.1)     - basemap of Northwestern Atlantic Coastline for python plotting  .
Circles (0.1)           - Draw correctly-projected circles on a Basemap plot
daynight2geojson (0.1)  - Get day and night global geometry and dumps to a GeoJSON file. Builded on top of
                          Matplotlib Basemap Toolkit Library.
(venv) 
$ pip install basemap
Collecting basemap
  Could not find a version that satisfies the requirement basemap (from versions: )
No matching distribution found for basemap
(venv)

@da115115
Copy link

da115115 commented Nov 2, 2018

any news, @WeatherGod ?

I'm also in a similar situation of @quang-ha:

$ pip search basemap
basemap (1.0.7)         - Plot data on map projections with matplotlib
projmap (0.7.2)         - High level wrapper of matplotlib-Basemap
tilemapbase (0.4.3)     - Use OpenStreetMap tiles as basemaps in python / matplotlib
basemap_Jim (0.1.1)     - basemap of Northwestern Atlantic Coastline for python plotting  .
Circles (0.1)           - Draw correctly-projected circles on a Basemap plot
daynight2geojson (0.1)  - Get day and night global geometry and dumps to a GeoJSON file. Builded on top of
                          Matplotlib Basemap Toolkit Library.
(venv) 
$ pip install basemap
Collecting basemap
  Could not find a version that satisfies the requirement basemap (from versions: )
No matching distribution found for basemap
(venv)
  • Installing from the URL should work:
# v1.2.0rel
$ pip install https://github.com/matplotlib/basemap/archive/v1.2.0rel.tar.gz
# v1.1.0
$ pip install https://github.com/matplotlib/basemap/archive/v1.1.0.tar.gz

@heitorPB
Copy link
Contributor

heitorPB commented Nov 2, 2018

PR #433 discusses about this issue.

@ver0z
Copy link

ver0z commented May 13, 2020

I solved this by uninstalling the conda and reinstalling, defining on installation the conda path on variable environment. After, at settings on your project, set the project interpreter to C:\Users\the_user_name\anaconda3\python.exe, then try to install the basemap. It was the only way I got this, after many tries and bugs with pip I tried with conda and that's it.

@remycloyd
Copy link

I'm not sure I understand. I have just installed anaconda after a few days of pip problems. not sure where to go from here

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