OmidGhotbi / MayaPolyhaven

Polyhaven / HDRI haven assets manager for maya
https://ridiculousminds.com/
Apache License 2.0
8 stars 0 forks source link

Trouble Installing PolyHaven Plugin for Maya #1

Open RaphaelRoman opened 4 days ago

RaphaelRoman commented 4 days ago

Hello. I was looking at your PolyHaven plugin for Maya on GitHub. Following the installation, I got everything set up as easily as it was written, but I got a couple of errors when clicking the shelf tool. First, I had errors for PySide2 and shiboken2 not being found. I just changed them in your files to PySide6 and shiboken6. I thought it would be fine afterwards, but I'm now getting this error:

Error: PermissionError: file E:\03 Creative/Animation/DCC/Maya/Plugins/PolyHaven\get_path.py line 35: [Errno 13] Permission denied: 'settings.json'

I already made sure the directory was fully accessible, so I'm unsure what to do at this point. My other assumption is that perhaps I just need to work in an earlier version of Maya. I usually work in 2023, but I'm trying out 2025. Do you have any suggestions?

Update: I tried installing it in Maya 2023, reverted the PySide and shiboken imports. I'm stilling getting the same error as above.

OmidGhotbi commented 4 days ago

which setup steps did you follow and did you just try to run Maya as administrator? the best way and easiest is just to: 1- Unzip the Download release in C:\ for Windows user or ~/ for Mac or Linux user. The final path will be like this C:\PolyHave 2- Drag and drop shelf.py into Maya viewport, now you have Polyhaven shelf in Maya,

RaphaelRoman commented 4 days ago

I actually made a mistake on the final path. I corrected that, but I'm still having the same error now that I'm in C:/PolyHaven. I re-ran the setup.bat as well just in case. Not sure what to do from here.

OmidGhotbi commented 4 days ago

i'm pretty sure you are making a small mistake, I tested on Maya 2024 and it works without any issues. image

OmidGhotbi commented 4 days ago

maybe you have a firewall or something blocking the access ? did you try to run Maya as administrator?