File "C:\Users\user\AppData\Local\Programs\Python\Python37-32\lib\site-packages\unicurses.py", line 43, in import curses # see if the platform supports curses natively File "C:\Users\user\AppData\Local\Programs\Python\Python37-32\lib\curses\__init__.py", line 13, in from _curses import * ModuleNotFoundError: No module named '_curses'**
事实上我没有找到任何pdcurses.dll,但它甚至没有放在我下载的文件中。
我像所有人一样从基本安装程序安装了Unicurses,然后将pdcurses下载的内容转发到主python文件夹中。我在Windows 7.编辑:使用pip install windows-curses命令安装了使用pip的curses但是现在我尝试在cmd上运行时出现黑屏
你必须下载pdcurses.dll并将其放在你的文件夹中。它很容易在线获取。早些时候它只在一个网站上 - 蟒蛇基金会发布它的网站,但现在有很多网站