platform.machine(): ImportError: No module named select

Ali H. Caliskan ali.h.caliskan at
Wed Apr 15 20:25:26 CEST 2009


I'm trying to use "platform.machine()" function, but it doesn't work on
python 3.0.1. Am I doing something wrong here or is it suppose to not work
on py3k? The errors I get while using the python interpreter:

>>> import platform
>>> platform.machine()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/lib/python3.0/", line 1222, in machine
    return uname()[4]
  File "/opt/lib/python3.0/", line 1152, in uname
    processor = _syscmd_uname('-p','')
  File "/opt/lib/python3.0/", line 905, in _syscmd_uname
    f = os.popen('uname %s 2> /dev/null' % option)
  File "/opt/lib/python3.0/", line 629, in popen
    import subprocess, io
  File "/opt/lib/python3.0/", line 361, in <module>
    import select
ImportError: No module named select

Kind regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list