m-wrzr / populartimes

MIT License
815 stars 167 forks source link

ERROR: Could not find a version that satisfies the requirement geopy<3,>=2 (from populartimes==2.0) #102

Closed lorenzwoehr closed 3 years ago

lorenzwoehr commented 3 years ago

When running pip install . I'm getting the following error:

Lorenzs-MBP-2:populartimes lorenzwoehr$ pip install .
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
Processing /Users/lorenzwoehr/abc/populartimes
Collecting requests<3,>2
  Using cached requests-2.24.0-py2.py3-none-any.whl (61 kB)
ERROR: Could not find a version that satisfies the requirement geopy<3,>=2 (from populartimes==2.0) (from versions: 0.93, 0.94, 0.94.1, 0.94.2, 0.95, 0.95.1, 0.96.0, 0.96.1, 0.96.2, 0.96.3, 0.97, 0.97.1, 0.98, 0.98.1, 0.98.2, 0.98.3, 0.99, 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1, 1.7.0, 1.7.1, 1.8.0, 1.8.1, 1.9.0, 1.9.1, 1.10.0, 1.11.0, 1.12.0, 1.13.0, 1.14.0, 1.15.0, 1.16.0, 1.17.0, 1.18.0, 1.18.1, 1.19.0, 1.20.0, 1.21.0, 1.22.0, 1.23.0)
ERROR: No matching distribution found for geopy<3,>=2 (from populartimes==2.0)

Does anybody know how to solve this?

m-wrzr commented 3 years ago

Hey, geopy doesn't support Python 2.X afaik. From their docs: geopy is tested against CPython (versions 3.5, 3.6, 3.7, 3.8, 3.9) and PyPy3. geopy 1.x line also supported CPython 2.7, 3.4 and PyPy2.

Try upgrading to 3.X (also sry for the late reply)