0 Preface
Both Miniforge and Anaconda are python distributions. To run python under the arm architecture, you need to install the Miniforge version
1. Install
1. Download the installation script
miniforge github address
2. Execute the script
bash Miniforge3-MacOSX-arm64.sh
Enter all the way here, if you need to choose the unified optionyes
3. Query the environment variables to find miniforge3
the configuration that has been added
cat ~/.zshrc
4. Reload an environment variable
source ~/.zshrc
5. Query conda
and python
version
conda -V
python -V
6. The installation is successful
7. PyCharm
When using other development tools, you need to configure the python path, as shown in the figure below
The default path is:/Users/wuhanxue/miniforge3/bin/python3
8. Create a project and run it. If it runs successfully, it means the configuration is successful.