Use pip freeze rather than pip list. That will give you the information in "requirements file" format that pip install -r can read. Paul
On 14 March 2018 at 23:20, Tim Johnson <t...@akwebsoft.com> wrote: > I'm currently running both python and python3 on ubuntu 14.04. > Plan is to do a complete re-install of ubuntu 16.04 on a fresh > hard drive. > > I've accumulated a list of pip-install packages via > pip list > piplist.txt. > > Can I duplicate the same packages on the new OS by > pip -r piplist.txt? > > thanks > -- > Tim > http://www.akwebsoft.com, http://www.tj49.com > -- > https://mail.python.org/mailman/listinfo/python-list -- https://mail.python.org/mailman/listinfo/python-list