ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output in Python

Dung Do Tien Jan 29 2021 547

Hey Guys, I'm running my code in Python Ver3.9(Window10) and get the error status: ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. Here my Full Error Staus code:

Collecting match
Downloading match-0.3.0.tar.gz (5.0 kB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\d\appdata\local\programs\python\python37-32\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\D\\AppData\\Local\\Temp\\pip-install-8mq4syh_\\match_8f7149d8ee5b42f9abd0c87517a656e9\\setup.py'"'"'; __file__='"'"'C:\\Users\\D\\AppData\\Local\\Temp\\pip-install-8mq4syh_\\match_8f7149d8ee5b42f9abd0c87517a656e9\\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\D\AppData\Local\Temp\pip-pip-egg-info-e570fwf7'
cwd: C:\Users\D\AppData\Local\Temp\pip-install-8mq4syh_\match_8f7149d8ee5b42f9abd0c87517a656e9Complete output (9 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\D\AppData\Local\Temp\pip-install-8mq4syh_\match_8f7149d8ee5b42f9abd0c87517a656e9\setup.py", line 19, in <module>
long_description=readme(),
File "C:\Users\D\AppData\Local\Temp\pip-install-8mq4syh_\match_8f7149d8ee5b42f9abd0c87517a656e9\setup.py", line 8, in readme
return f.read()
File "c:\users\d\appdata\local\programs\python\python37-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 0x9d in position 266: character maps
to <undefined>

I want to install match module, can you help me? I need a solution to solve it thoroughly on my computer and others too. Help me, many tks guys! 

Have 1 answer(s) found.
  • B

    Blue Jame Jan 28 2021

    Okay, here my solutions for you, I do the following and successfully installed:

    Step 1: Go to a directory that is commonly used for Python

    Step 1.a:
    - Option 1: print cmd, type "git clone https://github.com/EducationalTestingService/match"
    - Method 2 (if you do not know how to use Git): go to the web address in Method 1, download the entire code and extract it.
    Step 1.b: in cmd, type "cd match"

    Step 2: Go to the match folder, open the setup.py file and edit "with open ('README.rst', 'r') as f:" to "with open ('README.rst', 'r', encoding = 'utf-8') as f: "

    Step 4: In cmd, enter "pip install -r architects.txt"

    Step 5: In cmd, type "python setup.py install --single-version-externally-management - 

    I hope my solution useful for you, If you still have questions, please comment below for my support:)))

Leave An Answer
* NOTE: You need Login before leave an answer

* Type maximum 2000 characters.

* All comments have to wait approved before display.

* Please polite comment and respect questions and answers of others.

Popular Tips

X Close