我刚开始做一个Python项目,并决定使用PyDev。但是,当我输入import termios
时,Eclipse/PyDev将抱怨一个未解析的导入。在
我的口译员设置:
在终端中,它可以工作:
[thomas@archbox ~]$ python3
Python 3.3.2 (default, Sep 6 2013, 09:30:10)
[GCC 4.8.1 20130725 (prerelease)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import termios
>>> termios
<module 'termios' from '/usr/lib/python3.3/lib-dynload/termios.cpython-33m.so'>
>>> from sys import stdin
>>> termios.tcgetattr(stdin)
(...)
>>>
如果这很重要的话,我使用的是ArchLinux。在
目前没有回答
相关问题 更多 >
编程相关推荐