我一直在嘗試使用命令“pip install windows-curses”安裝curses模塊,但它似乎不起作用,并且錯誤地說:
ERROR: Could not find a version that satisfies the requirement windows-curses (from versions: none)
ERROR: No matching distribution found for windows-curses
[編輯:我正在使用 python 3.10]
之后我使用 pip 安裝了請求包,但似乎安裝得很完美。所以,pip 作業正常,只是不是 Curses 模塊。這是我的問題還是這個包實際上不可用?
uj5u.com熱心網友回復:
目前 windows-curses 的最新版本是2.2.0,它提供了 Python 3.6-3.8 的輪子,沒有源代碼。
您很可能使用 Python 3.9 或 3.10(您應該在問題中指出)。要使用 windows-curses,您需要降級。您也可以從https://www.lfd.uci.edu/~gohlke/pythonlibs/#curses下載輪子
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/357868.html
