V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
janusle
V2EX  ›  Python

GAE SDK for Mac 是不是问题很多啊

  •  
  •   janusle · 2012-02-17 17:32:12 +08:00 · 4402 次点击
    这是一个创建于 4423 天前的主题,其中的信息可能已经有所发展或是发生改变。
    之前 有用 都没问题 只是最近升级了一下 目前用的版本是 1.6.2
    然后创建一个新项目 试着run一下 报错 说什么

    The rdbms API is not available because the MySQLdb library could not be loaded.

    我不明白 为什么GAE会要MySQLdb 用Easy_install安装MySQLdb
    报错说找不到mysql_config

    然后到官网下载了MySQL安装后 问题依旧 Google了一下说
    是PATH问题 找到MySQL的安装路径加了$PATH GAE启动依旧报错 在Python shell里面
    import MySQLdb 报错说Reason: image not found 最后我放弃了 我转到mint下 一分钟内假设好了所有环境

    我不明白两点一个是为什么GAE要用MySQLdb 还有就是要抱怨一下 其实做开发Mac感觉还是不如Linux方便 包管理没Linux的好 我不喜欢把时间都花在架设环境改配置上
    1 条回复    1970-01-01 08:00:00 +08:00
    janusle
        1
    janusle  
    OP
       2012-02-17 19:36:40 +08:00
    我知道原因了 原因在于 那个CloudSQL需要MySQL的一些lib 有办法关么 我没有找到选项
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5361 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 07:58 · PVG 15:58 · LAX 00:58 · JFK 03:58
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.