Open foogunlana opened 7 years ago
check it out now please :)
I still see the bonjour requirement in the locallibrary though.
I basically installed the virtual_env and started the this environment for the project. However, replacing the requirements.txt file doesnt remove the bonjour requirement
Haha e pele. We should probably have a call so I can give you a pointer on the requirements. You're almost there though!
Basically, the reason all those requirements are in your requirements.txt file is because they've already been installed to the global environment. You'd need to uninstall all of them from the global env, and then use a virtual environment.
Also, you probably don't want to keep the venv in your repo as it takes up unnecessary space. Have a look at the virtualenvwrapper python library. It installs to ~/Envs ;)
Oops! Looks like there are a lot of requirements that aren't actually needed in your requirements.txt!
That usually happens when you don't use a virtual environment from the outset. No worries, we can fix that :).
Have a look here https://pythontips.com/2013/07/30/what-is-virtualenv/ and here https://python-guide-pt-br.readthedocs.io/en/latest/dev/virtualenvs/
In short, the virtual environment is absolutely essential for any project you're working on! It's really important we get the requirements.txt file right before moving on.