I'm sure this is obvious to most, but I wanted to make sure to point out
that this extra complication with compiled python extensions is referring
to a Windows environment. The other available platforms don't really share
this same level of complication with needing to match a compiler that was
used for the specific Autodesk python.
Just making sure to identify the platform specific responses from the
general ones.
 On 9/10/2014 12:06 AM, "Jack Straw" <[email protected]>
wrote:

> 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, [email protected] 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 <[email protected]> wrote:
>>
>>> ill check that out Kev, thanks
>>>
>>> On Mon, Sep 22, 2014 at 5:09 PM, <[email protected]> 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 [email protected].
>>>> 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
>>> [email protected]
>>> [email protected]
>>> www.toddwidup.com
>>>
>>
>>
>>
>> --
>> Todd Widup
>> Creature TD / Technical Artist
>> [email protected]
>> [email protected]
>> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/8e425663-7f0b-452c-b889-247bd627d045%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/8e425663-7f0b-452c-b889-247bd627d045%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/CAPGFgA35SW_E7RYsj_Th-k%3Dud6McirbxPrJtfS%3D_kdgFsayR5Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to