2

ログと詳細については、https ://gist.github.com/2890621をご覧ください。

stu@vervet ~ $ virtualenv --no-site-packages testingpip
New python executable in testingpip/bin/python
Installing distribute......................done.
stu@vervet ~ $ source testingpip/bin/activate
stu@vervet ~ $ which pip
/home/stu/testingpip/bin/pip
stu@vervet ~ $ which python
/home/stu/testingpip/bin/python
stu@vervet ~ $ pip --log=piplog.log install numpy pil aptus
Downloading/unpacking numpy
...
...
...

numpyの依存関係のため、最終的にコマンドは失敗します

しかしやっている:

stu@vervet ~ $ pip install numpy
stu@vervet ~ $ pip install pil
stu@vervet ~ $ pip install aptus

作品

4

1 に答える 1

3

これは、Aptussetup.pyファイルのこの行が原因で発生します。

Aptusのバグとして報告する必要があります。Aptusがnumpyに依存している場合は、インストール中に例外をスローするのではなく、依存関係のリストに追加する必要があります。

Aptusは、次のようなパッチを適用する必要があります。

install_requires = []

try: import numpy
except ImportError: install_requires.append('numpy')

setup(
    ...
    install_requires=install_requires,
    ...
)
于 2012-06-07T19:11:02.660 に答える