| | |
Vpython error won't run any programs
![]() |
•
•
Join Date: Jun 2009
Posts: 10
Reputation:
Solved Threads: 0
I have downloaded vpython and try to run one of the examples included with the program. but this is the error I get
, when I run it on my dell inspiron 1525 laptop with windows vista. I have tried it on another computer and have seen it work, but would like it to work on my laptop. I have the relatively latest 2.6.3 python installed on the laptop. And have tried uninstalling python and vpython a couple of times but the error continues does anyone have any ideas how to fix this?
Python Syntax (Toggle Plain Text)
from visual import * floor = box(length=4, height=0.5, width=4, color=color.blue) ball = sphere(pos=(0,4,0), color=color.red) ball.velocity = vector(0,-1,0) dt = 0.01 while 1: rate(100) ball.pos = ball.pos + ball.velocity*dt if ball.y < 1: ball.velocity.y = -ball.velocity.y else: ball.velocity.y = ball.velocity.y - 9.8*dt
Python Syntax (Toggle Plain Text)
Traceback (most recent call last): File "C:\Python26\Lib\site-packages\visual\examples\bounce.py", line 1 from visual import * File "C:\Python26\lib\site-packages\visual\__init__.py", line 59 import cvisual AttributeError: 'Boost.Python.StaticProperty' object attribute '__doc__' is read-only >>>
Last edited by johndb; 23 Days Ago at 5:03 pm.
0
#6 22 Days Ago
Thanks for the info, hope it works for the OP. I have been sitting out Vista successfully so far, and probably will never have the pleasure to try this out. Eventually I will have to bite the bullet and use Windows 7 or Windows 7.1.
May 'the Google' be with you!
![]() |
Similar Threads
- compiler error when run the asp.net application (ASP.NET)
- Debug Error Run-Time Check Failure #2 (C++)
- Can't run .py programs (Python)
- Error message when attempting to run program in Windows XP (Windows NT / 2000 / XP)
- dinput8.dll error on a game (Windows Software)
- Can't run c++ programs in kdevelop (C++)
- Server Busy Error When Starting Programs (Viruses, Spyware and other Nasties)
- i get an error while trying to run perl on win98 (Perl)
- Bus Error when I run my C++ program (C++)
- how to simultaneously run 2 programs by calling one from another (C)
Other Threads in the Python Forum
- Previous Thread: Alphabetizer
- Next Thread: Number 1 most possible frustrating situation
| Thread Tools | Search this Thread |
abrupt accessdenied anti apache application approximation argv array beginner book builtin calculator change converter countpasswordentry curved dan08 dictionaries dictionary dynamic edit enter examples file float format function gui heads homework import inches input java keyboard lapse launcher library line lines linux list lists loop microphone mouse movingimageswithpygame mysqlquery newb number numbers numeric output parameters parsing path phonebook plugin port prime programming projects py2exe pygame pyopengl python random recursion redirect remote reverse scrolledtext session simple software sprite statictext string strings syntax table terminal text textarea thread threading time tlapse trick tuple tutorial twoup ubuntu unicode unit urllib urllib2 variable wordgame wxpython






