|
From: Bruce S. <Bru...@nc...> - 2007-06-24 02:57:13
|
Here's a thought. I don't see how, but maybe somehow there's a conflict between the old numeric module installed by the standard VPython and the new numpy module you already had installed. You might try temporarily uninstalling numpy to see whether that makes a difference. Or you might uninstall the standard VPython and instead install the beta version (see "Recent developments" at vpython.org). The beta version (which unfortunately has serious bugs on Windows) uses numpy. Bruce Sherwood Ryan Krauss wrote: > I am trying to use Vpython with ipython running with the scipy options > -pylab -p scipy. I am getting this error message: > > In [1]: import visual > --------------------------------------------------------------------------- > <type 'exceptions.ImportError'> Traceback (most recent call last) > > C:\Documents and Settings\rkrauss\<ipython console> in <module>() > > C:\Python25\lib\site-packages\visual\__init__.py in <module>() > 13 > 14 # Don't try this at home! > ---> 15 import array_backend > 16 # The following is intended to be equivalent to: > 17 # >>> from array_backend.backend[0] import * > > C:\Python25\lib\site-packages\visual\array_backend.py in <module>() > 2 > 3 # I am performing the import statements within functions to prevent poll > uting the global > 4 # namespace > 5 def _try_init_numeric(): > 6 try: > > <type 'exceptions.ImportError'>: DLL load failed: Invalid access to memory locat > ion. > > > I saw another thread with this error message but with no answer. Is > there a solution to this problem? I am running Windows XP and Python > 2.5. Until I ran the VPython installer, this computer had only numpy > installed. > > Thanks, > > Ryan > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |