发布于 2022-01-03 14:33:36
要安装任何python库,只需使用pip install <library_name>
(或者在linux或mac设备上使用pip3 install <library_name>
)。
在您的例子中,它是pip install pywhatkit
。
如果这些方法不起作用,请尝试pip3 install pywhatkit
。(对于mac或linux设备。)
如果这也不起作用,请尝试python -m pip install pywhatkit
或python3 -m pip install pywhatkit
。
如果它们都不起作用,最好的选择是将python重新安装到它的最新版本,并确保将python添加到路径。这是一个样本图像。
注意:有些库不工作
https://stackoverflow.com/questions/70566596
复制相似问题