Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing on Windows #2

Open
thorstenkampe opened this issue Jul 22, 2017 · 20 comments
Open

Error installing on Windows #2

thorstenkampe opened this issue Jul 22, 2017 · 20 comments

Comments

@thorstenkampe
Copy link

> pip install getkey
Collecting getkey
  Using cached getkey-0.6.5.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "F:\PortableApps\ConEmu\Data\Temp\pip-build-tztu7ucg\getkey\setup.py", line 37, in <module>
        long_description=read_description(),
      File "F:\PortableApps\ConEmu\Data\Temp\pip-build-tztu7ucg\getkey\setup.py", line 11, in read_description
        return fd.read()
      File "c:\data\flash drive\portableapps\python\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 0x81 in position 876: character maps to <undefined>

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in F:\PortableApps\ConEmu\Data\Temp\pip-build-tztu7ucg\getkey\
@Kleinendorst
Copy link

I can verify I'm having the exact same error.
Simply running pip install getkey returns that stacktrace.

@kcsaff
Copy link
Owner

kcsaff commented Sep 11, 2018 via email

@frastlin
Copy link

frastlin commented Dec 1, 2018

I have this problem as well. I'm pretty sure it has something to do with a non-askki code or a quotation mark from Word or something. It's just one char in the description.

@frastlin
Copy link

frastlin commented Dec 1, 2018

This pull request:
#3
solves this problem I believe.

@li-rupert
Copy link

This pull request:
#3
solves this problem I believe.

Yes, it also solves the problem I encountered:

Traceback (most recent call last):
  File "setup.py", line 37, in <module>
    long_description=read_description(),
  File "setup.py", line 11, in read_description
    return fd.read()
UnicodeDecodeError: 'cp950' codec can't decode byte 0xc3 in position 875: illegal multibyte sequence

@julesmoretti
Copy link

Same error here. Can someone merge the pull request?

@brandonmack111
Copy link

I'm still seeing this error. It looks like this package hasn't been updated in 3 years. Perhaps someone just needs to publish the fixed version on pypi, so we can use it?

@Ultracoder66
Copy link

Does not work. It is now 2020 and it still says the same error

@li-rupert
Copy link

Does not work. It is now 2020 and it still says the same error

I have fixed the error. How about trying my fork?

  1. clone or download the source from my fork
  2. cd getkey-master #or whatever you named it
  3. python3 setup.py install #install manually

@andrew-aiken
Copy link

@li-rupert Thanks for the fix

@langcao365
Copy link

I can't install with pip install getkey it says
Traceback (most recent call last):
File "<pyshell#2>", line 1, in
pip.install(getkey)
AttributeError: module 'pip' has no attribute 'install'

@langcao365
Copy link

:(

@langcao365
Copy link

It also just simply says this: SyntaxError: invalid syntax

@langcao365
Copy link

Oh sorry I tried again and it's the same error but with an additional
ERROR: Could not find a version that satisfies the requirement getkey (from versions: 0.6, 0.6.2, 0.6.3, 0.6.4, 0.6.5)
ERROR: No matching distribution found for getkey

@langcao365
Copy link

This pull request:
#3
solves this problem I believe.

It didn't solve my problem which is THIS:
Collecting getkey
Using cached getkey-0.6.5.tar.gz (13 kB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\14076\appdata\local\programs\python\python38-32\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\14076\AppData\Local\Temp\pip-install-gtt29jy7\getkey_f69f8bd81bea49189481960f8b6de7eb\setup.py'"'"'; file='"'"'C:\Users\14076\AppData\Local\Temp\pip-install-gtt29jy7\getkey_f69f8bd81bea49189481960f8b6de7eb\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\14076\AppData\Local\Temp\pip-pip-egg-info-hftg2nti'
cwd: C:\Users\14076\AppData\Local\Temp\pip-install-gtt29jy7\getkey_f69f8bd81bea49189481960f8b6de7eb
Complete output (9 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\14076\AppData\Local\Temp\pip-install-gtt29jy7\getkey_f69f8bd81bea49189481960f8b6de7eb\setup.py", line 37, in
long_description=read_description(),
File "C:\Users\14076\AppData\Local\Temp\pip-install-gtt29jy7\getkey_f69f8bd81bea49189481960f8b6de7eb\setup.py", line 11, in read_description
return fd.read()
File "c:\users\14076\appdata\local\programs\python\python38-32\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 0x81 in position 876: character maps to
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/74/f2/3312ea94369f410967667eeca61d261cdf3037df6ea827078ac7c5321150/getkey-0.6.5.tar.gz#sha256=68c7c702c3b34deacf427f6c0f1fd66c5c2aa12d7801aa32442fc1a71c8ce059 (from https://pypi.org/simple/getkey/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached getkey-0.6.4.tar.gz (13 kB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\14076\appdata\local\programs\python\python38-32\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\14076\AppData\Local\Temp\pip-install-gtt29jy7\getkey_d4c994dddb4b43289f78d4ee4e65283c\setup.py'"'"'; file='"'"'C:\Users\14076\AppData\Local\Temp\pip-install-gtt29jy7\getkey_d4c994dddb4b43289f78d4ee4e65283c\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\14076\AppData\Local\Temp\pip-pip-egg-info-qk17ft7_'
cwd: C:\Users\14076\AppData\Local\Temp\pip-install-gtt29jy7\getkey_d4c994dddb4b43289f78d4ee4e65283c
Complete output (9 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\14076\AppData\Local\Temp\pip-install-gtt29jy7\getkey_d4c994dddb4b43289f78d4ee4e65283c\setup.py", line 37, in
long_description=read_description(),
File "C:\Users\14076\AppData\Local\Temp\pip-install-gtt29jy7\getkey_d4c994dddb4b43289f78d4ee4e65283c\setup.py", line 11, in read_description
return fd.read()
File "c:\users\14076\appdata\local\programs\python\python38-32\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 0x81 in position 876: character maps to
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/66/34/ad24ca45ec1d75126201865adba262926bd541adddf8662329cfd8698adf/getkey-0.6.4.tar.gz#sha256=213b976d815d59367af76e5885cc3de91a6776ea94dccfe6b412e95a28519ed5 (from https://pypi.org/simple/getkey/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached getkey-0.6.3.tar.gz (13 kB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\14076\appdata\local\programs\python\python38-32\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\14076\AppData\Local\Temp\pip-install-gtt29jy7\getkey_0e2d15c4a7384521acb21f5dd24eb2fb\setup.py'"'"'; file='"'"'C:\Users\14076\AppData\Local\Temp\pip-install-gtt29jy7\getkey_0e2d15c4a7384521acb21f5dd24eb2fb\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\14076\AppData\Local\Temp\pip-pip-egg-info-aeu9_b58'
cwd: C:\Users\14076\AppData\Local\Temp\pip-install-gtt29jy7\getkey_0e2d15c4a7384521acb21f5dd24eb2fb
Complete output (9 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\14076\AppData\Local\Temp\pip-install-gtt29jy7\getkey_0e2d15c4a7384521acb21f5dd24eb2fb\setup.py", line 37, in
long_description=read_description(),
File "C:\Users\14076\AppData\Local\Temp\pip-install-gtt29jy7\getkey_0e2d15c4a7384521acb21f5dd24eb2fb\setup.py", line 11, in read_description
return fd.read()
File "c:\users\14076\appdata\local\programs\python\python38-32\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 0x81 in position 876: character maps to
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/30/42/e69b0afd5cc367c47db52dd33fc85de7938463530fd9d49f5957fde763a5/getkey-0.6.3.tar.gz#sha256=370e7987fef14ab6a96c3191a98b0b22ac7911c0b3899ef3506029776a70870f (from https://pypi.org/simple/getkey/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached getkey-0.6.2.tar.gz (13 kB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\14076\appdata\local\programs\python\python38-32\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\14076\AppData\Local\Temp\pip-install-gtt29jy7\getkey_6f242985aa6243f0b56482cd213de161\setup.py'"'"'; file='"'"'C:\Users\14076\AppData\Local\Temp\pip-install-gtt29jy7\getkey_6f242985aa6243f0b56482cd213de161\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\14076\AppData\Local\Temp\pip-pip-egg-info-frqz7imk'
cwd: C:\Users\14076\AppData\Local\Temp\pip-install-gtt29jy7\getkey_6f242985aa6243f0b56482cd213de161
Complete output (9 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\14076\AppData\Local\Temp\pip-install-gtt29jy7\getkey_6f242985aa6243f0b56482cd213de161\setup.py", line 37, in
long_description=read_description(),
File "C:\Users\14076\AppData\Local\Temp\pip-install-gtt29jy7\getkey_6f242985aa6243f0b56482cd213de161\setup.py", line 11, in read_description
return fd.read()
File "c:\users\14076\appdata\local\programs\python\python38-32\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 0x81 in position 876: character maps to
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/80/c8/0d6c68ae029749632e2b392cbdf6b76c0f4548d9388b15acc2be8999ef83/getkey-0.6.2.tar.gz#sha256=2294e9ab88c4ded25cbf046766a2d2de5eefc0c895926ee16c6dc12e56f45620 (from https://pypi.org/simple/getkey/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached getkey-0.6.tar.gz (12 kB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\14076\appdata\local\programs\python\python38-32\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\14076\AppData\Local\Temp\pip-install-gtt29jy7\getkey_082443772fbe43fc8d8c3d942c3d712a\setup.py'"'"'; file='"'"'C:\Users\14076\AppData\Local\Temp\pip-install-gtt29jy7\getkey_082443772fbe43fc8d8c3d942c3d712a\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\14076\AppData\Local\Temp\pip-pip-egg-info-pis98ynj'
cwd: C:\Users\14076\AppData\Local\Temp\pip-install-gtt29jy7\getkey_082443772fbe43fc8d8c3d942c3d712a
Complete output (9 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\14076\AppData\Local\Temp\pip-install-gtt29jy7\getkey_082443772fbe43fc8d8c3d942c3d712a\setup.py", line 37, in
long_description=read_description(),
File "C:\Users\14076\AppData\Local\Temp\pip-install-gtt29jy7\getkey_082443772fbe43fc8d8c3d942c3d712a\setup.py", line 11, in read_description
return fd.read()
File "c:\users\14076\appdata\local\programs\python\python38-32\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 0x81 in position 499: character maps to
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/19/e9/f9990048fffd4468f3af91203e753bd920d51120ba60ea53403b5b9c9a8f/getkey-0.6.tar.gz#sha256=2337fe2fb239e2263929452ece5c5d43df6a808f43cc79b8734d86fb99b9080b (from https://pypi.org/simple/getkey/). 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 getkey (from versions: 0.6, 0.6.2, 0.6.3, 0.6.4, 0.6.5)
ERROR: No matching distribution found for getkey

C:\Users\14076>pip install setup-py-upgrade
Collecting setup-py-upgrade
Downloading setup_py_upgrade-1.2.1-py2.py3-none-any.whl (6.2 kB)
Installing collected packages: setup-py-upgrade
Successfully installed setup-py-upgrade-1.2.1

C:\Users\14076>pip install getkey 0.6.5
Collecting getkey
Using cached getkey-0.6.5.tar.gz (13 kB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\14076\appdata\local\programs\python\python38-32\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\14076\AppData\Local\Temp\pip-install-et4dnykd\getkey_e07c33bf78bc45b4b5dde1f018717664\setup.py'"'"'; file='"'"'C:\Users\14076\AppData\Local\Temp\pip-install-et4dnykd\getkey_e07c33bf78bc45b4b5dde1f018717664\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\14076\AppData\Local\Temp\pip-pip-egg-info-1oyhfhp6'
cwd: C:\Users\14076\AppData\Local\Temp\pip-install-et4dnykd\getkey_e07c33bf78bc45b4b5dde1f018717664
Complete output (9 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\14076\AppData\Local\Temp\pip-install-et4dnykd\getkey_e07c33bf78bc45b4b5dde1f018717664\setup.py", line 37, in
long_description=read_description(),
File "C:\Users\14076\AppData\Local\Temp\pip-install-et4dnykd\getkey_e07c33bf78bc45b4b5dde1f018717664\setup.py", line 11, in read_description
return fd.read()
File "c:\users\14076\appdata\local\programs\python\python38-32\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 0x81 in position 876: character maps to
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/74/f2/3312ea94369f410967667eeca61d261cdf3037df6ea827078ac7c5321150/getkey-0.6.5.tar.gz#sha256=68c7c702c3b34deacf427f6c0f1fd66c5c2aa12d7801aa32442fc1a71c8ce059 (from https://pypi.org/simple/getkey/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached getkey-0.6.4.tar.gz (13 kB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\14076\appdata\local\programs\python\python38-32\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\14076\AppData\Local\Temp\pip-install-et4dnykd\getkey_38efa373097e45aa96eaccdb65773969\setup.py'"'"'; file='"'"'C:\Users\14076\AppData\Local\Temp\pip-install-et4dnykd\getkey_38efa373097e45aa96eaccdb65773969\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\14076\AppData\Local\Temp\pip-pip-egg-info-gssioh1b'
cwd: C:\Users\14076\AppData\Local\Temp\pip-install-et4dnykd\getkey_38efa373097e45aa96eaccdb65773969
Complete output (9 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\14076\AppData\Local\Temp\pip-install-et4dnykd\getkey_38efa373097e45aa96eaccdb65773969\setup.py", line 37, in
long_description=read_description(),
File "C:\Users\14076\AppData\Local\Temp\pip-install-et4dnykd\getkey_38efa373097e45aa96eaccdb65773969\setup.py", line 11, in read_description
return fd.read()
File "c:\users\14076\appdata\local\programs\python\python38-32\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 0x81 in position 876: character maps to
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/66/34/ad24ca45ec1d75126201865adba262926bd541adddf8662329cfd8698adf/getkey-0.6.4.tar.gz#sha256=213b976d815d59367af76e5885cc3de91a6776ea94dccfe6b412e95a28519ed5 (from https://pypi.org/simple/getkey/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached getkey-0.6.3.tar.gz (13 kB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\14076\appdata\local\programs\python\python38-32\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\14076\AppData\Local\Temp\pip-install-et4dnykd\getkey_f979ca7abc194bdd82608568cf37ec5b\setup.py'"'"'; file='"'"'C:\Users\14076\AppData\Local\Temp\pip-install-et4dnykd\getkey_f979ca7abc194bdd82608568cf37ec5b\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\14076\AppData\Local\Temp\pip-pip-egg-info-96gsx0bu'
cwd: C:\Users\14076\AppData\Local\Temp\pip-install-et4dnykd\getkey_f979ca7abc194bdd82608568cf37ec5b
Complete output (9 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\14076\AppData\Local\Temp\pip-install-et4dnykd\getkey_f979ca7abc194bdd82608568cf37ec5b\setup.py", line 37, in
long_description=read_description(),
File "C:\Users\14076\AppData\Local\Temp\pip-install-et4dnykd\getkey_f979ca7abc194bdd82608568cf37ec5b\setup.py", line 11, in read_description
return fd.read()
File "c:\users\14076\appdata\local\programs\python\python38-32\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 0x81 in position 876: character maps to
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/30/42/e69b0afd5cc367c47db52dd33fc85de7938463530fd9d49f5957fde763a5/getkey-0.6.3.tar.gz#sha256=370e7987fef14ab6a96c3191a98b0b22ac7911c0b3899ef3506029776a70870f (from https://pypi.org/simple/getkey/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached getkey-0.6.2.tar.gz (13 kB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\14076\appdata\local\programs\python\python38-32\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\14076\AppData\Local\Temp\pip-install-et4dnykd\getkey_a1ec2e256f154361a6b3caf842d3106a\setup.py'"'"'; file='"'"'C:\Users\14076\AppData\Local\Temp\pip-install-et4dnykd\getkey_a1ec2e256f154361a6b3caf842d3106a\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\14076\AppData\Local\Temp\pip-pip-egg-info-6umnlmvn'
cwd: C:\Users\14076\AppData\Local\Temp\pip-install-et4dnykd\getkey_a1ec2e256f154361a6b3caf842d3106a
Complete output (9 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\14076\AppData\Local\Temp\pip-install-et4dnykd\getkey_a1ec2e256f154361a6b3caf842d3106a\setup.py", line 37, in
long_description=read_description(),
File "C:\Users\14076\AppData\Local\Temp\pip-install-et4dnykd\getkey_a1ec2e256f154361a6b3caf842d3106a\setup.py", line 11, in read_description
return fd.read()
File "c:\users\14076\appdata\local\programs\python\python38-32\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 0x81 in position 876: character maps to
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/80/c8/0d6c68ae029749632e2b392cbdf6b76c0f4548d9388b15acc2be8999ef83/getkey-0.6.2.tar.gz#sha256=2294e9ab88c4ded25cbf046766a2d2de5eefc0c895926ee16c6dc12e56f45620 (from https://pypi.org/simple/getkey/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached getkey-0.6.tar.gz (12 kB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\14076\appdata\local\programs\python\python38-32\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\14076\AppData\Local\Temp\pip-install-et4dnykd\getkey_72d4723d42694668a2515a6dc84a065f\setup.py'"'"'; file='"'"'C:\Users\14076\AppData\Local\Temp\pip-install-et4dnykd\getkey_72d4723d42694668a2515a6dc84a065f\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\14076\AppData\Local\Temp\pip-pip-egg-info-v7j17ym7'
cwd: C:\Users\14076\AppData\Local\Temp\pip-install-et4dnykd\getkey_72d4723d42694668a2515a6dc84a065f
Complete output (9 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\14076\AppData\Local\Temp\pip-install-et4dnykd\getkey_72d4723d42694668a2515a6dc84a065f\setup.py", line 37, in
long_description=read_description(),
File "C:\Users\14076\AppData\Local\Temp\pip-install-et4dnykd\getkey_72d4723d42694668a2515a6dc84a065f\setup.py", line 11, in read_description
return fd.read()
File "c:\users\14076\appdata\local\programs\python\python38-32\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 0x81 in position 499: character maps to
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/19/e9/f9990048fffd4468f3af91203e753bd920d51120ba60ea53403b5b9c9a8f/getkey-0.6.tar.gz#sha256=2337fe2fb239e2263929452ece5c5d43df6a808f43cc79b8734d86fb99b9080b (from https://pypi.org/simple/getkey/). 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 getkey (from versions: 0.6, 0.6.2, 0.6.3, 0.6.4, 0.6.5)
ERROR: No matching distribution found for getkey

C:\Users\14076>

@langcao365
Copy link

wait
I think I am missing some files

@langcao365
Copy link

or not
but pip just would not install I investigated it for ONE HOUR in a row(I don't know about you)!

@li-rupert
Copy link

please refer:

@ffeu
Copy link

ffeu commented Oct 6, 2021

Until there's an official fix, I'm going with @li-rupert 's solution:

pip install git+https://github.com/li-rupert/getkey

@Azazel81
Copy link

use "pip install get-key" instead of "pip install getkey"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests