dyld: Library not loaded … Reason: Image not found

Find all the boost libraries (where exefile is the name of your executable): $ otool -L exefile exefile: @executable_path/libboost_something.dylib (compatibility version 0.7.0, current version 0.7.0) /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 65.1.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 169.3.0) and for each libboost_xxx.dylib, do: $ install_name_tool -change @executable_path/libboost_something.dylib /opt/local/lib/libboost_something.dylib exefile and finally verify using otool … Read more

Setting ANDROID_HOME enviromental variable on Mac OS X

Where the Android-SDK is installed depends on how you installed it. If you downloaded the SDK through their website and then dragged/dropped the Application to your Applications folder, it’s most likely here: /Applications/ADT/sdk (as it is in your case). If you installed the SDK using Homebrew (brew cask install android-sdk), then it’s located here: /usr/local/Caskroom/android-sdk/{YOUR_SDK_VERSION_NUMBER} … Read more

Environment variables in Mac OS X

There are several places where you can set environment variables. ~/.profile: use this for variables you want to set in all programs launched from the terminal (note that, unlike on Linux, all shells opened in Terminal.app are login shells). ~/.bashrc: this is invoked for shells which are not login shells. Use this for aliases and … Read more

WebDriverException: ‘geckodriver’ executable needs to be in PATH even though it is

This error message… WebDriverException: ‘geckodriver’ executable needs to be in PATH. …implies that the GeckoDriver wasn’t found in the expected default location. Solution As you are using MAC based System you need to pass the Key executable_path along with the Value referring to the absolute path of the GeckoDriver as follows : from selenium import … Read more