CodeFormer icon indicating copy to clipboard operation
CodeFormer copied to clipboard

installation tips for Mac M1 chip

Open usccolumbia opened this issue 2 years ago • 1 comments
trafficstars

i need this step to install grpcio on M1 chip mac:

export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1 export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1 pip install grpcio

usccolumbia avatar Jan 17 '23 22:01 usccolumbia

Hi @usccolumbia Thanks for your sharing, but I haven't found any errors on my M1 using the installation steps provided in: https://github.com/sczhou/CodeFormer#dependencies-and-installation

I just tested on my M1 and after running pip3 install -r requirements.txt, grpcio was automatically installed. So I am curious, what kind of error did you occur when you didn't set export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1 and export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1? Any further information and explanation would be greatly appreciated for M1 users as a reference. Thank you!

sczhou avatar Jan 20 '23 03:01 sczhou