I tried to install all dependencies in my requirements.txt
(a bunch of packages list).
What I did:
- created virtual env
virtualenv my_env
- activated the new virtual env, I'm able to see my virtual env before the prompt
(my_env) $
- ran
pip install -r requirements.txt
All packages got installed, but when checking with pip freeze
I have nothing. Tried to deactivate the virtual env, and made pip freeze
again, here I have all installed.
I'm a bit confused because, I'm very sure my virtual env was activated, and I have the right pip path when doing which pip
inside it (/home/virtual_env/my_env/bin/pip
). Plus, I tried to install one by one the dependency, and they got installed right inside the virtual env & displayable with pip freeze
I cannot do all of them one by one, and I need to reproduce the installation somewhere. Could someone helps on this?