Community
Maya Animation and Rigging
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya animation topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Maya is not reading my Maya.env file

0 REPLIES 0
Reply
Message 1 of 1
Anonymous
377 Views, 0 Replies

Maya is not reading my Maya.env file

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!

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report