-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ModuleNotFoundError: No module named 'OCC.Core' #97
Comments
Pleas use our custom fork (BTW: 0.18.2 is the minimum required version): The easiest way to install is using conda:
|
Unfortunately not so easy due to packaging compliance issues. Any plans to use the standard (non-forked) version? Or vice versa - any plans to push your patches to pythonocc upstream? |
The upstream is currently working hard on 0.19 - shall be released pretty soon. |
Interesting @dumblob , I did not know that. Will definitely take a look. Regarding the issue, what is the exact complaint? You cannot use our custom build? FYI: the long term plan was to roll out our own bindings (cf. https://github.com/CadQuery/pywrap ). |
True, I can't 😢. The point is to be as much compatible with any upstream as possible as upstream stuff is usually already compiled, tested and available in distributions. Conda is unfortunately known as a package management system which doesn't play well (unlike npm, pip, go, etc.) with existing distribution package systems. I don't want to advocate immediately changing conda, but just point out that it's a bit unfortunate choice for CadQuery in my opinion. Maybe #70 could be the solution (Flatpak is being adopted by important players like RedHat, elementary OS, Ubuntu, etc.).
Didn't know about that. Looks clean. But is it necessary (in terms of burning resources on that)? Maybe we could ask @rainman110 about their future plans with https://github.com/tpaviot/pythonocc-core/ whether any mutual alignment could be found. |
I see a 0.18.2 release here as of 7 hours ago. Does that work with this project? |
The swig generate modules were moved into the Core subpackage in the 0.18 release. If there is no OCC.Core, you probably have an older pythonocc release. All release management and major decisions and development directions are made by @tpaviot. I am solely interested in having a pythonocc version running for DLRs Tigl software. The conda packages a primarily made for the Tigl users to give a best possible user experience. That our repo has become the major source for pythonocc users is something else. We, the Tigl developers, will keep conda packages, as there is no comparable other way for the distribution. A possible alternative for Linux are distribution dependent packages, that play well with the native package manager. Everything else is probably doomed to fail - or again similar to conda and brings its own ecosystem and libraries. I am though happy to get ideas about other package management and distribution solutions. |
We will most likely move to custom OCC bindings. |
I've tried to use CQ editor with
pythonocc 0.18.1
(I'm runningpython 3.7.4
, but it fails with the following error:It seems to be, that OCC.Core was removed after deprecation from pythonocc. Might it be the case, that CQ editor didn't accommodate to this change yet?
This effort is due to packaging for Arch Linux.
The text was updated successfully, but these errors were encountered: