python 新手,并尝试安装模块“apiclient”,因为我的 ide pycharm 无法识别该导入:
from apiclient.discovery import build
我尝试了什么:
- 点安装 apiclient
- 手动下载包
https://developers.google.com/api-client-library/python/start/installation#system-requirements 然后我将其提取到
/Users/nirregev/anaconda/bin/google-api-python-client-1.5.0
并在我的 mac 终端 python setup.py install 上运行它,但 pycharm 仍然无法识别这个模块。根据pycharm,我安装了以下解释器:
/Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5
/Users/nirregev/anaconda/bin/python
/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7