Instapy: Newbie error name 'session' is not defined"

Created on 13 Oct 2017  路  2Comments  路  Source: timgrossmann/InstaPy

Hi Everyone
Thank you for the fantastic work.
Im very new to the code and after a day I managed to get this almost working. I have searched for answers but I can not figured out.
Im getting this error

"Traceback (most recent call last):
File "quickstart.py", line 9, in
session.login()
NameError: name 'session' is not defined"

Can anyone give a hand in solving this please. Much appreciated

help wanted

Most helpful comment

Thanks! got it working

All 2 comments

@cbyrt maybe you forgot to add this line:

session = InstaPy(username=insta_username, password=insta_password)

check your config with this file https://github.com/timgrossmann/InstaPy/blob/master/quickstart.py

Thanks! got it working

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ingorichter picture ingorichter  路  3Comments

wyvers picture wyvers  路  3Comments

Spyd3r0us picture Spyd3r0us  路  3Comments

tibor picture tibor  路  3Comments

v77v picture v77v  路  3Comments