This file needs to be in the same directory as vpython.py because vpython tries to import .cvector, the leading dot meaning that the imported file should be in the same directory as the file doing the importing. Tested locally that leads to cvector being used instead of vector.
This file needs to be in the same directory as
vpython.py
becausevpython
tries to import.cvector
, the leading dot meaning that the imported file should be in the same directory as the file doing the importing. Tested locally that leads tocvector
being used instead ofvector
.