我正在运行Ubuntu 14.04,并且刚刚手动安装了Python3.6(下载tar文件)。我已经有Python2.7和Python3.4与默认的Python2.7了。使用Python3.6,除了我运行
之外,其他一切似乎都还可以import curses
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.6/curses/__init__.py", line 13, in <module>
from _curses import *
ModuleNotFoundError: No module named '_curses'
运行
sudo apt-get install libncurses-dev
sudo apt-get install libncursesw5-dev
没有工作,也没有
pip3.6 install libncurses-dev
如何在python3.6中安装curses模块?