0

ubuntu lucidでは、デフォルトでpython 2.6.5コンパイルpython3.3.1してセットアップしvirtualenvwrapperworkon envpy331でpython3.3.1で作業できるようにしました。次に、使用してyolkをインストールしましたpip

今、私が走るとき

>>yolk -l

以下のように python2.6.5 でもインストールされているすべての python ライブラリを一覧表示し、最後に IOError をスローします

BeautifulSoup   - 3.0.7a       - active development (/usr/local/lib/python2.6/dist-packages)
Brlapi          - 0.5.4        - active development (/usr/lib/pymodules/python2.6)
CouchDB         - 0.6          - active development (/usr/lib/pymodules/python2.6)
Django          - 1.3.1        - active development (/usr/local/lib/python2.6/dist-packages)
Fabric          - 1.5.1        - active development (/usr/local/lib/python2.6/dist-packages/Fabric-1.5.1-py2.6.egg)
...
nose            - 1.3.0        - active development (/usr/local/lib/python2.6/dist-packages)
numpy           - 1.3.0        - active 
nvidia-common   - 0.0.0        - active 
oauth           - 1.0a         - active 
odict           - 1.3.2        - active development (/usr/local/lib/python2.6/dist-packages/odict-1.3.2-py2.6.egg)
Traceback (most recent call last):
  File "/usr/local/bin/yolk", line 9, in <module>
    load_entry_point('yolk==0.4.3', 'console_scripts', 'yolk')()
  File "/usr/local/lib/python2.6/dist-packages/yolk/cli.py", line 1090, in main
    my_yolk.run()
  File "/usr/local/lib/python2.6/dist-packages/yolk/cli.py", line 203, in run
    return getattr(self, action)()
  File "/usr/local/lib/python2.6/dist-packages/yolk/cli.py", line 223, in show_all
    return self.show_distributions("all")
  File "/usr/local/lib/python2.6/dist-packages/yolk/cli.py", line 298, in show_distributions
    metadata = get_metadata(dist)
  File "/usr/local/lib/python2.6/dist-packages/yolk/metadata.py", line 38, in get_metadata
    msg = email.message_from_string(dist.get_metadata('PKG-INFO'))
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1488, in get_metadata
    f = open(self.path,'rU')
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.6/dist-packages/onboard-0.0.0.egg-info'

なぜこれが起こるのか分かりますか?python3 を再度コンパイルして virtualenv をセットアップする必要がありますか?

4

1 に答える 1