I am trying to run a python script that executes few API calls and Kafka logic but getting following error: dyld: Library not loaded: @executable_path/../.Python>
dyld: Library not loaded: @executable_path/../.Python>
Hi I got this issue too after brew upgrade, I solved with delete virtualenv
find myvirtualenv -type l -delete
then recreate virtualenv
virtualenv myvirtualenv
Reference:
http://www.jeremycade.com/python/osx/homebrew/2015/03/02/fixing-virtualenv-after-a-python-upgrade/