On Mon, Feb 13, 2017, 9:17 AM Mathew Schwartz <[email protected]> wrote:

> Well when trying to import serial, maya returns no package.  I was able to
> copy the serial library from my python version into maya's site-packages
> library.  Is maya looking at the pythonpath?  In 2011 or 2012
>

Yes. Most people usually modify their Maya.env or userSetup.py to update
the PYTHONPATH to include external locations. You should look at updating
that so your pure python packages can be imported

I had been using numpy with maya, and the next version stopped working.
> Has there been a different implementation now?
>

Numpy is a different story because it is a compiler extension which has to
match Maya (and even a bit more restrictive if you are on Windows)


> Thanks,
> Mat
>
> On Thu, Feb 9, 2017 at 7:22 PM, Justin Israel <[email protected]>
> wrote:
>
> Is it a pure python library? It looks to be so, from a quick glance. Is
> there anything currently limiting you from just making sure its on your
> PYTHONPATH so it can be imported? I'm not sure why you would need a "maya
> python" version of it.
>
> Justin
>
> On Fri, Feb 10, 2017 at 11:10 AM Mathew Schwartz <[email protected]>
> wrote:
>
> Is there a way to install pySerial in Maya 2016?  I am trying to use
> 'import serial' as I have some project I would like to have reading data
> coming in.  It seems in the past there was so ways to install a maya python
> version, are there any updates?
>
> Thanks,
>
> Mat
>
> --
> 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/CADiWwnTbwFHMQkLRXC7EXhrSqHgTdoaXZhnzdp0jnVv4DqOYqQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/python_inside_maya/CADiWwnTbwFHMQkLRXC7EXhrSqHgTdoaXZhnzdp0jnVv4DqOYqQ%40mail.gmail.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/CAPGFgA3J8_xT1Dtzv6ajdkCxvUeyVJHmXLfWj4NjOzfC%3D59syg%40mail.gmail.com
> <https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA3J8_xT1Dtzv6ajdkCxvUeyVJHmXLfWj4NjOzfC%3D59syg%40mail.gmail.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/CADiWwnR%3DVxNTKT%3D3cbF%2BL5s%2BU%3Dg4F7S%2BVmTywj48X2UGdxHMmA%40mail.gmail.com
> <https://groups.google.com/d/msgid/python_inside_maya/CADiWwnR%3DVxNTKT%3D3cbF%2BL5s%2BU%3Dg4F7S%2BVmTywj48X2UGdxHMmA%40mail.gmail.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/CAPGFgA3k3MVP9DqBJiaFAJzXegTbQ%2BYwSHWSg9ytabVK0DBzjw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to