I'll recommend that you to do it at the end. If the Maya/2017/Python/Libs folder doesn't exist, you'll have to create it manually. Install them in order, using the following commands: mayapy setup.py buildĬopy the include folder inside python source into Maya2017/Python and copy Maya2017/libs/python27.lib into Maya2017/Python/Libs. Six, packaging, pyparsing, appdirs, setuptools, olefile, nose(for testing only) We are going to run build commands in this command prompt later.ĭownload the following packages from python packages: Then make a copy of mayapy.exe in the same folder renamed as python.exe. Replace Maya2017 with your Maya 2017 installation path. Set following environment variables: Path=%path% Maya2017/bin Run an VS2012 圆4 Native Tools Command Prompt with administrator privilege. Requirementsīefore we build Pillow, we need to install setup tools. For Maya 2018, please use replace building environment with VS2015 and Windows SDK 8.1. I wrote this blog for Maya 2017 at first. Because it is originally built with VC2008, we can't use the wheel package with Maya. Pillow is a Python image library with several other libraries built-in.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |