~ 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
Read More:
- Pychar configures Anaconda environment
- Configuration (9) to solve the problem of “setup tools PIP wheel failed with error code 1”, create virtual environments with Python of anaconda
- CONDA creating virtual environment and common CONDA commands
- Anaconda + vscode usage problem summary
- Unable to call numpy in pychar, module notfounderror: no module named ‘numpy’
- When VS code imported Cv2, an error ImportError: numpy.core.multiarray failed to import; There are no mistakes in using the Spyder
- Python: What’s Virtualenv
- Using CONDA virtual environment in pychar
- Solutions to Django is not importable in this environment
- Points for attention in setting up robot framework + Python 3.7.0 environment
- Eclipse PyDev “interpreter does not exist in filesystem”
- Installing gensim in Anaconda
- Virtual environment: error: virtualenv is not compatible with this system or executable
- Invalid archiveerror reported by CONDA
- Anaconda builds a new environment and installs sklearn, numpy and other modules
- Installation of Python on MAC
- Pychar runtime error r6034 solution
- Jumper notebook, import numpy, prompt “importerror: DLL load failed: unable to find the specified module”
- RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd
- Failed to resolve: com.android.support:appcompat-v7:25.3.0