2012-03-22 3 views
1

経由で更新されました.imageはvirtualenvの依存関係のpip要件ファイルを使用しています。イム@URLObjectエラーが発生する要件をダウンロードしながら、.pipファイルpipent requirementsファイル

でそれを追加した後、今の問題はdjangorestframeworkを打ち出しているubuntu10.04LTSを使用しては、次のように

Downloading/unpacking URLObject>=0.6.0 (from djangorestframework->-r /var/lib/myproj/base.pip (line 26)) Using download cache from /usr/local/pipcache/http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2FU%2FURLObject%2FURLObject-2.0.1.tar.gz Running setup.py egg_info for package URLObject The required version of distribute (>=0.6.24) is not available, and can't be installed while this script is running. Please install a more recent version first, using 'easy_install -U distribute'.
(Currently using distribute 0.6.10 (/var/lib/myproj/.ve/lib/python2.6/site-packages/distribute-0.6.10-py2.6.egg)) Complete output from command python setup.py egg_info: The required version of distribute (>=0.6.24) is not available, and can't be installed while this script is running. Please install a more recent version first, using 'easy_install -U distribute' (Currently using distribute 0.6.10 (/var/lib/myproj/.ve/lib/python2.6/site-packages/distribute-0.6.10-py2.6.egg))

私のピップ要件ファイルがあると言います。

virtualenv 
django 
distribute 
django-permissions 
django-storages 
django-sentry 
#django-db-utils 
PIL 
#Required for APIs 
djangorestframework 

私はさらにdistribute-0.6.25を追加してみましたが、pip要件ファイルを使ってどのようにアップグレードするのですか?

答えて

4

私はちょうど同じ問題にぶつかりました。実行することによって解決

pip install -U distribute==0.6.25 

を私は要件が1で一回ではなく1に設置されているので、あなたが要件ファイルを経由して、それを更新することができるとは思いません。

+0

--thanks、イムこのエラーを取得**とValueError:( '期待バージョンの仕様で'pip install -U distribute == 0.6.25'、 'at'、 'intall -U distribute == 0.6.25')** pipファイルに上記の行を追加する場合 – Dharani

+0

「pip install -U配布する== 0.6.25 "シェルで。それを要件に入れないでください! – jpic

+0

シェルで実行する権限がありません。要件ファイルを保持することによって、何らかの方法がありますか?もっと上に私はubuntu10.04ltsのpython2.6.5バージョンを持っています – Dharani

0

あなただけの要求でそれを指定し、0.6.25バージョンであることを配布する必要がある場合:迅速な返信用

virtualenv 
django 
distribute==0.6.25 
django-permissions 
django-storages 
django-sentry 
#django-db-utils 
PIL 
#Required for APIs 
djangorestframework 
+1

これは機能しません。 –

関連する問題