如何更正“错误:命令因退出状态1错误”

时间:2020-05-14 14:41:58

标签: python conda

我正在研究Conda,正在尝试用词法对法语文本集进行标记化和词义化。作为一个初学者,我在git上发现了一个我可以安装的lemmatizer(通过pip10.1和git)和一个我无法安装的令牌生成器。

我尝试使用pip10.1安装它 (base) C:\Users\Bianca>pip install git+https://github.com/boudinfl/kea 但是,我有结果代码:

  Collecting git+https://github.com/boudinfl/kea
  Cloning https://github.com/boudinfl/kea to c:\users\bianca\appdata\local\temp\pip-req-build-imn5lund
  Running command git clone -q https://github.com/boudinfl/kea 'C:\Users\Bianca\AppData\Local\Temp\pip-req-build-imn5lund'
    ERROR: Command errored out with exit status 1:
     command: 'C:\Users\Bianca\Anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Bianca\\AppData\\Local\\Temp\\pip-req-build-imn5lund\\setup.py'"'"'; __file__='"'"'C:\\Users\\Bianca\\AppData\\Local\\Temp\\pip-req-build-imn5lund\\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\Bianca\AppData\Local\Temp\pip-req-build-imn5lund\pip-egg-info'
         cwd: C:\Users\Bianca\AppData\Local\Temp\pip-req-build-imn5lund\
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\Bianca\Anaconda3\lib\tokenize.py", line 452, in open
        buffer = _builtin_open(filename, 'rb')
    FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Bianca\\AppData\\Local\\Temp\\pip-req-build-imn5lund\\setup.py'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

我使用Python3.7。我该如何解决?

谢谢! 比安卡

0 个答案:

没有答案