fvpolpeta / devide

Automatically exported from code.google.com/p/devide
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

On a win64 machine with win32 python+wxpython installed, DRE x64 r4026 tries to load the system wx #188

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Reported by Dr. Krekel of Clinical Graphics. Only output at import wx is the 
following:

\Program Files\DeVIDE-RE\dre ipython
import wx

ImportError: DLL load failed: %1 is not a valid Win32 application.

Original issue reported on code.google.com by cpbotha on 14 Mar 2011 at 12:21

GoogleCodeExporter commented 9 years ago
It seems that the user's existing PYTHONPATH goes before the DRE python paths:

In [2]: sys.path
Out[2]:
['',
 'C:\\Program Files\\DeVIDE-RE\\dreams',
 'C:\\Program Files\\DeVIDE-RE',
 'C:\\Program Files\\DeVIDE-RE\\devide',
 'C:\\Program Files\\DeVIDE-RE\\VTK\\lib\\site-packages',
 'C:\\Program Files\\DeVIDE-RE\\VTK\\bin',
 'C:\\Program Files\\DeVIDE-RE\\gdcm\\lib',
 'C:\\Program Files\\DeVIDE-RE\\gdcm\\bin',
 'C:\\Program Files\\DeVIDE-RE\\vtkdevide\\lib',
 'C:\\Program Files\\DeVIDE-RE\\vtktudoss\\lib',
 'C:\\Program Files\\DeVIDE-RE\\wrapitk\\lib\\InsightToolkit\\WrapITK\\Python',
 'C:\\Program Files\\DeVIDE-RE\\wrapitk\\lib\\InsightToolkit\\WrapITK\\lib',
 'C:\\build\\vtk-5.6.1_mvs2008\\bin\\RelWithDebInfo',
 'C:\\source\\vtk-5.6.1\\Wrapping\\Python',

Original comment by cpbotha on 14 Mar 2011 at 4:33

GoogleCodeExporter commented 9 years ago
Fixed in r4040.

Original comment by cpbotha on 24 May 2011 at 10:01

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 7dbe203e183a.

Original comment by cpbotha on 6 Feb 2012 at 10:50

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 7dbe203e183a.

Original comment by cpbotha on 6 Feb 2012 at 10:50

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 7dbe203e183a.

Original comment by cpbotha on 6 Feb 2012 at 10:50