-
Notifications
You must be signed in to change notification settings - Fork 10
Question about relative imports #12
Copy link
Copy link
Open
Description
I was trying to debug following plugin.
It works when simply imported inside Fusion360. But when running from PyCharm, it errors out with
attempted relative import without known parent.
On lines in octoFusionCommand.py or OctoFusion_Old.py containing the following imports:
from .packages import requests,
from ....packages import requests,
from .Fusion360CommandBase import Fusion360CommandBase etc
In the end, I was able to import those modules by removing dots in front of the modules names.
Do you think the issue is related to Python version or FusionIdea plugin? I am trying to figure out how all of this works.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels