ubuntu 安装mysql-python和 python-ldap,navicate 问题
2024-10-18 21:20:51
1.Ubuntu 下 pip install mysql-python
报错 EnvironmentError: mysql_config not found
原因是缺少mysqlclient 包,执行 sudo apt-get install libmysqlclient-dev 即可解决
参考 http://stackoverflow.com/questions/5178292/pip-install-mysql-python-fails-with-environmenterror-mysql-config-not-found
2.Installing python-ldap in Ubuntu
In file included from Modules/LDAPObject.c:9:0: Modules/errors.h:8:18: fatal error: lber.h: No such file or directory
执行 sudo apt-get install libldap2-dev 即可解决
参考 http://blog.csdn.net/xiaoxinyu316/article/details/46344393
3.Ubuntu 下安装 Navicate
查看系统支持的字符集: locale -a
打开start_navicat文件,会看到 export LANG="en_US.UTF-8" 将这句话改为 export LANG="zh_CN.UTF-8"
参考 http://blog.csdn.net/loadrunn/article/details/50886772
最新文章
- [转]看部电影,透透彻彻理解IoC(你没有理由再迷惑!)
- 安卓 io流 写入文件,再读取的基本使用
- activitydialog
- 线程池的应用及Callable接口的使用
- (step4.3.5)hdu 1501(Zipper——DFS)
- PHP 内存不足
- MySQL5.5 所支持的存储引擎
- VIM大作战之C++简易集成编译环境(Windows篇)
- C++STL_类模板举例
- Oracle单引号的用法-转义
- 爬虫利器BeautifulSoup模块使用
- 我眼中的 Nginx(五):Nginx — 子请求设计之道
- 9.Git分支-分支的创建与合并-02
- IO练习
- Python 中if __name__ == '__main__': 的作用和原理
- JVM内存布局
- Codeforces.264E.Roadside Trees(线段树 DP LIS)
- python调用nmap探测局域网设备
- Python基础进程和线程
- TCP和UDP套接字编程 (java实现)