Building PyQt5 for Maya 2022

Building PyQt5 for Maya 2022

InNeedOfHelp
Advocate Advocate
1,116 Views
1 Reply
Message 1 of 2

Building PyQt5 for Maya 2022

InNeedOfHelp
Advocate
Advocate

I'm following these steps:
https://around-the-corner.typepad.com/adn/2021/03/how-to-build-pyqt5-for-maya-2022.html

 

I believe I've done everything correctly but I'm stuck on the last step. I open a x64 Native Tools cmd window as admin. Navigate to where I unzipped 'PyQt5-5.15.4' then run the sip-install command, accept the terms, but then it just loops repeating these two permission errors:

 

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\users\main\appdata\local\programs\python\python39\lib\tempfile.py", line 801, in onerror
    _os.unlink(path)
PermissionError: [WinError 5] Access is denied: 'C:\\Users\\MAIN\\AppData\\Local\\Temp\\tmpj9671uxl'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\users\main\appdata\local\programs\python\python39\lib\shutil.py", line 620, in _rmtree_unsafe
    os.rmdir(path)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\MAIN\\AppData\\Local\\Temp\\tmpj9671uxl'

 

Tried restarting my computer and then double checking through all the steps but no luck. Is this a problem with my system or have I just done one of the steps wrong?

1,117 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

Did you ever find a solution for this? I'm running into the same issue trying to build as well.

0 Likes