Virtual environment on network drive

I have my projects on a NAS so I can access them from anywhere. The problem is my PyCharm always got stuck at "Creating virtual environment" after opening a new project or opening a project I downloaded. I use Windows 10, PyCharm 2021.1.1 Community edition. I tried using PyCharm 2020.3.3 and PyCharm 2020.3.5 .

Note: when copying the project to my local C-drive, all works fine.

0
3 comments

Hi, it's not recommended to store projects on any kind of network drives as it will likely to cause issues. It's also not recommended to share python virtual environments between machines.

If you want to work on a project on multiple machines, it's recommended to put the project under VCS and use package management (e.g. pip and requirements.txt) to sync dependencies.

0

Coming from google and finding this post is really annoying. How on earth is it a problem to load stuff from network drives? I know what I'm doing and it's the only way I can find to be able to update stuff from pip without having to manually copy directories everytime.

So basically I'm SOL? Because Pycharm can't deal with valid file locations?

2

Same problem in all JetBrains software. It'd be nice to get a fix for this.

0

Please sign in to leave a comment.