Open AtomicCones opened 1 year ago
Thanks for the detailed report (and also for updating it once you found answers!) it's appreciated.
Yes from Maya 2023 onwards Autodesk decided to not include PyMEL by default. I have some in progress work to solve this automatically, but I should update the documentation here to reflect that from 2023 some additional steps are needed when installing.
Likewise, Python 3 is the default in more recent versions of Maya and I should update the install documentation (or just provide a pre-made shelf to install).
Thanks for the detailed report (and also for updating it once you found answers!) it's appreciated.
Yes from Maya 2023 onwards Autodesk decided to not include PyMEL by default. I have some in progress work to solve this automatically, but I should update the documentation here to reflect that from 2023 some additional steps are needed when installing.
Likewise, Python 3 is the default in more recent versions of Maya and I should update the install documentation (or just provide a pre-made shelf to install).
Well, that's the thing I don't understand, I have a script from some Japanese coder for proper circularise functions etc. His used Python and had the same PyMEL error issue, but when it said a fix was to make sure it was ticked in installation / re-install and actually tick it. I just downloaded the packages separately and it worked. So I was super confused when I saw it pop up again with this, and thus went to solution 2 of doing it via the console and other black magic listed above. my only presumption as to why they might of reacted differently in the end is that his was just 2 script py files that talked to each other for other functions. where as yours is, some form of complex folders and multiple scripts that I decided to not lose my brain cells in with another unknown language.
Any new about this issue? Having it with maya 2024 - partially solved by brute-installing pymel but its pretty obnoxious to use
There is no bug to fix here, you can blame Autodesk for bundling PyMEL with Maya for 10+ years resulting in it being heavily relied upon... then deciding one year they won't do that anymore and don't care if it breaks everyone's stuff.
It is covered in the Maya docs: https://help.autodesk.com/view/MAYAUL/2024/ENU/?guid=GUID-2AA5EFCE-53B1-46A0-8E43-4CD0B2C72FB4
After installing the Maya version into the Maya Script folder, and then creating a button on the shelf with the command to run the io_pdx_mesh plugin, I was presented with error 1, as stated in the title "No module named 'pymel'" on line x" after attempting to then understand Python, managed to resolve it, but was presented with both errors 2 and 3, "Consider adding this directory to PATH", and "name error 'reload' is not defined". I have personally resolved all 3, so below will be how I fixed them, won't be assisting others as I have limited knowledge in this field (doing in baby steps as well if anyone else lacks even less knowledge), just bringing this to light for anyone that might have got stuck like me, as well as for the developer of course.
Error 1:
cd C:\Program Files\Autodesk\Maya2023\bin
.\mayapy.exe -m pip list
. You will then be presented with a list of things and proceeding with there version number. if "pymel" is not listed, well then there is your first problem. However, if it is, it MIGHT be out of date / different odd version that this project doesn't like, I don't know, I just told it to update to 1.3.1 (was running 2.7.1 or something).\mayapy.exe -m pip install pymel
.\mayapy.exe -m pip install --upgrade pip
. But personally for me, for some reason that didn't work, so I forced it to install a version that apperntally worked via this video, which wasmayapy -m pip install pymel==1.3.1
Error 2
C:\Users\[PC USERNAME]\AppData\Roaming\Python\Python39\Scripts
Error 3
import imp
Line 2:import io_pdx_mesh;imp.reload(io_pdx_mesh)