Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ImportError: No module named allauth

I have installed django-allauth for using social accounts in my django app but every time I try

manage.py syncdb

It gives me an error

ImportError: No module named allauth

I tried to add even

sys.path.append(os.path.abspath(os.path.dirname(__file__)))

to

manage.py 

but its still not working.I am unable to debug about how to add path to allauth to include it?

like image 605
saurabh Avatar asked Jun 13 '14 17:06

saurabh


Video Answer


1 Answers

go to the root of the folder where you have your virtual environment and type:

source bin/activate
like image 171
Jenia Ivanov Avatar answered Oct 16 '22 13:10

Jenia Ivanov