From: Bruce S. <Bru...@nc...> - 2011-12-01 22:17:44
|
It sounds like you have a 64-bit version of Python 2.7 installed. As it says on the Windows download page at vpython.org: First, download and install Python-2.7.1 (Important: Let it install in C:\Python27)(There is not a VPython version for Windows 64-bit Python, but this 32-bit version of Python works fine on 64-bit Windows machines) Bruce Sherwood On Thu, Dec 1, 2011 at 12:52 PM, ptrottant <p.t...@fr...> wrote: > Hello, > > > > I’m trying to make run an old script using vpython (which works fine for > years). > > I’m now on windows 7 64bit, I installed VPython-Win-Py2.7-5.72.exe in > c:\python27 which is the place for python 2.7 on my computer. > > (notice that the installation process alert me about the fact it didn’t find > python 2.7 installation directory. As requested I gave it the place). > > Unfortunately it seems to have trouble with cvisual : > > > > Traceback (most recent call last): > > File "C:\3S\myprog23\pression3.py", line 3, in <module> > > import visual > > File "C:\Python27\lib\site-packages\visual\__init__.py", line 1, in > <module> > > from .visual_all import * > > File "C:\Python27\lib\site-packages\visual\visual_all.py", line 1, in > <module> > > from vis import version > > File "C:\Python27\lib\site-packages\vis\__init__.py", line 3, in <module> > > from .cvisual import (vector, dot, mag, mag2, norm, cross, rotate, comp, > proj, diff_angle, rate, waitclose) > > ImportError: DLL load failed: %1 n’est pas une application Win32 valide. > (translated by is not a valid Win32 application) > > > > I found only a cvisual.pyd file in the c:\python27\Lib\site-packages\vis > directory > > > > So, I will be very pleased if someone could help me. > > > > Thanks for your support. Don’t hesitate if you want any other information or > test result. > > > > Regards. > > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |