python各种库安装

1、安装django

pip install django

安装成功测试:进入cmd--》输入python--》输入import django-->输入 django.get_version(),若正常显示则说明安装成功

2、更新pip

python -m pip install --upgrade pip

3、安装pymysql

pip install pymysql

出现错误:

解决办法:关掉cmd,然后用管理员权限重新打开输入pip install pymysql

参考自:https://stackoverflow.com/questions/44315943/error-installing-scrapy-error-command-c-program-files-x86-microsoft-visu

4、安装pyecharts

pip install pyecharts

5、安装pyqt

pip install pyqt5

参考自:https://www.cnblogs.com/Pan-Z/p/7093394.html

6、安装grpc

1>,更新pip到最新

pip install --upgrade pip

2>.安装grpcio包

pip install grpcio

3>.安装grpc的python工具包

pip install grpcio-tools

参考自https://www.2cto.com/net/201702/595197.html

即可安装成功

猜你喜欢

转载自blog.csdn.net/weixin_38383877/article/details/82120912
今日推荐