title: dyld: Library not loaded: /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/Python
body: <p>When trying to run simple python3 code via pycharm, I get following error</p>
  
  <blockquote>
    <p>/Users/slimerski/PycharmProjects/studia/venv/bin/python /Users/slimerski/PycharmProjects/studia/zadania_14.py
        dyld: Library not loaded: /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/Python
    Referenced from: /Users/slimerski/PycharmProjects/studia/venv/bin/python
    Reason: image not found</p>
    
    <p>Process finished with exit code 134 (interrupted by signal 6: SIGABRT)</p>
  </blockquote>
  
  <p>Everything was working until recently I have installed zsh and updated xcode via brew.
  I have tried fixing it with <code>otool -L exefile</code> but instead I get another error </p>
  
  <blockquote>
    <p>/Library/Developer/CommandLineTools/usr/bin/objdump: error: 'exefile': No such file or directory.</p>
  </blockquote>
  
  <p>Is there anyway to fix it?</p>