Community
Maya Programming
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya SDK topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Installing pip on Mayapy

1 REPLY 1
Reply
Message 1 of 2
ltamburelliMDUMN
1168 Views, 1 Reply

Installing pip on Mayapy

ltamburelliMDUMN
Explorer
Explorer

Currently having a small issue with downloading/installing pip on Mayapy on a Mac. I cannot seem to find a way to do it. I have tried installing it the same way you would with python, as well as in the way it's shown in Autodesk Mayas website, however neither of these ways have worked out for me. and all I get in return is an invalid syntax error.

 

Here's where the website demonstrates how to do it:

 

https://help.autodesk.com/view/MAYAUL/2022/ENU/?guid=GUID-72A245EC-CDB4-46AB-BEE0-4BBBF9791627

 

Does anyone know how I can install pip and not get this syntax error?

0 Likes

Installing pip on Mayapy

Currently having a small issue with downloading/installing pip on Mayapy on a Mac. I cannot seem to find a way to do it. I have tried installing it the same way you would with python, as well as in the way it's shown in Autodesk Mayas website, however neither of these ways have worked out for me. and all I get in return is an invalid syntax error.

 

Here's where the website demonstrates how to do it:

 

https://help.autodesk.com/view/MAYAUL/2022/ENU/?guid=GUID-72A245EC-CDB4-46AB-BEE0-4BBBF9791627

 

Does anyone know how I can install pip and not get this syntax error?

1 REPLY 1
Message 2 of 2
tkaap2
in reply to: ltamburelliMDUMN

tkaap2
Autodesk
Autodesk

I think that Maya 2022's mayapy (and mayapy2 for python2) already have pip installed.  So you shouldn't need to install it yourself.


If that isn't the case.  The link you provided shows how to use pip to install other modules.

 

This link shows how to install pip itself into python installations that don't already have it.
https://pip.pypa.io/en/stable/installation/

 

Where these instructions call python, you should substitute mayapy .  If ensurepip is already present, you can use that.  If not, you may need to download the get-pip.py script and call mayapy get-pip.py .

 

If none of that helps, please post the commands you are trying.  

0 Likes

I think that Maya 2022's mayapy (and mayapy2 for python2) already have pip installed.  So you shouldn't need to install it yourself.


If that isn't the case.  The link you provided shows how to use pip to install other modules.

 

This link shows how to install pip itself into python installations that don't already have it.
https://pip.pypa.io/en/stable/installation/

 

Where these instructions call python, you should substitute mayapy .  If ensurepip is already present, you can use that.  If not, you may need to download the get-pip.py script and call mayapy get-pip.py .

 

If none of that helps, please post the commands you are trying.  

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report