- 博客(5)
- 收藏
- 关注
转载 (完美解决)No module named ‘pymysql‘
看了好多解决的办法 这个是最全的 做一个记录 转:https://blog.youkuaiyun.com/forrestku/article/details/848466561.成功安装mysql,3.0版本的执行命令:pip3 install pymysql2.执行导入mysql时报错:No module named 'pymysql3.查看mysql是否安装成功:pip list ,发现列表中已成功显示 PyMySQL4.查看pycharm,发现External Libaries下的site-pack
2020-12-08 00:55:47
1943
原创 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
105
原创 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
234
原创 解决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/hosts151.101.76.133 raw.githubusercontent.com...
2020-10-31 17:47:45
670
原创 linux-centos7断电导致generating /run/initramfs/rdsosreport.txt 问题
开机就进入命令窗口,窗口提示信息如下:generating “/run/initramfs/rdsosreport.txt”entering emergencymode. exit the shell to continuetype “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
996
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人