- Python Module For Python 3.5 Free
- Python Module For Python 3.5 Download
- Python Module For Python 3.5 Online
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:
2 | File 'c:userstakaha~1appdatalocaltemppip-build-knruf_73vpnotebookvpnotebook__init__.py', line 63, in run_kernel_install install_kernel_spec(source_dir, kernel_name='vpython', user=user) NameError: free variable 'install_kernel_spec' referenced before assignment in enclosing scope |
Recipe:
In my case, to seems to have been caused by the older version of ipython. The error message might be different depending on the version of existing ipython.
If such is the case, retry as follows.
2 | pip install vpython |
3. Runtime Troubles
Run Command:
lattice.py is from the computational physics site.
Trouble1:
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.
2 4 6 8 | File 'lattice_rewrited.py', line 1, in <module> File 'C:Program FilesPython35libsite-packagesvpython__init__.py', line 10, in <module> File 'C:Program FilesPython35libsite-packagesvpythonvpython.py', line 417, in <module> get_ipython().kernel.comm_manager.register_target('glow', GlowWidget) AttributeError: 'NoneType' object has no attribute 'kernel' |
Recipe2:
The error message seems to suggest that the Jupyter kernel is not running.
Learn how to use Jupyter and run it in the notebook for Python.
4. Result
You will see a result on the notebook like the following. Good luck!
5. Bonus
Here is another modified script from Computational Physics followed by its result.