Accessing a project folder on Google Drive File Stream with PyCharm from 2 different computers

I have a folder My_Project_Folder on Google Drive File Stream. This folder contains run.py and model.py. When I open this folder with PyCharm in one of my computers, it automatically created a .idea folder. I suppose if I open this same project folder with PyCharm in another computer, it will create another .idea folder, thus overwriting the original. Is this a potential problem? What is the work-around?

0
3 comments

PyCharm should detect the .idea folder and use the settings from there. Nothing should be overwritten.

0
Avatar
Permanently deleted user

The problem is it shouldn't use the settings from there. One computer has its own virtual environment the project folder is pointing to. When I try to execute the script from another computer, it says the Python interpretation is missing, which obviously is since it's looking at the directory pointing to a different virtual environment from a different computer.

0

Have you tried to configure project interpreter on the second computer? You need to configure it only once and then you should be able to run the script with the respective interpreter on each computer (as long the the run/debug configuration has the default project interpreter selected). 

On related note - sharing the project via Google Drive is not really a good practice and has some known issues with indexing. It's recommended to use VCS instead.

0

Please sign in to leave a comment.