Home > other >  PyDev configuration after the anaconda import package problems, how to do?
PyDev configuration after the anaconda import package problems, how to do?

Time:11-21

I imported the 4 bags, explain the anaconda is used that, seaborn and matplotlib error as a result, normal numpy and pandas, I actually in the same environment configuration pycharm, pycharm import four package all no problem, in the CMD interface also showed that 4 bags are,
Eclipse on import packet error information is as follows, dalao to solve the problem is where the



CodePudding user response:

In CMD also get a virtual environment to import
1, activate your_env_name
2, PIP install packagename

CodePudding user response:

reference 1st floor MuSa xiaoxiang reply:
in CMD also get a virtual environment to import
1, activate your_env_name
2, PIP install packagename

I use conda install tested, four package all imports,

CodePudding user response:

Problem has been resolved, saw a installation Anaconda configuration on zhihu, went to check your environment variable, Anaconda found short of three environment variables,,,
The article links: https://zhuanlan.zhihu.com/p/146372490
As shown in the figure below, add in all the four environment variables, and then remember the IDE choose Anaconda python interpreter there was no problem

CodePudding user response:

reference 4 floor qq_41255732 response:
problem has been solved, see a installation Anaconda configuration on zhihu, went to check your environment variable, Anaconda found short of three environment variables,,,
The article links: https://zhuanlan.zhihu.com/p/146372490
As shown in the figure below, add in all the four environment variables, and then remember the IDE choose Anaconda python interpreter there was no problem

What could be the problem of environment variables, you can use conda in CMD, system have, in front of you have used up conda install XXX

CodePudding user response:

reference 5 floor MuSa xiaoxiang reply:
Quote: refer to 4th floor qq_41255732 response:
problem has been solved, see an installation on zhihu Anaconda configuration, and went to check your environment variable, Anaconda found short of three environment variables,,,
The article links: https://zhuanlan.zhihu.com/p/146372490
As shown in the figure below, add in all the four environment variables, and then remember the IDE choose Anaconda python interpreter there was no problem

What could be the problem of environment variables, you can use conda in CMD, system have, in front of you have used the conda install XXX


But the configuration environment variable immediately after use
  • Related