PolyyloP
PolyyloP

Reputation: 123

Pycharm file changes propagate to multiple environments

When using PyCharm, I have noticed that if I change a file in one conda environment's path, sometimes those changes propagate into other environments. What is causing this and is there a way to make it stop? For a little background, the code editor is pinned to a specific environment, and then I have multiple terminal tabs also open in pycharm. If I edit a file in either the pycharm terminal using vim or the pycharm editor, the changes propagate to the corresponding file in other environments. In my various open terminal tabs, I have different environments activated, not necessarily the one that my code editor is pinned to. Am I misusing PyCharm in a way that is causing this strange behavior?

Thanks and best regards,

-PolyyloP

Upvotes: 0

Views: 49

Answers (1)

FlyingTeller
FlyingTeller

Reputation: 20516

conda install performs soft or hard linking instead of actually copying a package's content in every env.

You should see a different behavior if you use conda install --copy to install the package.

Upvotes: 1

Related Questions