I am new to Python and decided to duplicate a virtualenv and work on the new cloned env.
Here's what I did
pip freeze > requirements.txt
,virtualenv newEnv
source newEnv/bin/activate
pip install -r requirements.txt
However I get the error
ImportError: statsmodels requires numpy
Manually doing pip install numpy
I repeated step 4 again and got the error
ImportError: statsmodels requires scipy
Manually doing pip install scipy
I repeated step 4 again and got the error
ImportError: statsmodels requires pandas
How can we get the pip install -r requirements.txt
to work smoothly without having to manually install the modules?