我刚开始使用pythonocc,我尝试导入一些模块,并返回以下错误
` 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.
`我使用的是windows 64位python 2.7.3 32位和pythonocc 0.5一体机。
上述问题的解决方案是什么?
发布于 2013-08-14 17:16:41
从这个链接http://code.google.com/p/pythonocc/安装pythonoc0.6,应该可以正常工作
发布于 2013-07-23 23:27:10
如果你有64位的python,它可能很难加载32位的Dll。
尝试此link
我建议获得一个32位的python发行版,这应该可以解决您的问题。
发布于 2014-07-11 07:23:53
在以下链接中,您可以找到Python2.7的pythonOCC:http://code.google.com/p/pythonocc/downloads/list
Link于14年7月10日测试
https://stackoverflow.com/questions/17810727
复制相似问题