sharpy icon indicating copy to clipboard operation
sharpy copied to clipboard

Installation with PIP failing due to elementtree requirement

Open maxmumford opened this issue 10 years ago • 1 comments

Hey,

I'm trying to install your module using pip and the error message below is telling me that it is failing due to elementtree requirement not being satisfied:

$ sudo pip install sharpy
Downloading/unpacking sharpy
  Downloading Sharpy-0.8.tar.gz
  Running setup.py (path:/tmp/pip_build_root/sharpy/setup.py) egg_info for package sharpy

Requirement already satisfied (use --upgrade to upgrade): httplib2 in /usr/lib/python2.7/dist-packages (from sharpy)
Downloading/unpacking elementtree (from sharpy)
  Could not find any downloads that satisfy the requirement elementtree (from sharpy)
Cleaning up...
No distributions at all found for elementtree (from sharpy)
Storing debug log for failure in /home/max/.pip/pip.log

Afaik the lxml package provides elementtree, and it is already installed:

$ sudo pip install lxml
Requirement already satisfied (use --upgrade to upgrade): lxml in /usr/lib/python2.7/dist-packages
Cleaning up...

Any ideas what is causing this?

Thanks Max

maxmumford avatar Jan 04 '16 14:01 maxmumford

For anyone else having this issue, you can install elementtree from the url in order to satisfy the requirement, ex: pip install http://effbot.org/media/downloads/elementtree-1.2.7-20070827-preview.zip

The downloads for elementtree are viewable at http://effbot.org/downloads#elementtree

regneel avatar Jun 12 '17 19:06 regneel