How can I install Python modules programmatically / through a Python script?
问题 Can I download and install Python modules from PyPi strictly inside a script, without using a shell at all ? I use a non-standard Python environment, Autodesk Maya\'s Python interpreter. This does not come with \"easy_install,\" and there is no \"shell,\" only a python script interpreter invoked by the main Maya executable. Copying and pasting ez_setup.py\'s contents into the script editor window and running it correctly installs an easy_install somewhere into Maya\'s directory, but the