推荐学习书目
› 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 · Feb 17, 2012 · 5606 views
    This topic created in 5335 days ago, the information mentioned may be changed or developed.
    之前 有用 都没问题 只是最近升级了一下 目前用的版本是 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 replies  •  1970-01-01 08:00:00 +08:00
    janusle
        1
    janusle  
    OP
       Feb 17, 2012
    我知道原因了 原因在于 那个CloudSQL需要MySQL的一些lib 有办法关么 我没有找到选项
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   903 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 19:29 · PVG 03:29 · LAX 12:29 · JFK 15:29
    ♥ Do have faith in what you're doing.