开发者

Having difficulty installing Google Python API into newer Python

I'm trying to set up the Python Google API on my system; I have both Python 2.6 and 2.7 installed; 2.7 is the version I use. Howver, the installer installs itself into my old Python (2.6) and I get library not found errors when I try to use i开发者_运维知识库t on 2.7.

Has anybody had any success installing the Google API into a specific version of Python?

Thanks!


Generally to install a package you either download it and run python setup.py install or use easy_install/pip. You can use which python to verify you are running the installer with the proper version of Python. There is a good chance you are simply installing it with 2.6, thus it never gets installed for 2.7. If you are trying to use system packages to install this package, it might be easier to just download it yourself and run python setup.py install with the proper python executable.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜