Vpython Module For Python 3.5

SOLUTION My user did not own permissions to the pip directory, I reinstalled Python 3.5 using the sudo -H flag. I'm trying to install Tensorflow for python 3.5 using pip3 - for reasons described in this github issue - but when I install using sudo pip3 install.whl it installs to python 3.4. See full list on pypi.org. Using VPython with installed Python. We recommend installing the Anaconda Python distribution with Python version 3.5.3 or later. The 3D animations use WebGL in a browser, which is not supported by Internet Explorer. All current browsers do support WebGL. See webglreport.com to check this. The vpython module ('VPython 7') is available using.

1. Trying VPython?

You may encounter some troubles if you are trying to use VPython. Here are some recipes I found from my troubles with Python 3.5 on Windows.

2. Installation Trouble

Install Command:

Trouble:

For
2
4
File 'lattice.py', line 1, in <module>
ImportError: No module named 'visual'

Recipe1:

'visual' module seems to have been renamed to 'vpython' module. So, modify as follows. See 6. References for historical information.

lattice-modified.py
2
4
6
8
10
frommathimportcos,sin,pi
fortheta inarange(0,10*pi,0.1):
x=cos(theta)
s.pos=vector(x,y,0)

6. References

Python Module For Python 3.5 Online

  • Will VPython version 6 ever work with Python 3.x?