Hello.

There are PyCharm and Python 3.6 installed.

Faced with the fact that not all libraries are installed. For example pandas .

When installing via the library management menu, it gives an error:

Unable to find vcvarsall.bat

I read about this error. The solution is to install Visual Studio 2008, I have 2015 and it does not work with it.

I tried to download the already compiled library. The same gives when installing via pip errors.

But the system also has the Anaconda package. And it has pandas .

How can I pull this library in PyCharm?

  • And what does PyCharm have to do with installing packages? In any case, all the packages will appear in your IDE after installation, and it does not matter if you install them using the same PyCharm or directly via pip, as for pandas and all its dependencies, if you work on win then you need to use already compiled packages lfd.uci.edu/~gohlke/pythonlibs , plus numpy + mkl for the correct work of SciPy - Igor Igoryanych
  • "And what does PyCharm have to do with installing packages?" Install packages in PyCharm. What is installed normally. Some, such as pandas are not installed. So I decided to understand what the problem is. I still have little experience in working with this environment and python. - todd22
  • Strange! If you already have a package and are bundled, as you say, it should work, although there may be different compatibility. - And

2 answers 2

as you were correctly pointed out in the comments - you need to install the panda not through the IDE, but through the system console

 pip install pandas (pip3 install pandas если пользуетесь linux) 

if you want to use anaconda modules:

  1. anaconda has its own IDE Spyder, run (or install, and then run) via anaconda-navigator
  2. If you are not satisfied with spyder, write the path to the [File] -> [Settings] -> [Build, Execution, Deployment] -> [Console] anaconda interpreter -> [Python Console] - Python Interpreter in PyCharm - choose from the drop-down list
  • The spyder works for me. - todd22

You need to change the Project Interpreter (File | Settings...) to python.exe in your Anaconda (where you already have pandas ):

enter image description here