【问题标题】:error in installing weather-cli in python, windows 10 [closed]在python,windows 10中安装weather-cli时出错[关闭]
【发布时间】:2020-06-27 14:50:09
【问题描述】:

Please click on the image to see the error in detail

Collecting tabletext>=0.1
  Using cached tabletext-0.1.tar.gz (6.1 kB)
    ERROR: Command errored out with exit status 1:
     command: 'c:\users\lenovo\appdata\local\programs\python\python37\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\lenovo\\AppData\\Local\\Temp\\pip-install-m45cftuh\\tabletext\\setup.py'"'"'; __file__='"'"'C:\\Users\\lenovo\\AppData\\Local\\Temp\\pip-install-m45cftuh\\tabletext\\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\lenovo\AppData\Local\Temp\pip-install-m45cftuh\tabletext\pip-egg-info'
         cwd: C:\Users\lenovo\AppData\Local\Temp\pip-install-m45cftuh\tabletext\
    Complete output (7 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\lenovo\AppData\Local\Temp\pip-install-m45cftuh\tabletext\setup.py", line 10, in <module>
        + open("CHANGELOG.rst").read(),
      File "c:\users\lenovo\appdata\local\programs\python\python37\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 0x90 in position 1413: character maps to <undefined>
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

【问题讨论】:

  • 那么,您检查日志是否有完整的命令输出?

标签: python windows pip weather


【解决方案1】:

这与this github issue 相同,此后已修复。

简单地做

pip install git+git://github.com/Thibauth/tabletext

然后尝试再次安装weather-cli

【讨论】:

  • 谢谢。它工作得很好.....
猜你喜欢
  • 1970-01-01
  • 2018-09-01
  • 2021-12-18
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2021-01-15
  • 1970-01-01
  • 2019-06-04
相关资源
最近更新 更多