

Import maya.cmds and start typing a command. Click OK and confirm and close out of all settings windows.C:\Program Files\Autodesk\Maya2019\Python\Lib\site-packages.Remove the Maya's site-packages path to avoid conflicts with the stub files.



Confirm the mayapy interpreter is selected now and click OK.C:\Program Files\Autodesk\Maya2019\bin\mayapy.exe) Browse and select your mayapy executable (e.g.Click the "." button to browse for a new one.In the Add Python Interpreter window, click the System Interpreter tab.Click the gear icon on the far right and then the "Add." option.Under the Project group, click on the Python Interpreter tab.As a system interpreter, you can easily use it across P圜harm projects. You'll want to setup mayapy as a system interpreter within Maya. Setup the mayapy interpreter within P圜harm You can keep the complete devkit installed somewhere else and reference it from there if you prefer.C:\Program Files\Autodesk\Maya2019\devkit Copy the folder named "other" from within and paste it into the devkit folder of your Maya installation For autocomplete, you'll just need a folder from the devkit called "other".Search for the devkit for your Maya version towards the bottom of Autodesk's Maya Development Center page.Prepare the devkitįor autocomplete, you'll need to download the Autodesk Maya devkit to get the python stubs. Let's take a look at how to set up autocomplete and external documentation in P圜harm for maya.cmds and the Maya API (OpenMaya) to help speed up your development.
