Open huskier opened 8 years ago
I injected a print statement just before the problem statement "_mod = imp.load_module('_BRep', fp, pathname, description)", and the printed info looks like:
pathname = C:\Anaconda\Lib\site-packages\OCC_BRep.pyd desc = ('.pyd', 'rb', 3) fp = <open file 'C:\Anaconda\Lib\site-packages\OCC\_BRep.pyd', mode 'rb' at 0x0000000003178540>
So, the problem should be "_BRep.pyd". However, I don't know how to jump into the deeper side to find the real issue.
Any ideas?
My OS: Windows 7(64bit) Anaconda: 64bit and 32bit, and I tried both. I mean I installed pythonocc-core and related libraries on both versions.
After installing pythonocc-core through conda, I encounter a problem when I try to run a simple pythonocc program, and the traceback reads:
After googling the web, I add the PYTHONPATH into the system environment variables, and it looks like:
And I also copied the OCC's dll located in the "C:\Anaconda\Library\bin" into "C:\Anaconda\Lib\site-packages", but the problem is still there.
The DLL problem looks common on Windows OS, but I don't know which DLL is the problem. Any ideas?
Thanks.