pivy problem in debian testing

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
rynn
Posts: 470
Joined: Tue Jul 31, 2018 7:00 am

pivy problem in debian testing

Post by rynn »

I managed to compile freecad from git on debian-testing, but A2plus does not work.
I had to build pyside2 and pivy packages, as they are not (yet) in debian testing.

Seems to be some initialisation-problem with pivy/coin.
Any idea?

Code: Select all

cannot import name '_coin' from partially initialized module 'pivy' (most likely due to a circular import) (/usr/lib/python3/dist-packages/pivy/__init__.py)
Traceback (most recent call last):
  File "<string>", line 66, in Initialize
  File "/home/berberic/.FreeCAD/Mod/A2plus/a2p_constraintDialog.py", line 34, in <module>
    import a2p_constraints
  File "/home/berberic/.FreeCAD/Mod/A2plus/a2p_constraints.py", line 44, in <module>
    from a2p_viewProviderProxies import ConstraintObjectProxy, ConstraintViewProviderProxy
  File "/home/berberic/.FreeCAD/Mod/A2plus/a2p_viewProviderProxies.py", line 26, in <module>
    from pivy import coin
  File "/usr/lib/python3/dist-packages/pivy/__init__.py", line 30, in <module>
    from .coin import SoDB, SoNodeKit, SoInteraction
  File "/usr/lib/python3/dist-packages/pivy/coin.py", line 21, in <module>
    from . import _coin
Post Reply