Closed zhouyc98 closed 8 months ago
I found it is bug relevant to SWIG version (like #1161). I finally get it worked by installing pythonocc-7.4.1, OCC-7.4.0, and SWIG-3.0.12
If you want to compile the current master branch, swig-4.1.x is required, no need to downgrade to previous pythonocc releases
@tpaviot Thank you for your reply. I now tried swig-4.1.1 with the latest pythonocc and it worked! Thanks!
Fixed in current master branch
I have installed pythonocc from source following the INSTALL.md. (I'm using macOS so I adjust some config and finally get it installed). After I installed, I run the simple test and it is ok; however, the unit test (test/run_tests.py) is failed and gives the following error message:
I opened the installed "OCC/Core/TopTools.py" file and found that it has nothing matched
TopTools_ListOfShape
. But it do have a class namedTopTools_ListOfListOfShape
. That's weird. Is it a typo bug?I'm using MacBookPro with M1Pro and macOS 14.3, python3.9, pythonocc-7.7.2 (I git cloned this repo and checkout to c8f1d571 which is tagged with 7.7.2), opencascade-7.7.2_3, and SWIG-4.2.1.