gpt4 book ai didi

python - 无法在 Windows 7 上的 Enthought Canopy 中可视化 python (vpython)

转载 作者:太空宇宙 更新时间:2023-11-03 18:25:49 25 4
gpt4 key购买 nike

我在 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.05b.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 支持中,它说:“如果您有没有在那里得到解答的问题,请将其发布到 Stack Overflow,并带有标签“enthought””,但我无法对其进行标记。

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

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

最佳答案

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

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

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

关于python - 无法在 Windows 7 上的 Enthought Canopy 中可视化 python (vpython),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23225686/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com