facebookresearch / fastText

Library for fast text representation and classification.
https://fasttext.cc/
MIT License
25.85k stars 4.71k forks source link

ImportError when import BRepOffsetAPI_ThruSections #1214

Open skfzyy opened 3 years ago

skfzyy commented 3 years ago

Hello~ Can I have you help... I install PYTHONOCC by Honda which use command "conda create -n pythonocct -c dlr-sc -c pythonocc pythonocc-core=7.4.0rc1" the code run correctly but when I call from OCC.Core.BRepOffsetAPI import BRepOffsetAPI_ThruSections,the compile report that: ImportError: dlopen(/Users/XXX/Tools/anaconda3/envs/occt/lib/python3.7/site-packages/OCC/Core/_GeomFill.so, 2): Symbol not found: __ZN14GeomFill_Coons4InitERK18NCollection_Array1I6gp_PntES4_S4S4 Referenced from: /Users/XXX/Tools/anaconda3/envs/occt/lib/python3.7/site-packages/OCC/Core/_GeomFill.so Expected in: /Users/XXX/Tools/anaconda3/envs/occt/lib/libTKGeomAlgo.7.dylib in /Users/XXX/Tools/anaconda3/envs/occt/lib/python3.7/site-packages/OCC/Core/_GeomFill.so

whatever in macOS and Ubuntu20.04, the error will occur, how should I solve this problem?