In article <[email protected]>, Tony Cappellini <[email protected]> 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, [email protected] _______________________________________________ Pythonmac-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
