chmod +x ~/Downloads/Miniforge3-MacOSX-arm64.sh ~/Downloads/Miniforge3-MacOSX-arm64.sh source ~/miniforge3/bin/activate
conda init conda config --set auto_activate_base false
conda create --name <name> python=3.9
conda install -c apple tensorflow-deps pip install tensorflow-macos tensorflow-metal
conda install -c conda-forge -y pandas jupyter conda install scikit-learn
conda install -c conda-forge opencv pip install matplotlib tqdm pydot scikit-image graphviz tensorflow_datasets
/usr/bin/python3 -m venv env source env/bin/activate
pip install --upgrade pip pip install PyQt5
brew install pyqt5 echo 'export PATH="/opt/homebrew/Cellar/qt@5/bin:$PATH"' >> ~/.zshrc echo 'export PATH="/opt/homebrew/Cellar/pyqt@5/<version>/bin:$PATH"' >> ~/.zshrc source ~/.zshrc
cp -r /opt/homebrew/Cellar/pyqt@5/<version>/lib/python3.9/site-packages/* ~/miniforge3/envs/<conda environment>/lib/python3.9/site-packages/