私はvirtualenvwrapper
Ubuntu 12.04(virtualenvwrapper 1.7.1.2、virtualenv 1.7.1.2、pip 1.0、Distribute 0.6.24、Python 2.7)で実行しています。できるようにするpip install matplotlib
には、新しいバージョンの Distribute/setuptools が必要なので、次のようにします。
$ mkvirtualenv new_venv
$ pip install matplotlib # fails
$ easy_install -U distribute
# installs Distribute 0.7.3 in the venv,
# which then installs setuptools 1.3.1
$ pip install matplotlib # works
ただし、実行すると次のpip freeze
ようになります。
argparse==1.2.1
distribute==0.7.3 # here's Distribute
matplotlib==1.3.1
nose==1.3.0
numpy==1.8.0
pyparsing==2.0.1
python-dateutil==2.2
six==1.4.1
tornado==3.1.1
wsgiref==0.1.2
はどこsetuptools
ですか?試してみましpip install setuptools
たが、そこにも表示されません。