python scrypt cannot find libcrypto on macos

Today, I tried starting our local django development environment but it failed because of this error. OSError: dlopen(lib/python2.7/site-packages/_scrypt.so, 6): Library not loaded: /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib What does this error mean? The precompiled scrypt is targeting a now non exising libcrypto.1.0.0.dylib, when I look at the location, it’s been replaced by an updated api version number libcrypto.1.1.dylib. A quick solution is to soft link it to the exact same path as previous and hope that the api didn’t change much....

April 7, 2020 · 1 min · Zakatell Kanda

installing python packages directly from github using pip

Recently, I needed to install a package directly from Github which I’m trying to contribute into. For example, you have this url: https://github.com/zkanda/lambda-uploader What you can do is just add git+ as a prefix in the URL. Here’s how you can do it! pip install git+https://github.com/zkanda/lambda-uploader But I want to install a code in another branch, so how do we do it? We just add @branch_name at the end of the url....

December 5, 2016 · 1 min · Zakatell Kanda