maxmind / GeoIP2-python

Python code for GeoIP2 webservice client and database reader
https://geoip2.readthedocs.org/en/latest/
Apache License 2.0
1.1k stars 140 forks source link

ERROR: Could not find a version that satisfies the requirement pyasn (from versions: 1.5.0b4, 1.5.0b6, 1.5.0b7, 1.6.0b1, 1.6.1) #123

Closed cibernicola closed 2 years ago

cibernicola commented 2 years ago

Hi, I am trying to install GeoIP2 and I am getting the following error:

pip install maxminddb

WARNING: Discarding https://files.pythonhosted.org/packages/39/5b/08fd0790c2f97cc9148aa611e8df28cc11fe157e279740c992597a983ec3/pyasn-1.6.      -1_e45wy4'1.tar.gz#sha256=e942b54916363ec7b8b70eaeaecd0eb4e41ef1bcf4a2397b29a6d715fccdf925 (from https://pypi.org/simple/pyasn/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement pyasn (from versions: 1.5.0b4, 1.5.0b6, 1.5.0b7, 1.6.0b1, 1.6.1)          1.tar.
ERROR: No matching distribution found for pyasn       

As far as I see pyasn is compatible with Python 3.9, I am not clear where the problems come from.

Context: Windows 10 Python 3.9.7

What am I doing wrong?

oschwald commented 2 years ago

I am a bit confused. maxminddb does not depend on pyasn. In fact, it has no Python dependencies except Python itself.

Also, this is the repo for geoip2.