I remember that I could run the python program directly on the terminal side of pycharm before, but it didn’t work when I ran it today. I don’t know why, so I solved the problem
The direct Google method is not reliable, don't waste time
At the beginning, I thought about why, the base environment of the installed conda could not run in cmd and powershell. According to this search, it was useless
Later, I thought, the terminal of pycharm directly opens the default is Windows PowerShell, it should be possible to change it, so that it can directly enter the base environment of conda
According to this idea, I retrieved an article about the use environment configuration of pycharm terminal, which is used with Anaconda