You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
≫ python quickstart.py
Traceback (most recent call last):
File "quickstart.py", line 3, in <module>
from instapy import InstaPy
ModuleNotFoundError: No module named 'instapy'
Here is my quickstart.py:
""QuickstartscriptforInstaPyusage"""# importsfrom instapy import InstaPyfrom instapy import smart_run# login credentialsinsta_username = ' ' # <- enter username hereinsta_password = ' ' # <- enter password here# get an InstaPy session!# set headless_browser=True to run InstaPy in the backgroundsession = InstaPy(username=insta_username, password=insta_password, headless_browser=True)with smart_run(session): """Activityflow """
# general settings
session.set_relationship_bounds(enabled=True,
delimit_by_numbers=True,
max_followers=6000,
max_following=3000, min_followers=45,
min_following=77)
#session.set_dont_include(["friend1", "friend2", "friend3"])
#session.set_dont_like(["pizza", "#store"])
session.set_do_follow(enabled=True, percentage=50)
session.set_do_like(enabled=True, percentage=100)
session.set_do_comment(enabled=True, percentage=20)
session.set_comments(
['Nice shot! @{}', 'I love your profile! @{}', '@{} Love it!',
'@{} :heart::heart:',
'@{}:revolving_hearts::revolving_hearts:', '@{}:fire::fire::fire:'],
media='Photo')
session.set_delimit_commenting(enabled=True, max=250, min=0)
# activity
session.like_by_tags(["florist", "weddingphotographer", "boutique"], amount=1000)
@definitleynotluke and @SethRzeszutek, I guess you guys may have more than 1 python versions, so what might be happening is you may be installing for 1 version, and trying to use for another version.
Here is my quickstart.py:
And the result of updating:
The text was updated successfully, but these errors were encountered: