Re: Restore via pip to new OS

2018-03-14 Thread Tim Johnson
* Paul Moore  [180314 15:42]:
> Use pip freeze rather than pip list. That will give you the
> information in  "requirements file" format that pip install -r can
> read.
> 
> On 14 March 2018 at 23:20, Tim Johnson  wrote:
<...>
> > Can I duplicate the same packages on the new OS by
> > pip -r piplist.txt?
  Thank you Paul.
  Cheers
-- 
Tim 
http://www.akwebsoft.com, http://www.tj49.com
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Restore via pip to new OS

2018-03-14 Thread Paul Moore
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  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


Restore via pip to new OS

2018-03-14 Thread Tim Johnson
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