我在Github上很新,我想安装一个模块
我在我的cmd上运行:
C:\Users\memonkey>pip install git+git://github.com/bitsoex/bitso-py
Collecting git+git://github.com/bitsoex/bitso-py
Cloning git://github.com/bitsoex/bitso-py to
c:\users\memonkey\appdata\local\temp\pip-a9n7xpt6-build
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\memonkey\AppData\Local\Temp\pip-a9n7xpt6-build\setup.py", line 5, in <module>
long_description = open('README.md').read()
File "C:\ProgramData\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 0x9d in position 23274: character maps to <undefined>
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in
C:\Users\memonkey\AppData\Local\Temp\pip-a9n7xpt6-build\
我不知道发生了什么,任何人都可以帮助我
答案 0 :(得分:0)
问题是在Windows上,编码默认为cp1252,无法解码文本中的卷曲引号:{Major_Minor“..... Notations部分
因此,将许可文件中的引号替换为普通引号应解决此问题。所以请联系该repo的开发者以获取修复或者在你的github上使用rep的那个仓库,修复 到 来自您的回购邮件的...as “Major_Minor”. For example: “btc_mxn”
...as "Major_Minor". For example: "btc_mxn"
pip install