有人知道我可以在哪里找到Python模块"contextlib"吗?
root@overo:~# python
Python 2.6.6 (r266:84292, Mar 9 2011, 10:05:36)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import contextlib
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named contextlib
我个人没有编译过Python。我只是陷入了这个困境。它运行在基于ARM的CPU上,所以可能为了节省空间而省略了一些东西。
我运行了find / | grep contextlib
,但没有结果。
我能否从某个地方下载这个模块,然后直接放到/usr/lib/python2.6中?这样可以吗?