我想从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/theatlantic-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
但是,在pip从本地目录(pip install -r requirements.txt
)安装软件包之后,它还会将它们作为DjangoCMS依赖项(相同版本!)从远程repos安装它们。怎么避免这个?
答案 0 :(得分:5)
使用--no-dependencies
或--no-deps
选项
pip install --no-dependencies -r requirements.txt