小编Dev*_*Roy的帖子

尝试使用 pipenv 安装时出现 ValueError

我对此完全陌生。所以我使用'pip install pipenv'安装了pipenv。我有 python 版本 3.8.2、pip 版本 20.1.1 和 pipenv 版本 2020.6.2 。但是当我尝试运行“pipenv install”时,它给出了以下错误。

    C:\Users\rd463>pipenv install
Traceback (most recent call last):
  File "D:\python382\Lib\site-packages\pipenv\vendor\pythonfinder\models\python.py", line 618, in parse_executable
    result_version = get_python_version(path)
  File "D:\python382\Lib\site-packages\pipenv\vendor\pythonfinder\utils.py", line 105, in get_python_version
    c = subprocess.Popen(version_cmd, **subprocess_kwargs)
  File "d:\python382\lib\subprocess.py", line 854, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "d:\python382\lib\subprocess.py", line 1307, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified

During handling of the above exception, another …
Run Code Online (Sandbox Code Playgroud)

python valueerror pipenv

5
推荐指数
3
解决办法
2603
查看次数

标签 统计

pipenv ×1

python ×1

valueerror ×1