How can I install GRPCIO on an Apple M1 Silicon laptop?

This seems to work well, do the following in the terminal export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1 export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1 And then install whatever package that you wanted to install, in my case I was trying to install firebase admin and I had to run the following pip install firebase-admin Or just run the below command if you just want … Read more

How to automatically activate virtualenvs when cd’ing into a directory

Add following in your .bashrc or .zshrc function cd() { builtin cd “$@” if [[ -z “$VIRTUAL_ENV” ]] ; then ## If env folder is found then activate the vitualenv if [[ -d ./.env ]] ; then source ./.env/bin/activate fi else ## check the current folder belong to earlier VIRTUAL_ENV folder # if yes then … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)