安装完python之后,我们需要安装第三方模块来增强它的功能,在Windows系统上该方案相对简单,目前我遇到的模块安装如下:
cd /d C:\Users\Administrator\AppData\Local\Programs\Python\Python38
python.exe -m pip install --upgrade pip
pip.exe --default-timeout=100 install send2trash
pip.exe --default-timeout=100 install requests
pip.exe --default-timeout=100 install beautifulsoup4
pip.exe --default-timeout=100 install lxml
pip.exe --default-timeout=100 install selenium
pip.exe --default-timeout=100 install openpyxl
pip.exe --default-timeout=100 install PyPDF2
pip.exe --default-timeout=100 install python-docx
pip.exe --default-timeout=100 install imapclient
pip.exe --default-timeout=100 install pyzmail
pip.exe