gpt4 book ai didi

python - pip 轮和覆盖范围 : command not found error

转载 作者:行者123 更新时间:2023-11-30 22:51:47 25 4
gpt4 key购买 nike

我想在我的 Linux 服务器上使用轮子,因为它看起来更快,但是当我这样做时:

pip install wheel    
pip wheel -r requirements_dev.txt

其中包含以下软件包

nose
django_coverage
coverage

我得到覆盖:找不到命令,就像没有安装一样。

如果找不到用于 pip install 的轮子或者我没有正确理解/设置它,是否有后备?

最佳答案

你能试试这个吗?

virtualenv venv
source venv/bin/activate
pip -r install requirement.txt

也可以使用轮子来实现:-

pip wheel -r check.txt
Collecting nose (from -r check.txt (line 1))
Using cached nose-1.3.7-py2-none-any.whl
Saved ./nose-1.3.7-py2-none-any.whl
Collecting django_coverage (from -r check.txt (line 2))
Saved ./django_coverage-1.2.4-cp27-none-any.whl
Collecting coverage (from -r check.txt (line 3))
Using cached coverage-4.2-cp27-cp27m-macosx_10_10_x86_64.whl
Saved ./coverage-4.2-cp27-cp27m-macosx_10_10_x86_64.whl
Skipping nose, due to already being wheel.
Skipping django-coverage, due to already being wheel.
Skipping coverage, due to already being wheel.

关于python - pip 轮和覆盖范围 : command not found error,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38897291/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com