I recently upgraded from Python 3.9 to 3.10, but all my installed libraries didn't carry over. I have quite a few libraries packed in my `C:UsersAppDataLocalProgramsPythonPython39Libsite-packages` folder. Is there a way to copy these libraries to the new version without having to reinstall everything one by one? I've looked around online but haven't found any solutions. Am I missing something?
1 Answer
It's generally recommended to use virtual environments for managing libraries, which lets you keep them separate for each project. That way, you can easily create a `requirements.txt` file to help you reinstall the necessary packages without much hassle. You can check out the Python documentation for virtual environments and requirements files if you're interested.

I get that, but I don’t really need the overhead for projects that aren't production-level. I'm just coding for fun and don't want to fill up my OneDrive with multiple venvs.