| | |
Vpython error won't run any programs
Please support our Python advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Jun 2009
Posts: 11
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; Nov 4th, 2009 at 5:03 pm.
0
#6 Nov 5th, 2009
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: Starting Python, going in a certain direction.
- Next Thread: can't strip string
| Thread Tools | Search this Thread |
Tag cloud for Python
ansi assignment avogadro backend beginner binary bluetooth character cmd code copy customdialog data decimals dictionary drive dynamic error examples excel exe file float format ftp function gnu graphics gui heads homework http ideas import input java leftmouse line linux list lists logging loop module mouse newb number numbers output parsing path pointer port prime program programming progressbar projects push py2exe pygame pyglet pyqt python random recursion recursive refresh schedule scrolledtext sqlite ssh statistics stdout string strings sudokusolver sum table terminal text thread threading time tkinter tlapse tricks tuple tutorial ubuntu unicode update urllib urllib2 variable wikipedia windows write wxpython xlib






