0

Windows 64のhttps://github.com/CoAxLab/DeBaClにある debacl というモジュールをインストールしようとしています。

install コマンドを使用してモジュールをインストールしています。

In [18]: run -i setup.py install
running install
running build
running build_py
running build_scripts
running install_lib
running install_scripts
running install_egg_info
Removing C:\Users\vjons\AppData\Local\Enthought\Canopy\User\Lib\site-packages\debacl-0.2.0-py2.7.egg-info
Writing C:\Users\vjons\AppData\Local\Enthought\Canopy\User\Lib\site-packages\debacl-0.2.0-py2.7.egg-info

フォルダ debacl が Canopy\User\Lib\site-packages フォルダに表示されます。しかし、新しくインストールしたモジュールをインポートしようとすると、次のエラー メッセージが表示されます。

In [3]: import debacl
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-3-5ef0bbe97964> in <module>()
----> 1 import debacl

C:\Users\vjons\AppData\Local\Enthought\Canopy\User\lib\site-packages\debacl\__init__.py in <module>()
      1 # main debacl __init__.py
      2
----> 3 import geom_tree
      4 import cd_tree
      5 import utils

C:\Users\vjons\AppData\Local\Enthought\Canopy\User\lib\site-packages\debacl\geom_tree.py in <module>()
     24         import utils as utl
     25 except:
---> 26         raise ImportError("Critical packages are not installed.")
     27
     28 try:

ImportError: Critical packages are not installed.

Okaj、これは、debacl を使用するには、utils パッケージをインストールする必要があることを意味していると思います。ただし、utils は debacl/-folder に含まれています。

In [4]: ls C:\Users\vjons\AppData\Local\Enthought\Canopy\User\Lib\site-packages\debacl
 Volume in drive C has no label.
 Volume Serial Number is 423B-C99D

 Directory of C:\Users\vjons\AppData\Local\Enthought\Canopy\User\Lib\site-packages\debacl

2014-05-26  16:04                72 __init__.py
2014-05-26  16:05               255 __init__.pyc
2014-05-26  16:04            25 521 cd_tree.py
2014-05-26  16:14            23 466 cd_tree.pyc
2014-05-26  16:04            50 373 geom_tree.py
2014-05-26  16:14            47 087 geom_tree.pyc
2014-05-26  16:05    <DIR>          test
2014-05-26  16:04            21 488 utils.py
2014-05-26  16:14            22 480 utils.pyc

何か不足していますか?

4

1 に答える 1