muety / pyquadkey2

🌐 Python implementation of geographical tiling using QuadKeys
https://docs.muetsch.io/pyquadkey2
Apache License 2.0
22 stars 5 forks source link

Installation error on Windows10 - 64 bit - version 1809.6 - Python 3.8.5 #5

Closed puetzcraig closed 2 years ago

puetzcraig commented 3 years ago

I tried installing on 18March21 on Windows 10 and get the following: pip install pyquadkey2 Collecting pyquadkey2 Using cached pyquadkey2-0.2.0.tar.gz (40 kB) Using cached pyquadkey2-0.1.1.tar.gz (43 kB) Note: you may need to restart the kernel to use updated packages. ERROR: Command errored out with exit status 1: command: 'C:\Users\re30041\Anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\re30041\AppData\Local\Temp\pip-install-0zr9recc\pyquadkey2_936b3d6d25764adf9e5fc6a35cca0684\setup.py'"'"'; file='"'"'C:\Users\re30041\AppData\Local\Temp\pip-install-0zr9recc\pyquadkey2_936b3d6d25764adf9e5fc6a35cca0684\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\re30041\AppData\Local\Temp\pip-pip-egg-info-licqu7eu' cwd: C:\Users\re30041\AppData\Local\Temp\pip-install-0zr9recc\pyquadkey2_936b3d6d25764adf9e5fc6a35cca0684\ Complete output (7 lines): Traceback (most recent call last): File "", line 1, in File "C:\Users\re30041\AppData\Local\Temp\pip-install-0zr9recc\pyquadkey2_936b3d6d25764adf9e5fc6a35cca0684\setup.py", line 11, in long_description = fh.read() File "C:\Users\re30041\Anaconda3\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 5: character maps to

WARNING: Discarding https://files.pythonhosted.org/packages/f2/5e/671b87ea0da1066e5b65ab32ef7efb6ca5f8d0ce894e5dc3a60dc53f4c13/pyquadkey2-0.2.0.tar.gz#sha256=0ab7919384d2b5a1f81e427fe94fb9d223fc4de7bfd91f2327db54217f8ee757 (from https://pypi.org/simple/pyquadkey2/) (requires-python:>=3.6). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. ERROR: Command errored out with exit status 1: command: 'C:\Users\re30041\Anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\re30041\AppData\Local\Temp\pip-install-0zr9recc\pyquadkey2_bdd8e8e240694224a393b998c074b54e\setup.py'"'"'; file='"'"'C:\Users\re30041\AppData\Local\Temp\pip-install-0zr9recc\pyquadkey2_bdd8e8e240694224a393b998c074b54e\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\re30041\AppData\Local\Temp\pip-pip-egg-info-w5rk7ye4' cwd: C:\Users\re30041\AppData\Local\Temp\pip-install-0zr9recc\pyquadkey2_bdd8e8e240694224a393b998c074b54e\ Complete output (7 lines): Traceback (most recent call last): File "", line 1, in File "C:\Users\re30041\AppData\Local\Temp\pip-install-0zr9recc\pyquadkey2_bdd8e8e240694224a393b998c074b54e\setup.py", line 11, in long_description = fh.read() File "C:\Users\re30041\Anaconda3\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 5: character maps to

WARNING: Discarding https://files.pythonhosted.org/packages/c9/0d/ad4ec0d25068085df9d476da1476215e1a73e882c116a9d06baac2f644bb/pyquadkey2-0.1.1.tar.gz#sha256=6c32b4fb8a3a7311b68f3b8d209d4dbdce4c70ca3eb2a833c4bc8611194fb60a (from https://pypi.org/simple/pyquadkey2/) (requires-python:>=3.6). 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 pyquadkey2 ERROR: No matching distribution found for pyquadkey2

I then found files in https://github.com/muety/pyquadkey2/releases/tag/0.2.1 and downloaded the wheel for win-amd64. Attempting to install the wheel: pip install c:/Users/re30041/Downloads/pyquadkey2-0.2.0-cp39-cp39-win_amd64.whl Note: you may need to restart the kernel to use updated packages. ERROR: pyquadkey2-0.2.0-cp39-cp39-win_amd64.whl is not a supported wheel on this platform.

I am in a Spyder terminal on an Anaconda installation.

Thanks in advance for your work on pyquadkey2 and for any help you can provide. I am a complete novice, so please be gentle!

muety commented 2 years ago

Should be resolved with latest release.