windows上Anaconda的goslate包安装问题

2024-05-16 09:00:24 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试在Python身上安装goslate软件包 pip install goslate

我得到以下回溯错误,它显示了以下几行:

[Anaconda3] C:\Users\hyper>pip install goslate Collecting goslate
  Using cached goslate-1.5.0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "C:\Users\hyper\AppData\Local\Temp\pip-build-wvbatk7b\goslate\
setup.py", line 30, in <module>
        long_description=read('README.rst'),
      File "C:\Users\hyper\AppData\Local\Temp\pip-build-wvbatk7b\goslate\
setup.py", line 17, in read
        return open(os.path.join(os.path.dirname(__file__), fname)).read()
      File "C:\Users\hyper\AppData\Local\Continuum\Anaconda3\lib\encoding
s\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 2090:
 character maps to <undefined>

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\hyper\AppData\Local\Temp\pip-build-wvbatk7b\goslate`

有没有其他方法可以在windows上安装goslate。我的python版本是3.5


Tags: pipinpybuildreadlocalsetupline