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

UnicodeDecodeError: 'charmap' codec can't decode byte 0x98 in position 18715: character maps to <undefined> #188

Open
ExtEEd opened this issue Oct 15, 2023 · 1 comment

Comments

@ExtEEd
Copy link

ExtEEd commented Oct 15, 2023

Windows 10, Anaconda

(tmaster) D:>pip install git+https://github.com/TradeMaster-NTU/TradeMaster.git
Collecting git+https://github.com/TradeMaster-NTU/TradeMaster.git
Cloning https://github.com/TradeMaster-NTU/TradeMaster.git to c:\users\user\appdata\local\temp\pip-req-build-ehfyt5hh
Running command git clone --filter=blob:none --quiet https://github.com/TradeMaster-NTU/TradeMaster.git 'C:\Users\user\AppData\Local\Temp\pip-req-build-ehfyt5hh'
Resolved https://github.com/TradeMaster-NTU/TradeMaster.git to commit d973794
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\user\AppData\Local\Temp\pip-req-build-ehfyt5hh\setup.py", line 4, in
long_description = fh.read()
File "D:\Programs\Anaconda\envs\tmaster\lib\encodings\cp1251.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x98 in position 18715: character maps to
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

@sherryfans777
Copy link

Maybe you can try to download as a zip in the web page. And use the command cd: to switch to your decompression path. I don’t understand it very well and I hope it can help you.

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

2 participants