prospect:
I configured conda using ubuntu. The conda installation must not be installed in the root directory, otherwise an exception of insufficient permissions will be reported . The reason why I got this alarm is because I executed a FastAPI command " uvicorn app:app --reload ". The reason may be that uvicorn also needs a command mapping.
try:
After I deleted anaconda under root, it reported that there was no such file, so further troubleshooting was needed.
solve:
1. First delete the anaconda file under root
2. Make a soft connection to the anaconda you installed under root. Now all commands can be directed to root first, and then to your installation directory through the soft connection.
ln -s /home/your_username/anaconda3 /root/anaconda3