Justin can you make a video of your Maya.env including the Maya.env,
including PYTHONPATH as well your userSetup file and what is within the
userSetup file ?
If it works for you, and it's not working for me and I'm doing exactly
the same thing as you, the only way is to do a one to one match and see
where there is a inconsistency.
Justin Israel <mailto:[email protected]>
Monday, April 04, 2016 7:37 PM
On Tue, Apr 5, 2016 at 11:15 AM Christopher.
<[email protected] <mailto:[email protected]>> wrote:
It sounds as if there is absolutely no way for the Python modules
to be loaded by a userSetup.mel or userSetup.py file and have
python scripts which rest in a custom folder/directory on a system
which are read by the Maya.env file as PYTHONPATH="". That is what
I'm beginning to extract from all the suggestions !
This is a false statement. The correct statement would be that you are
personally not finding a way to make this work. As I had previously
mentioned, I set up a similar reproduction of your configuration on my
OSX laptop and was able to set custom paths, which were visible in
sys.path within Maya.
I am not sure why it is not working for you.
As my original question stated, it worked when it was a system
environment variable, I forgot the system environment variable for
which I used to load python modules.
And so when it was working, I could throw a python script in my
PYTHONPATH as stated in my Maya.env file restart and presto it
would work.
On Monday, March 28, 2016 at 10:00:37 PM UTC-4, Christopher. wrote:
I have Python 2.6 (26) & Python 2.7 (27) installed, what is
the path used for the modules to append to a system
environment variable; C:\Python27\modules\modules ?
--
You received this message because you are subscribed to the Google
Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/cb90ca15-90fa-42e6-8466-12cbfce98970%40googlegroups.com
<https://groups.google.com/d/msgid/python_inside_maya/cb90ca15-90fa-42e6-8466-12cbfce98970%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the
Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/python_inside_maya/CzEXgn-GIaI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
[email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA3L9ryuMyHRtzFJ4%2BVz_XiyC1MQ8YViboQa0QCWY6nz7g%40mail.gmail.com
<https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA3L9ryuMyHRtzFJ4%2BVz_XiyC1MQ8YViboQa0QCWY6nz7g%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
Christopher. <mailto:[email protected]>
Monday, April 04, 2016 7:15 PM
It sounds as if there is absolutely no way for the Python modules to
be loaded by a userSetup.mel or userSetup.py file and have python
scripts which rest in a custom folder/directory on a system which are
read by the Maya.env file as PYTHONPATH="". That is what I'm beginning
to extract from all the suggestions !
As my original question stated, it worked when it was a system
environment variable, I forgot the system environment variable for
which I used to load python modules.
And so when it was working, I could throw a python script in my
PYTHONPATH as stated in my Maya.env file restart and presto it would
work.
On Monday, March 28, 2016 at 10:00:37 PM UTC-4, Christopher. wrote:
--
You received this message because you are subscribed to a topic in the
Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/python_inside_maya/CzEXgn-GIaI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
[email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/cb90ca15-90fa-42e6-8466-12cbfce98970%40googlegroups.com
<https://groups.google.com/d/msgid/python_inside_maya/cb90ca15-90fa-42e6-8466-12cbfce98970%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
Christopher. <mailto:[email protected]>
Monday, March 28, 2016 10:00 PM
I have Python 2.6 (26) & Python 2.7 (27) installed, what is the path
used for the modules to append to a system environment
variable; C:\Python27\modules\modules ?
--
You received this message because you are subscribed to a topic in the
Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/python_inside_maya/CzEXgn-GIaI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
[email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/9a38daef-9c8e-4d80-8db3-52411b381dd0%40googlegroups.com
<https://groups.google.com/d/msgid/python_inside_maya/9a38daef-9c8e-4d80-8db3-52411b381dd0%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Python
Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/5702FC14.3020706%40gmail.com.
For more options, visit https://groups.google.com/d/optout.