1. 查看本机是否安装python
python -version
2. 查看安装位置
import sys
sys.executable
3.更新pip:
python -m pip install --upgrade pip
4.使用国内豆瓣镜像
pip install wxPython -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com #可视化界面
pip install Kivy -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com #kivy是一个开源工具包能够让使用相同源代码创建的程序能跨平台运行,主要关注新型用户界面开发,比如多点触摸程序
pip install Flexx -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com #flexx用来创建图形化界面应用程序,科使用web技术进行界面渲染
pip install Pywin32 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com #容许你像VC一样的形式来使用Python开发win32程序
pip install Pygame -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com #游戏模块
pip install xlrd -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com #表格读取
pip install xlwt -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com #表格写入
–trusted-host pypi.douban.com 这是为了获得ssl证书的认证,要不然会报错
评论列表
发表评论