On Mon, Apr 20, 2015 at 5:26 PM, Anthony Tan <[email protected]>
wrote:
> there's something squiffy about your maya pathing
I agree. I think this is just a pathing issue.
@Crest, run this bit of code from maya and tell me if you find NSUV. Feel
free to paste back the results:
import osimport sys
for path in sys.path:
test_path = os.path.join(path, "NSUV")
if os.path.exists(test_path):
print "NSUV found: %s" % test_path
else:
print "No NSUV found at %s" % path
Note: this code roughly represents what python does under the hood when you
use "import whateva". The sys.path is just a list of paths to search.
Components of PYTHONPATH are injected when python is *first* initialized.
Cheers,
Jesse
--
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/CANESWi0tzEaP0ro-j0uEg5icVyuXAbZaaGb2dC_ArE_ENQ0xBA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.