![]() Unzip the Qt include files into the include directory directly. Install PyQt-builder and PyQt5-sip with pip mayapy -m pip install PyQt-builderĭownload devkit, unzip the mkspec in the mkspec folder directly into its directory. Use mayapy to install packaging and toml. ![]() Once you've copied the libarary, please duplicate one and name it as python3.lib. You'll need to create the destination folder. set path=%path% v:\bin v:\Python37\ScriptsĬopy include\Python37\Python inside Maya2022 installation as Python37\include.Ĭopy lib\python37.lib inside Maya2022 installation to Python37\libs. If your've created a subst drive, please use the path with drive. subst v: "c:\program files\autodesk\maya2022"Īdd your maya2022\Python37\scripts and maya2022\bin to your system path. Subst your maya install folder to a dedicate drive if there is a space inside your maya installation path. Please update it with the paths on your computer. I've installed my Maya 2022 to default location and I've extracted devkit to g:\case\devkitBase\2022. If you've installed a path needs Administrator Privileges, please run 圆4 Native Tools Command Prompt for VS 2019 as Administrator. We are going to build it with VS2019 which is same as Maya 2022's developing environment on Windows. ![]() You can get them from Riverbank computing's website. For Windows and Mac, we'll still need to build it manually. ![]() This guide will only cover how to build and install PyQt5 for Maya 2022 with Python 3.Īlthough pip is shipped with Maya 2022, we can use it to install PyQt5 on Linux only. Since Python 2 is no longer supported by the Python community, we encourge you to update to Python 3. Maya 2022 is shipped with Python 3.7 and Python 2.7 on Windows/Linux. ![]()
0 Comments
Leave a Reply. |