发布时间:2019-07-15 10:48:02编辑:auto阅读(2216)
本来很简单的东西,因为安装了mysql5.7
执行以下几步
1.wget 2.cd MySQL-python-1.2.3 3.yum -y install python-devel mysql-devel 4.mkdir -p /usr/local/mysql/lib && ln -s /opt/mysql/lib /usr/local/mysql/lib/mysql 5.Edit the setup_posix.py and change the following mysql_config.path = "mysql_config" to mysql_config.path = "/usr/local/mysql/bin/mysql_config" 6. sudo python setup.py build && sudo python setup.py install
上一篇: beibei_sum_spark(pyt
下一篇: python tab键补齐
51268
50706
41309
38126
32583
29492
28348
23208
23179
21504
1578°
2299°
1907°
1850°
2164°
1891°
2578°
4319°
4171°
2975°