のインストールncurses
で問題が発生していPython3
ます。通常sudo apt-get install ncurses-dev
の. Python2
_Python3
ImportError: No module named curses
ncurses
で働くにはどうすればよいPython3
ですか?
のインストールncurses
で問題が発生していPython3
ます。通常sudo apt-get install ncurses-dev
の. Python2
_Python3
ImportError: No module named curses
ncurses
で働くにはどうすればよいPython3
ですか?
これを試して:
import curses
curses は ncurses です。Pythonにも組み込まれているため、インストールする必要はありません。
Welcome to Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-65-generic x86_64)
* Documentation: https://help.ubuntu.com/
Last login: Mon Oct 19 19:06:03 2015 from xxx.xxx.xxx.xxx
me@ubuntu:~$ python3
Python 3.4.0 (default, Jun 19 2015, 14:20:21)
[GCC 4.8.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import curses
>>>