[MAC] eclipse+python+tornado+mysql 在eclipse中引入数据库模块import error

来源:互联网 发布:神经网络算法matlab 编辑:程序博客网 时间:2024/06/07 06:51

    安装mysql-python后,要在eclipse中添加环境变量,将mysql-python模块加载进来。eclipse好像不会自动检测用户环境变量的值(用户环境变量在~/.bash_profile文件中定义)



0 0