komoot / staticmap

A small, python-based library for creating map images with lines, markers and polygons.
https://www.komoot.com
Other
290 stars 65 forks source link

Update breaks my production environment #13

Closed raratiru closed 7 years ago

raratiru commented 7 years ago

While upgrading the python environment in my production server, I encountered the following fatal error:

  Downloading staticmap-0.5.2.tar.gz
    Complete output from command python setup.py egg_info:
    error in staticmap setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected version spec in futures;python_version<"3.2" at ;python_version<"3.2"
$ pip --version
pip 9.0.1 from ~/.virtualenvs/<>/lib/python3.5/site-packages (python 3.5)

In my home server, I only receive the following warning:

Ignoring futures: markers 'python_version < "3.2"' don't match your environment

$ pip --version
pip 9.0.1 from ~/.virtualenvs/<>/lib/python3.4/site-packages (python 3.4)
christophlingg commented 7 years ago

the declaration seems to be correct and follows the documentation. I can't really tell you why it fails on your production system. Here they were suggesting to try

pip install -U setuptools

raratiru commented 7 years ago

Indeed that did the trick, thank you!