我正在使用Python 2.6.6,并一直在尝试下载tweepy,但每当我在Python空闲shell中导入tweepy时,它都会返回一个"No module named tweepy“错误。我用以下命令下载了tweepy它直接进入/Library/Python/2.7/site-packages,没有任何问题。然后我
我使用‘’命令通过CMD安装了tweepy。但是,当我在代码中导入它时,我会得到以下错误: File "C:\Users\UserName\Desktop\Code\twittercode\pfp_changer.py", line 1, in <module>ModuleNotFoundError: No module named '
我要买一台AttributeError: module 'tweepy' has no attribute 'TweepError'。以下是我用Python编写的相关代码: except tweepy.TweepError as e: logging.error(msg) 我用tweepy编写的其他代码正在运行,所以我确信我已经正确