Hey
# # OSError: Cannot find maya documentation. Expected to find it at C:\Program Files\Autodesk\Maya2023\docs\Maya2023\en_US
import pymel.core as pm
Any idea how to fix/skip this? Its throwing mayor havoc over here. Either where can I get the docs, or how can I skip this error. Its stopping entire pipeline here.
Thanks.
That happens if PyMEL doesn't have data cached for 2023. It should already have it if you're running the version of PyMEL that Maya installs. If you've installed PyMEL manually in the past with pip then you'll need to use pip to update that copy.
@zewt Thanks for reply!
Maya 2023, does not come with any pymel. It offers to install it for me, which I did. But it did not download these doc files/etc.
How do I fix this?
Autodesk changed how they ship pymel back in eee 2020? Or 2021, ever since they did that there were problems. feels like massive regression of stability
Ok I've gone with
```mayapy -m pip install "pymel>=1.2.,<1.3."```
Looks like the defaultt ver that installs is wrong one, ehhh
The same problem is happening to me, with Maya 2024. And the compatible version is 1.4.0. What should I do?
[EDIT] For anyone with the same issue, the steps here solved it for me:
https://www.autodesk.com/support/technical/article/caas/tsarticles/ts/6gfZgdPquwZ2qCVxfAkb1n.html
I'm getting the same with Maya 2024:
Cannot find maya documentation. Expected to find it at C:\Program Files\Autodesk\Maya2024\docs\Maya2024\en_US
I installed PyMel to Maya 2024 using the cmd:
C:\Program Files\Autodesk\Maya2024\bin>mayapy -m pip install --user pymel
I have Maya 2023 installed with PyMel 1.4. The 2023 version has been running fine. Is this a versioning issue? Anyone got any ideas?