Sam Comber
Sam Comber

Reputation: 1293

Pip module installation issue

I'm having difficulty installing modules using pip for python. The exact error message is:

Could not find a version that satisfies the requirement shapefile (from versions: DistributionNotFound: No matching distribution found for shapefile

When I type:

pip install -vvv shapefile

I get a 404 status code saying:

Could not fetch URL https://pypi.python.org/simple/shapefile/: 404 Client Error

I've browsed around and have seen there is a config file that allows you to change where pip installs modules from. However, I can't find this file in my /.pip folder.

Does anyone know how I would go about fixing my pip configuration so that I can install packages?

Upvotes: 0

Views: 238

Answers (1)

Szabolcs Dombi
Szabolcs Dombi

Reputation: 5783

Here is a list that matches your module name: PyPI search result for shapefile

Maybe the module is called pyshapefile not just shapefile.

pip install pyshapefile

Upvotes: 2

Related Questions