title: Calling python packages from different folders without installing them from
body: <p>I wrote two python packages, let's name them package1 and package2. package1 depends on package2. The simulations I want to run need both packages. Therefore I created a folder /simulations/ and made it the project folder in pycharm. In this folder I put the two packages in the folders /simulations/folder1/ and /simulations/folder2/. I have a script /simulations/simulation.py in which I call functions from both packages. So far so good. The problem I now have is the following: the code of both packages are in the sub folders /simulations/folder1/package1/ and /simulations/folder2/package2/ folder. Inside these /simulations/folder1/ I can call functions via</p>
  
  <p>from package1.script1 import func1</p>
  
  <p>But I want to call functions from /simulations/simulation.py. There I have to import them as</p>
  
  <p>from folder1.package1.script1 import func1,</p>
  
  <p>which is ok. But script1 also calls functions (from package1.script2 import func2). But it cannot do that because pycharm thinks always that the path starts in the /simulations/ folder...</p>
  
  <p>Is there a possibility how I don't have to change all paths in all of the files? Is there a standard how to do this properly?</p>