Justin Israel <mailto:[email protected]>
Monday, April 04, 2016 7:55 PM


On Tue, Apr 5, 2016 at 11:53 AM Crest Christopher <[email protected] <mailto:[email protected]>> wrote:

    my_python_stuff folder as you have in your system; is stated in
    PYTHONPATH in your Maya.env file, correct ?


Did my paste of the contents of Maya.env show that I had that path set? No. If you read it, the only contents of Maya.env are matching what you said you do, which is to set PYTHONPATH="" (empty string) for whatever reason.
If I didn't mention to put a path in the PYTHONPATH in your Maya.env file that was my fault, but I did mean opposite of what you had done, in other words, put a path for the variable PYTHONPATH in your Maya.env file.

That is where you test and what I have setup differentiate.
The only place where my custom path is really added is in the userSetup.mel
Correct me if I'm wrong, the userSetup file regardless Python or MEL extension contains the path for the Python Modules for which Python scripts can locate the modules, is that not how that should function ?

    And within the folder on your system 'my_python_path' you have a
    few python scripts to which when running the correct command for
    those scripts in Maya, those scripts execute ?


Within my /tmp/my_python_path I have various scripts. One of those scripts is called "stuff.py"
From within Maya's Script Editor, I am able to do:

import stuff
stuff.do()




    Justin Israel <mailto:[email protected]>
    Monday, April 04, 2016 7:49 PM


    On Tue, Apr 5, 2016 at 11:43 AM Crest Christopher
    <[email protected] <mailto:[email protected]>>
    wrote:

        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 ?


    I'm not recording a video to show you the contents of two files.
    If you read the history of this thread you will see my reply
    where I explained the contents of the two files in actual text.

    I will even save you the trouble of scrolling through the history
    and repaste in simpler text than before:

    **2015-x64/Maya.env**
    PYTHONPATH=""

    **2015-x64/scripts/userSetup.mel**
    python("import sys; sys.path.append('/tmp/my_python_stuff')");



        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]
        <mailto:[email protected]>.
        To view this discussion on the web visit
        
https://groups.google.com/d/msgid/python_inside_maya/5702FC14.3020706%40gmail.com
        
<https://groups.google.com/d/msgid/python_inside_maya/5702FC14.3020706%40gmail.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/CAPGFgA0f7wOLyQcW_BMcXp1xbODQbj1-ui8ftfip8dbvLx5wKA%40mail.gmail.com
    
<https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA0f7wOLyQcW_BMcXp1xbODQbj1-ui8ftfip8dbvLx5wKA%40mail.gmail.com?utm_medium=email&utm_source=footer>.

    For more options, visit https://groups.google.com/d/optout.
    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]
    <mailto:[email protected]>.
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/python_inside_maya/5702FE60.5000303%40gmail.com
    
<https://groups.google.com/d/msgid/python_inside_maya/5702FE60.5000303%40gmail.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/CAPGFgA3hgweAg_prVaSGFWZNkCoVG5U%2BG-FUeCNR4j8NXQFLJA%40mail.gmail.com <https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA3hgweAg_prVaSGFWZNkCoVG5U%2BG-FUeCNR4j8NXQFLJA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
Justin Israel <mailto:[email protected]>
Monday, April 04, 2016 7:49 PM


On Tue, Apr 5, 2016 at 11:43 AM Crest Christopher <[email protected] <mailto:[email protected]>> wrote:

    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 ?


I'm not recording a video to show you the contents of two files. If you read the history of this thread you will see my reply where I explained the contents of the two files in actual text.

I will even save you the trouble of scrolling through the history and repaste in simpler text than before:

**2015-x64/Maya.env**
PYTHONPATH=""

**2015-x64/scripts/userSetup.mel**
python("import sys; sys.path.append('/tmp/my_python_stuff')");



    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]
    <mailto:[email protected]>.
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/python_inside_maya/5702FC14.3020706%40gmail.com
    
<https://groups.google.com/d/msgid/python_inside_maya/5702FC14.3020706%40gmail.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/CAPGFgA0f7wOLyQcW_BMcXp1xbODQbj1-ui8ftfip8dbvLx5wKA%40mail.gmail.com <https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA0f7wOLyQcW_BMcXp1xbODQbj1-ui8ftfip8dbvLx5wKA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
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/5703000C.9060804%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to