Pythonmysql-python安裝Python2.7
mac安裝sudo pip install MySQL-python報錯EnvironmentError: mysql_config not found解決方法
1
2
3
4
5
|
PATH= "/usr/local/mysql/bin:${PATH}"
export PATH
export DYLD_LIBRARY_PATH= /usr/local/mysql/lib/
export VERSIONER_PYTHON_PREFER_64_BIT=no
export VERSIONER_PYTHON_PREFER_32_BIT= yes
|
參考文件:http://www.cnblogs.com/ifantastic/archive/2013/04/13/3017677.html
ubuntu下安裝sudo pip install MySQL-python報同上面一樣的錯誤解決方法:
1、sudo apt-get install python-setuptools
2、sudo apt-get install libmysqld-dev
3、sudo apt-get install libmysqlclient-dev
4、sudo apt-get install python-dev
sudo pip install MySQL-python
相關文章
- Python2.7安裝Python
- Ubuntu 上安裝python2.7UbuntuPython
- Linux下python2.7安裝pipLinuxPython
- linux 安裝 python2.7 +配置mysqlLinuxPythonMySql
- 在CentOS 6.5上安裝python2.7CentOSPython
- Python2.7安裝Scrapy錯誤處理Python
- python2.7安裝不了怎麼解決Python
- python2.7之MySQLdb模組 for linux安裝PythonMySqlLinux
- CentOS6.8 安裝python2.7,pip以及yumCentOSPython
- centos7 安裝python2.7與3共存CentOSPython
- CentOS6.5上安裝Python2.7和PIPCentOSPython
- Linux CentOS6編譯安裝Python2.7薦LinuxCentOS編譯Python
- python2.7在windows環境安裝talib的方法PythonWindows
- win64位下Python2.7安裝pyXML問題解決方案PythonXML
- windows環境配置:同時安裝Python2.7和Python3.6開發環境WindowsPython開發環境
- Linux入門教程:Centos安裝Python2.7與Python3.5雙版本,正文 首先,先下載PLinuxCentOSPython
- codis安裝 (java 安裝 + zookeeper 安裝 + go 安裝 + codis 安裝JavaGo
- CentOS 6.5 升級 Python2.7CentOSPython
- 安裝npm 解除安裝npm 安裝apidocNPMAPI
- mysql安裝 (yum 安裝)MySql
- MMM安裝、MHA安裝
- 舊酒換新瓶,新版M1/M2晶片Macos(Ventura)安裝古早版本Python2.7(Python2.x)晶片MacPython
- mysql安裝------RPM包安裝及解除安裝MySql
- oracle安裝:OUI安裝Oracle(圖形介面安裝)OracleUI
- ffmpeg安裝之mac安裝Mac
- docker安裝及解除安裝Docker
- 02 安裝git、安裝TortoiseGitGit
- Ubuntu解除安裝和安裝Ubuntu
- Orace RAC安裝-DNS安裝DNS
- caffe安裝系列——安裝OpenCVOpenCV
- SPARK 安裝之scala 安裝Spark
- mac 安裝opencv homebrew安裝MacOpenCV
- Oracle 安裝與解除安裝Oracle
- solaris mysql 安裝 解除安裝MySql
- BiocManager安裝,devtools安裝dev
- JDK安裝和解除安裝JDK
- 安裝HomeBrew提示已安裝並無法解除安裝
- SQL Server 2012 安裝——安裝 OR 解除安裝SQLServer