· In a Power Shell or Command Prompt (Windows) or Terminal (Mac /
Linux) run this command, which will install VPython 7 for Python 2.7, 3.4, 3.5, or 3.6:
pip
install vpython
Or if using Anaconda, conda install -c vpython vpython
There will be frequent updates to this module. You can get the latest version this way:
pip
install vpython --upgrade
Or if using Anaconda, conda update -c vpython vpython
df
the error is:
Traceback (most recent call last):
File "prueba.py", line 2, in <module>
from vpython import *
ModuleNotFoundError: No module named 'vpython'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 12, in <module>
import subprocess, tempfile, os.path, re, pwd, grp, os, time
File "/usr/lib/python3.6/subprocess.py", line 136, in <module>
import _posixsubprocess
ModuleNotFoundError: No module named '_posixsubprocess'
Original exception was:
Traceback (most recent call last):
File "prueba.py", line 2, in <module>
from vpython import *
ModuleNotFoundError: No module named 'vpython'
vVersion Python Installed:python 3.7
linux: ubuntu 17.10
thnaks for your help!
--
You received this message because you are subscribed to a topic in the Google Groups "VPython-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vpython-users/DmaYVp7i8Yk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.