简体   繁体   中英

Can't use yandex-geocoder with python 2.7

I have a python 2.7. I install library pip install yandex-geocoder, but error:

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. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
ERROR: Could not find a version that satisfies the requirement yandex-geocoder (from versions: none)
ERROR: No matching distribution found for yandex-geocoder

Yandex geocoder does not support python 2.7 version. As you can see here , this library support only python 3.6 or python 3.7

To use yandex-geocoder , your python version must be >=3.6.

Go to Python downloads , download and install python 3.6. Then you will be able to use yandex-geocoder .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM