简体   繁体   English

在 Python 中安装 coco-0.4.0.tar.gz 时出错:“Command errored out with exit status 1”

[英]Error installing coco-0.4.0.tar.gz in Python: “Command errored out with exit status 1”

I am trying to install coco-0.4.0.tar.gz in python through pip install , but I'm getting this error:我正在尝试通过pip install在 python 中安装 coco-0.4.0.tar.gz ,但出现此错误:

ERROR: Command errored out with exit status 1:
     command: 'C:\Users\brene\anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\brene\\AppData\\Local\\Temp\\pip-install-wbchu6pa\\coco\\setup.py'"'"'; __file__='"'"'C:\\Users\\brene\\AppData\\Local\\Temp\\pip-install-wbchu6pa\\coco\\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\brene\AppData\Local\Temp\pip-install-wbchu6pa\coco\pip-egg-info'
         cwd: C:\Users\brene\AppData\Local\Temp\pip-install-wbchu6pa\coco\
    Complete output (7 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\brene\AppData\Local\Temp\pip-install-wbchu6pa\coco\setup.py", line 9, in <module>
        import coco
      File "C:\Users\brene\AppData\Local\Temp\pip-install-wbchu6pa\coco\coco.py", line 18, in <module>
        from docopt import docopt
    ModuleNotFoundError: No module named 'docopt'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

coco 0.4.0 , the last release was at Jan 5, 2013. The package announces compatibility with Python 2.6 and 2.7. coco 0.4.0 ,最后一个版本是 2013 年 1 月 5 日。 package 宣布与 Python 2.6 和 2.7 兼容。

setup.py imports module coco (from the file coco.py ) which imports docopt without installing it. setup.py导入模块coco (从文件coco.py )导入docopt而不安装它。

My resolution is: the package is buggy, old, outdated and abandoned.我的解决方案是:package 有缺陷、陈旧、过时和废弃。 Not recommended for any use.不推荐用于任何用途。

If you want to try it anyway — first install docopt :如果你想尝试一下——首先安装docopt

pip install docopt

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 错误:安装 Kivy 时命令出错,退出状态为 1 - ERROR: command errored out with exit status 1 when installing Kivy 安装 pytorch 时出现“Command errored out with exit status 1”错误 - “Command errored out with exit status 1” error while installing pytorch 错误:安装 pyaudio 时命令出错,退出状态为 1 - ERROR: Command errored out with exit status 1 while installing pyaudio 安装 jupyter 时出错(命令出错,退出状态为 1) - Error while installing jupyter (Command errored out with exit status 1) 安装 pySpark 会出现此错误:错误:命令错误退出状态为 1 - Installing pySpark gives this error : ERROR: Command errored out with exit status 1 错误:安装要求时命令出错,退出状态为 1 - ERROR: Command errored out with exit status 1 while installing requirements 安装 pynput 导致错误:命令出错,退出状态为 1 - Installing pynput results in ERROR: Command errored out with exit status 1 安装 matplotlib 错误:命令出错,退出状态为 -4 - installing matplotlib ERROR: Command errored out with exit status -4 错误:命令出错,退出状态为 1:在 Pycharm 中安装 pyAudio 时 - ERROR: Command errored out with exit status 1: while installing pyAudio in Pycharm 在 python 的命令提示符中安装 sklearn 时出现问题,出现错误:命令错误,退出状态为 1: - Trouble installing sklearn in command prompt in python, getting ERROR: Command errored out with exit status 1:
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM