I was trying to check the AWS-CLI version on my MAC OS X. And the below error hit back:
dyld: Library not loaded: @executable_path/../.Python
Referenced from: /usr/local/aws/bin/python
Reason: image not found
Abort trap: 6
Any relevant inputs on how to fix this would be highly appreciated.
brew install some_package
when you are inside a virtualenv. I think what happens is brew does its work inside the vm. To fix it, deactivate from your virtualenv,rm -rf
your virtual environment folder. Then rebuild it from scratch. Then put a loud comment that says don't brew install stuff inside a virtual environment. – Tenantry