maya

How to install PyMel for Maya 2024, 2025 and later (SIMPLE) (Updated to include Mac)

Here is my short guide to installing PyMel for Maya 2024 and beyond. This was not necessary in previous versions because it was installed along with the rest of Maya.

For Windows…

Step 1:

Verify that Pymel isn’t installed. Copy and paste the below code as a Python script in Maya and it will give an error if PyMel isn’t installed.

import pymel.core as pm

Step 2:

Locate Maya’s Python executable. This is usually: C:\Program Files\Autodesk\Maya2025\bin\mayapy.exe

Step 3:

Open a command prompt and paste this (or replace the path if yours is different).

"C:\Program Files\Autodesk\Maya2025\bin\mayapy.exe" -m pip install pymel

Once it’s done you should see something like this image:

You should be able to restart Maya now and Pymel will be working. Run Step 1 again to confirm.

Feel free to leave a comment below if you need further help. I get emailed whenever a comment is left.

For Mac OS…

This solution comes from a Reddit thread. I have tested it on a 2021 Macbook Pro M1 with Mac OS 15.3 (Sequoia) on Maya 2024.

Open Terminal and use this code:

cd /Applications/Autodesk/maya2024/Maya.app/Contents/bin
./mayapy -m pip install pymel

Then open Maya and run this Python code:

from pymel.core import *

That’s it!