Machine model: M1 macbookpro
Direct installation using terminal
Installation location: virtual environment created by pycharm in the project
See a Django project on GitHub. After the clone comes down, install the dependent package according to requirements.txt
Result: could not build wheels for gevent which use PEP 517 and cannot be installed directly
I didn’t think much at first, so I reinstalled gevent separately, and still reported the same error
After searching the Internet, none of them is useful
Later, I found the yellow warning, which means that the permission of the file directory to be operated is denied
So I checked the permissions of the wheels folder. Sure enough, I didn’t have write permissions myself
After adding write permission, gevent is successfully installed