How can I export installed libraries on Python to one install shell?

383 Views Asked by At

Recently, I'm changing Linux distro from PopOs to Ubuntu, and there is a lot of libraries installed by pip on Python that I want to bring on. Could I migrate from these other distros, exporting and import all installed libraries on python? There's a way to do that?

1

There are 1 best solutions below

0
Raydel Miranda On

You should read about the pip cache system and how to enabled in different OS. If you already have a pip cache directory configured you can tell where is by:

pip cache dir

And then you could copy the content of your current cache dir to the one in your new distro.

References:

  1. Where is pip cache folder
  2. Pip cache documentation