- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to run this example. : https://help.autodesk.com/view/MAXDEV/2022/ENU/?guid=MAXDEV_Python_tutorials_creating_the_dialog_htm...
Everything works fine until "Wait, I see problems with my import statements" section.
Even if I follow those steps, I am still seeing import error, like this:
Is this normal case? I tried to change "python interpreter" to the max's python with this way:
and then my problem disappears but this time vs code can't detect PySide2 module:
plus pyside's "autocomplete" tool is gone. I can't see pymsx's intellisense either way.
I added this code in settings.json but example using 2021's path. Should I install max 2021?
"python.pythonPath": "C:\\Program Files\\Autodesk\\3ds Max 2022\\Python37\\python.exe",
"python.autoComplete.extraPaths": ["C:\\Program Files\\Autodesk\\3ds Max 2022\\Python37"]
at the end I want to see this in vs code as well:
Solved! Go to Solution.