web-dev-qa-db-ja.com

Python Django requirements.txt

すべての依存関係を含むrequirements.txtファイルがありますが、正しく処理されません:

pip install -r requirements.txtの後、次のpip freezeを取得します。

argparse==1.2.1
wsgiref==0.1.2

しかし、私がのpipインストールを行うと:

numpy==1.6.2
Django==1.4.2
Django-tastypie==0.9.14
pyes==0.19.1

そして、私のpip install -r requirements.txtを実行します。その後、動作します。

これが私のrequirements.txtに含まれるものです:

numpy==1.6.2
Django==1.4.2
Django-tastypie==0.9.14
urllib3==1.5
pyes==0.19.1
BeautifulSoup==3.2.1
MySQL-python==1.2.3
IMAPClient==0.9.1
Jinja2==2.6
Pillow==2.0.0
amqp==1.0.9
anyjson==0.3.3
billiard==2.7.3.22
celery==3.0.16
Django-celery==3.0.11
Django-compressor==1.3
Django-concurrency
Django-extensions==1.1.1
https://codeload.github.com/toastdriven/Django-haystack/Zip/master#Egg=Django-haystack
Django-model-utils==1.2.0
Django-multiforloop==0.2.1
Django-social-auth==0.7.22
html5lib==0.95
httplib2==0.8
kombu==2.5.7
logilab-astng==0.24.2
logilab-common==0.59.0
oauth2==1.5.211
ordereddict==1.1
pycrypto==2.6
pylint==0.27.0
python-dateutil==1.5
python-openid==2.2.5
pytz==2013b
six==1.3.0
unittest2==0.5.1
wsgiref==0.1.2
xlrd==0.9.0
xmltodict==0.4.6
Django-storages>=1.1.8
boto==2.8.0
lxml==3.1.0
pyelasticsearch==0.4.1
Django-tastypie-elasticsearch==0.1.0

誰かが解決策を持っていますか?

12
Mibou

私はこれを試してみましたが、問題はDjango-tastypie-elasticsearchにあります。 Djangoがまだインストールされていない場合、pipを使用したインストールが失敗するという既知の問題があります。これは問題レポートです。

https://github.com/llonchj/Django-tastypie-elasticsearch/issues/1

Django-tastypie-elasticには2つの寄稿者しかないように見えるので、おそらくあなたは自分でやっているはずです。良い知らせは、それはあなたの責任ではなかったことです!

7
Nathan Gould
1