1

我在 Windows 7 上安装了 Enthought Canopy(免费版)。

我想安装可视化 python (vpython)。

我尝试了一切,pip install vpython,不可用。

尝试从这里下载最新的 zip:https ://codeload.github.com/BruceSherwood/vpython-wx/zip/master 然后我在 Canopy 控制台中介绍了:pip install/directory/vpython-wx-src.6.05 b.zip(正确的目录和文件名)。

不安装,这会出现:

Unpacking c:\users\teo\downloads\vpython-wx-src.6.05b.zip
Running setup.py egg_info for package from file:///c%7C%5Cusers%5Cteo%5Cdownloads%5Cvpython-wx-src.6.05b.zip
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.34.tar.gz
Extracting in c:\users\teo\appdata\local\temp\tmprfdxhf
Now working in c:\users\teo\appdata\local\temp\tmprfdxhf\distribute-0.6.34
Building a Distribute egg in c:\users\teo\appdata\local\temp\pip-e84ef9-build
c:\users\teo\appdata\local\temp\pip-e84ef9-build\distribute-0.6.34-py2.7.egg

warning: no files found matching 'site-packages\visual\docs\navigation.js'
Downloading/unpacking fontTools (from VPython==6.05)
Downloading FontTools-2.4.tar.gz (323Kb): 323Kb downloaded
Running setup.py egg_info for package fontTools
C:\Users\Teo\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.3.0.1715.win-x86_64\lib\distutils\dist.py:267:
UserWarning: Unknown distribution option: 'console'
warnings.warn(msg)
WARNING: '' not a valid package name; please use only.-separated package names in setup.py

warning: no files found matching 'Doc\ChangeLog'
Downloading/unpacking Polygon (from VPython==6.05)
Could not find any downloads that satisfy the requirement Polygon (from VPython==6.05)
No distributions at all found for Polygon (from VPython==6.05)
Storing complete log in C:\Users\Teo\AppData\Roaming\pip\pip.log

有人能帮我吗?在 Enthought 支持中它说:“如果您有没有在那里回答的问题,请使用标签“enthought”将它们发布到 Stack Overflow”,但我无法标记它。

编辑:由于日志文件太大,无法在此处发布,因此在此处:

http://www51.zippyshare.com/v/47998264/file.html

4

1 回答 1

1

在 Enthought Canopy 中安装 vpython 的最快方法是

  1. 确保已将 Canopy 设为默认 Python(首选项菜单)。

  2. 下载并安装 Chris Gohlke 的 Windows 版 VPython 安装程序:http ://www.lfd.uci.edu/~gohlke/pythonlibs/#vpython

于 2014-04-22T22:33:31.407 回答