-
Notifications
You must be signed in to change notification settings - Fork 47
circular import error #103
Copy link
Copy link
Open
Description
I've just cloned and installed coin, I then cloned and installed pivy.
trying to import pivy gives.
python
Python 3.10.6 (main, Nov 14 2022, 16:10:14) [GCC 11.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
import pivy
Traceback (most recent call last):
File "", line 1, in
File "/home/chris/github/pivy/build/pivy/init.py", line 30, in
from .coin import SoDB, SoNodeKit, SoInteraction
File "/home/chris/github/pivy/build/pivy/coin.py", line 21, in
from . import _coin
ImportError: cannot import name '_coin' from partially initialized module 'pivy' (most likely due to a circular import) (/home/chris/github/pivy/build/pivy/init.py)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels