Search code examples
python-2.73dcad

Pythonocc Import error Dll load failed


I am getting started with pythonocc i have tried to import some modules and return with the following errors

   `     Traceback (most recent call last):
        File "<pyshell#0>", line 1, in <module>
        from OCC.gp import *
        File "C:\Python27\lib\site-packages\OCC\gp.py", line 28, in <module>
        _gp = swig_import_helper()
         File "C:\Python27\lib\site-packages\OCC\gp.py", line 24, in swig_import_helper
        _mod = imp.load_module('_gp', fp, pathname, description)
         ImportError: DLL load failed: The specified module could not be found.
   `

i am using windows 64 bit python 2.7.3 32bit and pythonocc 0.5 all in one

What is the solution to the above probelm?


Solution

  • Install pythonocc 0.6 from this link http://code.google.com/p/pythonocc/ this should work fine