小编sri*_*uti的帖子

从本地安装依赖项时,pipenv install 命令失败

我是 Pipenv 的新手。我正在执行“pipenv install”命令。它创建虚拟环境并从 Pipfile.lock 安装依赖项。但从本地文件夹安装依赖项时失败。

Command:- pipenv install
Pipfile:- my-api = {path = "./dependencies/my_api.zip"} 
Pipefile.lock:- "my-api": {
           "path": "./dependencies/my_api.zip"
       }
Run Code Online (Sandbox Code Playgroud)

Python version: 3.6.5

我收到以下错误:-

Supplied requirement is not installable: {0!r}".format(self.line)
17:17:30  pipenv.vendor.requirementslib.exceptions.RequirementError: Supplied requirement is not installable:
Run Code Online (Sandbox Code Playgroud)

你能建议修复吗?

谢谢,
斯里坎特。

python dependencies pipenv

7
推荐指数
0
解决办法
5522
查看次数

标签 统计

dependencies ×1

pipenv ×1

python ×1