Yeah I'm on Linux and it printed this to the shell:
Failed to execute userSetup.py
Traceback (most recent call last):
File "/home/molecule/maya/2014-x64/prefs/scripts/userSetup.py", line 2,
in
import pm.core as pm
Didn't even look there for some reason, but I found the error by running
t
On Tue, Jun 10, 2014 at 9:39 AM, Kenneth Polonski
wrote:
> Yay typos.
It's always the little things. Thanks for pointing out the resolution to
help the next guy that has some unknown load issue.
I'm on windows and Maya prints the traceback to the output window. I
suppose on Linux/Mac it should
Alright solved it! It was one of those really stupid little things that you
don't even look for and when you find it, you realize you're an idiot. I
was importing pm.core instead of pymel.core in my local userSetup and
obviously that was erroring out without printing any errors since maya
isn't
Thanks for the info Jesse.
I really can't explain why it's not reading the local userSetup.py file and
it's actually getting quite frustrating. My personal userSetup file is
located in ~/maya/2014-x64/prefs/scripts folder and my commandPorts and
everything don't work at all now since it wont lo
*sitecustomize.py* is sourced by python each time the interpreter starts
up. Python will search the PYTHONPATH the first sitecustomize file found.
Immediately after it will search the same set of paths for
usercustomize.py. Both are meant to help you dynamically change your python
environment, thou
Hi Kenneth,
I believe you should be able to use a usercustomize.py which will be loaded
just after sitecustomize.py.
Also, you can load both a userSetup.mel and a userSetup.py. Mind you,
userSetup.py is called later than userSetup.mel and cannot perform all
commands that userSetup.mel can perform…
Hey everyone,
So I've recently written a custom menu with some pipeline tools for the
company I work for. Basically my workflow to load it is the following:
1. PYTHONPATH env variable is set with maya wrapper script.
2. sitecustomize.py file is loaded and appends my module's path to the