shapely: Install of 1.5.4 fails on Ubuntu 14.04

I get the follow error when installing 1.5.4, which I do not get when running 1.5.3:

byte-compiling /usr/local/lib/python2.7/dist-packages/shapely/wkt.py to wkt.pyc

running install_data

error: can't copy 'shapely/_geos.pxi': doesn't exist or not a regular file

----------------------------------------
Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/shapely/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-jY7z2c-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/shapely
Traceback (most recent call last):
  File "/usr/bin/pip", line 9, in <module>
    load_entry_point('pip==1.5.4', 'console_scripts', 'pip')()
  File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 185, in main
    return command.main(cmd_args)
  File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 161, in main
    text = '\n'.join(complete_log)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 46: ordinal not in range(128)

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 19 (8 by maintainers)

Commits related to this issue

Most upvoted comments

Not my recommended solution, but hey, it works. Thanks!