I guess it's going to be obvious in a few seconds but I am fairly new to web development.
I am learning how to use Django and I encountered an issue with allauth
after having installed it through pipenv
and tried to migrate. I got a lovely ModuleNotFoundError: No module named 'allauth'
. As I said, I installed it through pipenv
and I could see allauth
in my .venv/Lib/site-packages
file. I have my virtual environment set and activated.
A quick research and thanks to this answer, I solved my issue by "reinstalling" it with pip install allauth
, and my migration is now working fine.
What I don't understand is, wasn't it already installed when I did pipenv install allauth
, do I need to install everything once with pipenv
to get the Pipfile
& Pipfile.lock
updated and then also install it through pip
...?
Obviously, I don't fully understand the difference between pipenv
& pip
, if some charitable soul would be kind enough to explain this to me, I'd greatly appreciate it :)
Edit: I saw this thread already but either way I am stupid or whatever but it still doesn't make much sense to me.