- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Just starting to learn Python and the learning resources I am using are all 2.7 but the mayapy.exe included with Maya 2020 is showing v3.8. I thought the vfx standard was still at 2.7 so I am a bit confused and having code incompatibility issues using this mayapy.exe with an external ide. If I check the python version in the maya script editor it does say 2.7.
Specifically I am using PyCharm using mayapy.exe 3.8 as the interpreter, I also added the context files from the devkit. If I type
print "hello"
It will underline it in red to show an error, but if I use python 3 syntax
print("hello")
It wont underline it in red.
And of course the Python 2 syntax does work correctly in Maya just not sure why the ide is doing what it's doing.
Solved! Go to Solution.