If the package is pure python, no cpython extensions and compiled files, they should work correctly by just including them in your python path. But if they do have cpython components like numpy or PyOpenGL you will have to compile it for the instance of python that inside Maya and not use a binary installer. Now this is actually way harder than you would think because Autodesk compile their version of python with a different version of MSVC than the standalone Python environment (Python 2.7 standalone uses MSVC 2008, Maya 2013 uses 2.6.4 compiled with MSVC 2010 SP1, Maya 2014 uses 2.7.3 compiled with MSVC 2010 SP1 again and Maya 2015 uses 2.7.3 again but compiled with MSVC 2012 Update 4). Also pretty much all python packages that are compiled are only set up for MSVC 2008 and heavy modification of build scripts are required to get it to work.
Basically, if you can, run the scripts though subprocess in the standalone python so you can use those nice easy binary package installers then read the output back in to the python in Maya. Otherwise good luck with trying to compile it in and give me a shout if you get stuck, I have had to do a couple, normally DB access libs. On Tuesday, 23 September 2014 19:08:10 UTC+1, todd....@gmail.com wrote: > > ah, this looks like it..I was on source install, because for some reason > our person who handles this hasn't downloaded the SPs..trying sp4 out now > > On Mon, Sep 22, 2014 at 10:56 PM, Todd Widup <todd....@gmail.com > <javascript:>> wrote: > >> ill check that out Kev, thanks >> >> On Mon, Sep 22, 2014 at 5:09 PM, <kevco...@gmail.com <javascript:>> >> wrote: >> >>> I needed to download and install Sp4 before some of the modules I seemed >>> to be missing would load. Not really sure if that the problem your having. >>> >>> -- >>> 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 >>> <javascript:>. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/python_inside_maya/6ccbf73e-2643-4083-8f4a-0db7a4ed4c69%40googlegroups.com >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> Todd Widup >> Creature TD / Technical Artist >> to...@toddwidup.com <javascript:> >> todd....@gmail.com <javascript:> >> www.toddwidup.com >> > > > > -- > Todd Widup > Creature TD / Technical Artist > to...@toddwidup.com <javascript:> > todd....@gmail.com <javascript:> > www.toddwidup.com > -- 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/8e425663-7f0b-452c-b889-247bd627d045%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.