如何在windows电脑上安装idlelib
?
有办法让我安装它与pip?
我使用
- Windows 7(64位)
- Windows可嵌入包(64位) Python 3.8.9
谢谢。
因为我使用的是Windows嵌入式版本,所以它没有那些花哨的东西。
D:Installedpython-3.8.9>python -m idlelib
D:Installedpython-3.8.9python.exe: No module named idlelib
D:Installedpython-3.8.9>Libidlelibidle.bat
The system cannot find the path specified.
D:Installedpython-3.8.9>pip install idle3
ERROR: Could not find a version that satisfies the requirement idle3 (from versions: none)
ERROR: No matching distribution found for idle3
D:Installedpython-3.8.9>pip install python-idlelib
ERROR: Could not find a version that satisfies the requirement python-idlelib (from versions: none)
ERROR: No matching distribution found for python-idlelib
D:Installedpython-3.8.9>pip install idlelib
ERROR: Could not find a version that satisfies the requirement idlelib (from versions: none)
ERROR: No matching distribution found for idlelib
D:Installedpython-3.8.9>python -m idlelib
D:Installedpython-3.8.9python.exe: No module named idlelib
D:Installedpython-3.8.9>python3 -m idlelib
'python3' is not recognized as an internal or external command,
operable program or batch file.
D:Installedpython-3.8.9>py -m idlelib
'py' is not recognized as an internal or external command,
operable program or batch file.
D:Installedpython-3.8.9>py3 -m idlelib
'py3' is not recognized as an internal or external command,
operable program or batch file.
D:Installedpython-3.8.9>
D:Installedpython-3.8.9>echo %PATH%
D:Installedpython-3.8.9;D:Installedpython-3.8.9Scripts;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:WindowsSystem32WindowsPowerShellv1.0;D:InstalledExecs;D:InstalledR-42-editorbinx64;D:Installedpoppler-0.68.0bin;D:InstalledJava17bin
如何在windows电脑上安装idlelib ?
。从python.org获取标准的3.10或3.11 Windows安装程序,而不是可嵌入的版本。运行它。包括pylauncher和tkinter/IDLE组件。
从命令行中使用py -m idlelib
启动IDLE,或者从开始菜单中的python子菜单中的IDLE项启动,或者从文件资源管理器中右键单击.py File,Edit with IDLE
。
。有办法让我安装它与pip吗?
。在pypi.org上可能有idlelib的替代三方版本,但是IDLE需要tkinter,而tkinter需要_tkinter,而_tkinter需要安装编译_tkinter的tcl/tk版本。这些都不在可嵌入python中。换句话说,您可以使用pip安装的任何IDLE变体都要求您已经使用标准安装程序安装了tk/tkinter/IDLE。
我不能说任何关于Microsoft Store Python的事情。