Pip Wheel和coverage:命令未找到错误

时间:2016-08-11 13:07:05

标签: python django python-3.x pip python-wheel

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

pip install wheel    
pip wheel -r requirements_dev.txt

其中包含以下包

nose
django_coverage
coverage

覆盖:未找到命令,它没有被安装。

如果没有发现pip install或我没有理解/设置这个问题,是否会出现回退?

2 个答案:

答案 0 :(得分:2)

你能试试吗?

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.

答案 1 :(得分:1)

从轮子安装是pip默认已经执行的操作。 pip wheel用于从您的需求文件创建轮次。