- 博客(5)
- 收藏
- 关注
转载 (完美解决)No module named ‘pymysql‘
看了好多解决的办法 这个是最全的 做一个记录 转:https://blog.csdn.net/forrestku/article/details/84846656 1.成功安装mysql,3.0版本的执行命令:pip3 install pymysql 2.执行导入mysql时报错:No module named 'pymysql 3.查看mysql是否安装成功:pip list ,发现列表中已成功显示 PyMySQL 4.查看pycharm,发现External Libaries下的site-pack
2020-12-08 00:55:47
1972
原创 WARNING: IPv4 forwarding is disabled. Networking will not work.
WARNING: IPv4 forwarding is disabled. Networking will not work. vi /etc/sysctl.conf # 新增一行 net.ipv4.ip_forward=1 # 重启network服务 systemctl restart network # 查看是否修改成功 sysctl net.ipv4.ip_forward (返回为“net.ipv4.ip_forward = 1”,表示成功) ...
2020-11-22 19:35:25
114
原创 python安装ipython指定阿里云
[root@pythonbin]#pip3 install --upgrade pip -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com [root@pythonbin]#pip3 install ipython -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
2020-11-01 19:16:32
247
原创 解决GitHub的raw.githubusercontent.com无法连接问题
解决GitHub的raw.githubusercontent.com无法连接问题 https://site.ip138.com/raw.Githubusercontent.com/ 输入raw.githubusercontent.com 查询IP地址 修改hosts Ubuntu,CentOS及macOS直接在终端输入 vi /etc/hosts 151.101.76.133 raw.githubusercontent.com ...
2020-10-31 17:47:45
688
原创 linux-centos7断电导致generating /run/initramfs/rdsosreport.txt 问题
开机就进入命令窗口,窗口提示信息如下: generating “/run/initramfs/rdsosreport.txt” entering emergencymode. exit the shell to continue type “journalctl” to view system logs. you might want to save “/run/initramfs/rdsosreport.txt” to a usb stick or /boot after mounting them a
2020-10-31 13:05:52
1011
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人