首先,在搜索栏输入cmd,找到命令提示符
在后面输入Python -m pip install 模块名
如下:
C:\Users\14687>Python -m pip install stemming
若出现ReadTimeoutError: HTTPSConnectionPool(host=‘files.pythonhosted.org’, port=443): Read timed out.报错,可以在后面加上 -i https://pypi.doubanio.com/simple