I new to scripting in maya, but I've bee having a problem with importing my rig library into maya. I created a Maya.env file into my maya 2019 folder. I wrote: PYTHONPATH = c:\(the path to my rig library) then I when to my script editor to import my library but I get an error: ImportError:file,maya console. line 1: No module named rigLib.
I can import the library by appending my file location to sys.path but I can't use the Maya.env file that I created to do the same. Any advice would be helpful!