Closed dogukanaras closed 5 years ago
May be you are execute script not from virtual environment or you local env doesn't have requests
? Check it first :)
I tried it in the local directory, but nothing changed. I was working both ways before. But it doesn't work anymore
Traceback (most recent call last):
File "unfollow_non_followers.py", line 13, in <module>
from instabot import Bot
File "/Users/dogukanaras/Desktop/instabot/examples/../instabot/__init__.py", line 1, in <module>
from .api import API
File "/Users/dogukanaras/Desktop/instabot/examples/../instabot/api/__init__.py", line 1, in <module>
from .api import API
File "/Users/dogukanaras/Desktop/instabot/examples/../instabot/api/api.py", line 15, in <module>
import requests
ImportError: No module named requests
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Purpose of your issue?
The following sections requests more details for particular types of issues, you can remove any section (the contents between the triple ---) not applicable to your issue.
For a bug report, you must include the Python version used, code that will reproduce the error, and the error log/traceback.
Paste the output of
python -V
here: python 3.7.0 already installedCode:
Error/Debug Log:
Describe your issue
Requirement already satisfied: requests in /usr/local/lib/python3.7/site-packages (2.11.1) "requests" package, even though it says to install