Maya 2017 crash on starup because of PYTHONPATH

Maya 2017 crash on starup because of PYTHONPATH

Anonymous
Not applicable
822 Views
3 Replies
Message 1 of 4

Maya 2017 crash on starup because of PYTHONPATH

Anonymous
Not applicable

Hello,

 

I'm on Maya 2017 Linux, and when I add 

export export PYTHONPATH=$PYTHONPATH:/usr/lib64/python2.7/site-packages/
 to my .bashrc Maya crashes immediately on startup. I've tried using sys.path.append to simply add this in during the script's runtime, but that does not work. Any help would be appreciated. Also, I am not admin of my system so please don't suggest a clean install of maya haha. I have also tried a new prefs folder but it was still crashing.
 
Chris
823 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable

If anyone has this issue I've made a quick workaround by just calling a helper shell script that does the export PYTHONPATH and then runs the .py I was trying to use in the first place. But this seems like a bug still. 

0 Likes
Message 3 of 4

Anonymous
Not applicable

If anyone has this issue I've made a quick workaround by just calling a helper shell script that does the export PYTHONPATH and then runs the .py I was trying to use in the first place. But this seems like a bug still. 

0 Likes
Message 4 of 4

ckrause
Advocate
Advocate

By any chance do you have PySide2 in your site-packages? I just ran into this today and it seemed like the PySide2 package in my external python interpreter was causing the conflict.

0 Likes