I use PyCharm on both my desktop and laptop (both Windows) and I have different projects, mainly for the purposes of running different versions of Python depending on what I am doing.
Each project and associated venv were on OneDrive so regardless of whether I was on laptop or desktop I could install modules and work on both seamlessly. (Might be worth mentioning: for me, OneDrive was somewhat preferable to version control systems as upload is automatic and it is just me working on these projects.)
This then broke (I think I updated a Python version on one machine, but not another), which led me to consider what is the optimal way to share projects and virtual environments across machines.
I'm aware the topic has been discussed before, but I was looking for some clarification on a few points:
I want to be able to install a module in one project on one machine and it to be on the project on the other machine, is this possible?
Having a virtual environment for each project on OneDrive is helpful, but doesn't seem right?! is it preferable to have a virtual environment locally on each machine for each project?
Similar to above, is it necessary to use a different interpreter for each project for each machine? I'm aware these can be set up to use relative paths, which then presumably also require a local install of the interpreter?
Apologies if these points are covered elsewhere, any help would be appreciated.
Similar questions I've come across, if anyone is interested: