开发者

Pip package install with preinstalled dependencies

I would like to install some python packages from local directories (downloaded from GitHub) specified in requirements.txt

-e ./src/django-django-eca4737
-e ./src/divio-django-appmedia-55835b6
-e ./src/ojii-django-sekizai-25c64f4
-e ./src/ojii-django-classy-tags-f2076f6
-e ./src/the开发者_StackOverflow中文版atlantic-django-south-471b16b
-e ./src/etianen-django-reversion-bdb9e8e
-e ./src/django-mptt-django-mptt-7d3e111
-e ./src/jezdez-django-appconf-53c5de7
-e ./src/jezdez-django_compressor-c726239
-e ./src/mongodb-mongo-python-driver-fcb88ee
-e ./src/divio-django-cms-66fbff0
PIL
wsgiref

However, after pip installs the packages from the local directories (pip install -r requirements.txt), it also installs them from remote repos as DjangoCMS dependencies (same versions!). How to avoid this?


use --no-dependencies or just --no-deps option

pip install --no-dependencies -r requirements.txt
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜