[英]Running canopy-script.pyw gives traceback “No module named canopy.app.bootstrap”
I am trying to follow instruction from Enthought support website To test of what I have done i run line: 我试图遵循Enthought支持网站的指示来测试我做了什么我运行线:
_python.exe canopy-script.pyw -d
Unfortunately this gives Traceback: 不幸的是,这给了Traceback:
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
After "Search" I can see many of bootstrap.py files on the disc. 在“搜索”之后,我可以在光盘上看到许多bootstrap.py文件。
What would be the solution for this problem? 这个问题的解决方案是什么?
The current version of Canopy is 2.1.9. Canopy的当前版本是2.1.9。 (You are running v 1.7.4).
(你正在运行v 1.7.4)。
To update Canopy, and for a link to release notes, please see "Installing a new Canopy version" . 要更新Canopy,以及发布说明的链接,请参阅“安装新的Canopy版本” 。
After you update, see: https://support.enthought.com/hc/en-us/articles/360021798791--UnresolvableRequirements-or-Conflicting-requirements-when-installing-or-updating-packages 更新后,请参阅: https : //support.enthought.com/hc/en-us/articles/360021798791--UnresolvableRequirements-or-Conflicting-requirements-when-installing-or-updating-packages
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.