In article 
<AANLkTimnOCc35=iTbuLsSLUE+iZ3Rx=3nj7w66nj1...@mail.gmail.com>,
 Tony Cappellini <cappy2...@gmail.com> wrote:
> I've installed pyserail via easy_install by -> easy_install pyserial
> 
> When I import pyserial, it cannot be found.
> 
> Looking
> at 
> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
> pyserial doesn't have a directory via the same name.
> 
> There is this pyserial-2.5-py2.7.egg however.
> 
> Is this typical for installing packages on OSX?
> Did the installer not complete?

That's what you would expect using easy_install.  Distributions get 
installed into either a directory like that or a zipfile version of the 
directory.

But, somewhat confusingly, it appears the module name is "serial". 

http://pyserial.sourceforge.net/shortintro.html#configuring-ports-later

After installing, "import serial" works for me.  I don't have a serial 
port on this machine to try anything further, though.

-- 
 Ned Deily,
 n...@acm.org

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Reply via email to