简体   繁体   English

python中的oauth2

[英]oauth2 in python

I'm looking to write a script that tweets from python (such as here ), however when I try and call 我正在寻找一个从python发送推文的脚本(比如这里 ),但是当我试着打电话时

import oauth2 as oauth

I just get this error: 我刚收到这个错误:

ImportError: No module named oauth2 ImportError:没有名为oauth2的模块

Where can I get this module from? 我在哪里可以获得这个模块? Thanks 谢谢

Make sure that you have pip installed. 确保已安装pip。 Then in your terminal enter the following command: 然后在您的终端中输入以下命令:

$ pip install oauth2

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM