Alexis Eggermont
Alexis Eggermont

Reputation: 8145

pip won't install package

I am trying to install this package: https://github.com/gka/pyshpgeocode using pip.

I get the error message:

Cannot unpack file c:\users\alexis\appdata\local\temp\pip-xljjwr-unpack\pyshpgeocode.git (downloaded from c:\users\alexis\appdata\local\temp\pip-jtyh7r-build, content-type: text/html; charset=utf-8); cannot detect archive format
Cannot determine archive format of c:\users\alexis\appdata\local\temp\pip-jtyh7r-build

What is this problem and how else can I install this package?

Upvotes: 5

Views: 21528

Answers (3)

Arjan Schipper
Arjan Schipper

Reputation: 1

I tried the same install and got the same error no module named shapegeocode. I think that the install is not working as expected. Namely, shapegeocode.py is not put anywhere. So I downloaded from GitHub and put shapegeocode.py manually in .\Lib\site-packages\pyshpgeocode-0.1-py2.7.egg after the install (which does update .\Lib\site-packages\easy-install.pth). Then it worked.

Upvotes: 0

Fringo
Fringo

Reputation: 355

Try:

pip install git+git://github.com/gka/pyshpgeocode.git

Upvotes: 9

Try:

git clone https://github.com/gka/pyshpgeocode.git
cd pyshpgeocode/
python setup.py install

Upvotes: 4

Related Questions