All pastes #2066413 Raw Edit

No os module for Cygwin Python?

public text v1 · immutable
#2066413 ·published 2011-05-22 00:40 UTC
rendered paste body
Devin Jeanpierre@LAPTOPDJ ~
$ python
'import site' failed; use -v for traceback
Python 2.4.3 (#1, May 18 2006, 07:40:45)
[GCC 3.3.3 (cygwin special)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named os
>>> import OS
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named OS
>>> import Os
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named Os
>>>
KeyboardInterrupt
>>>

Devin Jeanpierre@LAPTOPDJ ~
$ python -v
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
'import site' failed; traceback:
ImportError: No module named site
Python 2.4.3 (#1, May 18 2006, 07:40:45)
[GCC 3.3.3 (cygwin special)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>>