That is where I think your problem is. If you have made a custom script
location, and set that as your maya script path, and placed a python
package in there, then it won't work. Maya by default has the default
script locations also on the PYTHONPATH. But in your custom Maya script
location, I doubt it too is on the PYTHONPATH. Can you do the following
from the Script Editor

import sys
for p in sys.path:
    print p

And confirm that you see the location where your NSUV python package
exists?

On Sun, 19 Apr 2015 11:08 AM Christopher. <crestchristop...@gmail.com>
wrote:

> MAYA_SCRIPT_PATH = C:\[folder name]\[sub-folder-name]\scripts
> PYTHONPATH = C:\""\""\pythonscripts\
>
> That is exactly how I have it laid out in my Maya.env file.  All script
> get placed in the scripts folder, all python scripts, get placed in the
> python folder.  In this case NSUV gets placed in the scripts folder, I have
> tested it in the python scripts folder as well with no positive results.
>
>
> On Saturday, April 18, 2015 at 4:20:17 PM UTC-4, Justin Israel wrote:
>
>> I just grabbed a copy of that Nightshade plugin and tried it. Worked
>> right away. Are you sure you followed the instructions? I just copied over
>> the contents of the bundled "scripts" directory to my Maya's scripts
>> location. I happened to put it in the shared scripts location, on my mac:
>>
>> $ ls -1 /Users/justin/Library/Preferences/Autodesk/maya/scripts
>> NSUV
>> calcUVStats.py
>> texturePanel_NSUV.mel
>> texturePanel_NSUV_2015.mel
>> textureWindowCreateToolBar_NSUV.mel
>> textureWindowCreateToolBar_NSUV_2014.mel
>> textureWindowCreateToolBar_NSUV_2015.mel
>>
>> ​
>>
>> The NSUV package gets picked up because the shared scripts location is on
>> the default Maya pythonpath
>>
>> Maybe post what your installation location looks like? I haven't tried to
>> customize my Maya.env to point specifically to this or anything. More
>> information would be helpful.
>>
>>
>>
>> On Sun, Apr 19, 2015 at 7:41 AM johan Borgström <jo...@petfactory.se>
>> wrote:
>>
>>> Maybe a missing __init__.py ?
>>>
>>> --
>>> 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 python_inside_maya+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/python_inside_maya/b51db530-6074-437e-93e0-07675264f128%40googlegroups.com
>>> .
>>> 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 python_inside_maya+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/667c64a9-f646-40be-b276-45606081541f%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/667c64a9-f646-40be-b276-45606081541f%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 python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA2XJ0VsdXq-rffkou-T22j0%2B%2BFs3K9rgfkptrSdcxk5Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to