Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Anaconda / Spyder / VPython
#1
Hi,

Has anyone had experience installing the VPython module in Anaconda and running it within Spyder?

My company laptop has Anaconda and Spyder pre-italled and so it would be great to get VPython working with it. Main reason is, I cannot freely download VPython myself without jumping hoops with my IT department.

After downloading VPython in Anaconda I ran a basic script (for testing purposes) to display a sphere or a box...

from vpython import *
box()
I got the following output in the console...

runfile('C:/Users/WATS6441/.spyder-py3/sphere.py', wdir='C:/Users/WATS6441/.spyder-py3')
And no window appears showing the box / sphere.


I'd like to steer clear of downloading python then vpython and all the additional modules required as they all require admin IT input, but Anaconda lets me do it all through the navigator. Spyder doesn't kick up a fuss about Vpython not being found so I assume that is not the problem, but instead an issue with the rendering window.

Has anyone has similar experience or recommend another module I can use that can model simple 3D projectiles like Vpython.


Thanks for reading.

Kind Regards,

Martin
Reply


Messages In This Thread
Anaconda / Spyder / VPython - by mwatson87 - May-23-2018, 04:49 PM
RE: Anaconda / Spyder / VPython - by snippsat - May-23-2018, 05:21 PM
RE: Anaconda / Spyder / VPython - by mwatson87 - May-24-2018, 11:40 AM
RE: Anaconda / Spyder / VPython - by snippsat - May-24-2018, 01:51 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  I try to import Vpython and I get a "ZeroDivisionError" Jon2222 16 3,162 Jul-26-2023, 07:37 AM
Last Post: Jon2222
  Use different Anaconda environments on Linux Mint and Spyder StaLLoNe_CoBRa 0 1,968 Jan-20-2021, 03:12 AM
Last Post: StaLLoNe_CoBRa
  Anaconda Spyder erratically reset by distutils C extension OTAGOHARBOUR 4 2,553 Nov-27-2019, 01:51 PM
Last Post: ThomasL
  Vpython Delay in plotting points SohaibAJ 0 2,182 Jul-30-2018, 08:44 PM
Last Post: SohaibAJ
  VPython - Trying to make orbit simulation totalnoob 2 5,767 Sep-13-2017, 03:59 PM
Last Post: micseydel

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020