In the Final step,when I run:
Code: Select all
import ifcopenshell
Code: Select all
Traceback (most recent call last):
File "/Applications/FreeCAD.app/Contents/lib/python2.7/site-packages/ifcopenshell/__init__.py", line 45, in <module>
from . import ifcopenshell_wrapper
File "/Applications/FreeCAD.app/Contents/lib/python2.7/site-packages/ifcopenshell/ifcopenshell_wrapper.py", line 28, in <module>
_ifcopenshell_wrapper = swig_import_helper()
File "/Applications/FreeCAD.app/Contents/lib/python2.7/site-packages/ifcopenshell/ifcopenshell_wrapper.py", line 24, in swig_import_helper
_mod = imp.load_module('_ifcopenshell_wrapper', fp, pathname, description)
ImportError: dlopen(/Applications/FreeCAD.app/Contents/lib/python2.7/site-packages/ifcopenshell/_ifcopenshell_wrapper.so, 2): Symbol not found: _PyBytes_AsStringAndSize
Referenced from: /Applications/FreeCAD.app/Contents/lib/python2.7/site-packages/ifcopenshell/_ifcopenshell_wrapper.so
Expected in: flat namespace
in /Applications/FreeCAD.app/Contents/lib/python2.7/site-packages/ifcopenshell/_ifcopenshell_wrapper.so
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "/Applications/FreeCAD.app/Contents/lib/python2.7/site-packages/ifcopenshell/__init__.py", line 52, in <module>
raise ImportError("IfcOpenShell not built for '%s'" % python_distribution)
ImportError: IfcOpenShell not built for 'darwin/64bit/python2.7'
How to solve this error in my MacOS?
Thanks!!!