How can I install Python modules programmatically / through a Python script? [duplicate]

Installing easy_install for Maya on windows. Download ez_setup.py. open windows cmd elevated (start, type cmd, rmb click on it ->run as administrator) change the cmd directory to x:\maya install dir\bin example: cd c:\Program Files\MayaXX\bin execute following command mayapy x:\WhereYouSaved\ez_setup.py Now easy install should be set up properly. You may want to still do following steps: … Read more