python
凌渊阁
阅读世界,阅读自己。
展开
-
[centos8] pip3 install mysqlclient时遇到OSError: mysql_config not found[python]
目的修复 OSError: mysql_config not found 问题环境centos8系统下使用pip3 install mysqlclientdjango安装mysql支持的时候,报了一下错误:OSError: mysql_config not found解决$ sudo dnf install mysql-devel...原创 2020-03-27 23:28:13 · 1334 阅读 · 0 评论 -
从No match for argument: gcc-devel 到centos8 的dnf
装了个虚拟机,centos8的系统。centos8 是REHT8的开源版,以稳定著称。自从安装后就是各种坑,网上好多帖子教程的方法在这个版本的系统上都不能正常执行。今天就遇到了这个问题:No match for argument: gcc-develNo match for argument: python-devel这个问题是在为django安装mysqlclient依赖的时候,g...原创 2020-03-27 23:15:34 · 11025 阅读 · 2 评论 -
java项目中,执行python命令或者文件
import java.io.DataInputStream;import java.io.IOException;import java.io.InputStream;public class PyCaller { public static void main(String[] args) throws IOException , InterruptedExceptio...原创 2019-01-12 15:27:19 · 716 阅读 · 0 评论 -
mac os 跨界搭建ftp服务器
1.cd到需要共享的目录2.安装Python3.python -m SimpleHTTPServer4.访问即可原创 2019-04-18 17:36:56 · 629 阅读 · 0 评论