Error code follows, seems to be an issue with Maya 2022's python 3 default, and urllib2 no longer being available.
From https://docs.python.org/2/library/urllib2.html :
"The urllib2 module has been split across several modules in Python 3 named urllib.request and urllib.error. The 2to3 tool will automatically adapt imports when converting your sources to Python 3."
Error:
... installCrossPlatformGUI.mel line 1: ModuleNotFoundError: file C:\Program Files\Autodesk\Maya2022\Python37\lib\site-packages\shiboken2\files.dir\shibokensupport__feature__.py line 142: No module named 'urllib2' #
Error code follows, seems to be an issue with Maya 2022's python 3 default, and urllib2 no longer being available. From https://docs.python.org/2/library/urllib2.html : "The urllib2 module has been split across several modules in Python 3 named urllib.request and urllib.error. The 2to3 tool will automatically adapt imports when converting your sources to Python 3."
Error: ... installCrossPlatformGUI.mel line 1: ModuleNotFoundError: file C:\Program Files\Autodesk\Maya2022\Python37\lib\site-packages\shiboken2\files.dir\shibokensupport__feature__.py line 142: No module named 'urllib2' #