pip install FileNotFoundError:[Errno 2]没有这样的文件或目录:

2024-05-18 12:34:56 发布

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

我正在尝试使用pip install安装behave parallel。我以前安装过使用pip的程序,所以我知道我的Python/script路径在env变量中是正确的。但是我看到了下面的错误

FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\.....Temp\\pip-install-rjiorrn7\\behave-parallel\\setup.py' 

我怎样才能解决这个问题

C:\Users\.....>pip install behave-parallel
Collecting behave-parallel
 Using cached https://files.pythonhosted.org/packages/05/9d/22f74dd77bc4fa85d391564a232c49b4e99cfdeac7bfdee8151ea4606632/behave-parallel-1.2.4a1.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "c:\.........\python\lib\tokenize.py", line 447, in open
        buffer = _builtin_open(filename, 'rb')
    FileNotFoundError: [Errno 2] No such file or directory: 'C:\\.........\\AppData\\Local\\Temp\\pip-install-7vgf8_mu\\behave-parallel\\setup.py'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\.........\AppData\Local\Temp\pip-install-7vgf8_mu\behave-parallel\

Tags: installpipornoinpyparallelsetup

热门问题