I am currently using a shared Ubuntu machine which has python2.7 and multiple packages installed via pip.
$ python --version
Python 2.7.12
$ pip --version
pip 18.0 from /usr/local/lib/python2.7/dist-packages/pip (python 2.7)
$ pip list
Package Version
---------------------------------- -----------
asn1crypto 0.24.0
awscli 1.11.101
backports-abc 0.5
...
..
.
I want to install conda
and have Python 2.7
and Python 3.6
environment.
How can I install all the packages currently installed (pip list
) in both conda env (2.7
and 3.6
) ? I am not concerned with package version. Fine to install the same version or latest version for each package.