背景:写了一个python删除mysql表中数据的脚本,在执行的时候提示如下:
安装pymysql:使用pip install 安装 pymysql,提示没有pip
安装pip:依次执行下面命令:
wget https://bootstrap.pypa.io/get-pip.py python get-pip.py
安装成功,查看pip版本:pip -V
问题解决!