其他分享
首页 > 其他分享> > 解决 pip: command not found

解决 pip: command not found

作者:互联网

现象

]# python3 MysqlGlobalStatus.py 
Traceback (most recent call last):
  File "MysqlGlobalStatus.py", line 3, in <module>
    import pymysql
ModuleNotFoundError: No module named 'pymysql'
[root@iZbp1aiwvqp86fj0zeapf3Z zabbix_agent2.d]# pip install pymysql
-bash: pip: command not found

解决

]# python3  /root/get-pip-3.6.py

]# pip install pymysql

标签:py,pymysql,MysqlGlobalStatus,command,install,pip,found,python3
来源: https://www.cnblogs.com/rtnb/p/16490298.html