~ after nearly a week of torture, I also found some comments on Google, which is still a lot of resources on Google (portal). Generally speaking, it should be related to Anaconda’s own BUG, which is not compatible with Pycharm (maybe I have not found the relevant explanation yet)
here is my solution :
method 1 :
build environment by conda directly (not through Vartualenv to build virtual environment), managed by conda’s real environment as project environment, the disadvantages of doing so is that all use the same environment projects can see kit has no personalization is the same, and for any changes in the environment will have an effect on other projects, the safety factor is not high, but this method the effect is very good. p>
method 2 :
the environment is created in pythonw.exe, still using the virtual environment, but without Windows (the specific pythonw.exe difference is visible from the portal)
p>
======================================2019-11-28_Edit_log=========================================
for the previous scheme can not solve the problem, I found a new method today, you can try
if you needbecause the permission denial only occurs in python3’s Anaconda managed version so I’ll use this as an example of
is the same as before, the normal way of creating it, it will report an error
strong>
>
>
>
>
>
the steps are as follows :
1. Settings – & gt;
find project interpreter add location
2. Click to add the interpreter for python3, or if python3 does not have an interpreter, click show all to add the interpreter
3. Finally, click “apply ok”, and we can see the required version interpreter and virtual environment in the project
above is some of my experience summary, hope to be helpful to friends