运行canopy-script.pyw给出回溯“没有名为canopy.app.bootstrap的模块”

时间:2019-05-03 12:37:04

标签: enthought

我正在尝试遵循Enthought support website的说明以测试我所做的工作,并在以下行中进行测试:

_python.exe  canopy-script.pyw -d  

不幸的是,这提供了回溯:

Traceback (most recent call last):
File "canopy-script.pyw", line 776, in <module>

File "canopy-script.pyw", line 336, in bootstrap

File "canopy-script.pyw", line 363, in chainload

File "canopy-script.pyw", line 762, in _chainload

File "C:\Users\User\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.7.4.3348.win-x86_64\Canopy-script.pyw", line 7, in <module>
from canopy.app.bootstrap import main  
ImportError: No module named canopy.app.bootstrap

“搜索”后,我可以在光盘上看到许多bootstrap.py文件。
该问题的解决方案是什么?

1 个答案:

答案 0 :(得分:0)

Canopy的当前版本是2.1.9。 (您正在运行1.7.4版)。

要更新Canopy,并提供发行说明的链接,请参阅"Installing a new Canopy version"

更新后,请参阅: https://support.enthought.com/hc/en-us/articles/360021798791--UnresolvableRequirements-or-Conflicting-requirements-when-installing-or-updating-packages