Reputation: 4439
I'm starting to move to python 3 and the headache of installing all of the packages from 2.7 to 3.6 one by one gives me a headache just thinking about it. Is there a library to do this automatically?
Upvotes: 0
Views: 36
Reputation: 319
Use pip freeze > requirements.txt
to create a file listing the Python 2 packages you have installed then pip3 install -r requirements.txt --upgrade
to install the same packages for Python 3.
Upvotes: 1