Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to resolve "dyld: Library not loaded: @executable_path.." error

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.

like image 383
Manogna Mujje Avatar asked Dec 04 '17 08:12

Manogna Mujje


2 Answers

It is a bug with awscli and it might be fixed with the next versions. That's why, a best practices is to upgrade :

brew upgrade awscli 
like image 77
Abdennour TOUMI Avatar answered Oct 07 '22 15:10

Abdennour TOUMI


You must have messed up with the brew. Try reinstalling it using: brew install awscli (followed by brew link awscli if needed).

like image 33
Nabin Avatar answered Oct 07 '22 15:10

Nabin