Python Forum
Pycharm and Conda - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Data Science (https://python-forum.io/forum-44.html)
+--- Thread: Pycharm and Conda (/thread-31823.html)



Pycharm and Conda - annalma - Jan-05-2021

Hey everyone,
Usually I use PyCharm 3.8.
I'm trying to install 5 packeges for a project- numpy, scipy, matplotlib, basemap and pyhdf.
At the beginning I succeeded with the first three, and then I discovered in order to install the last two I need Conda env.
I tried to install Anaconda3 but I have no clue how to work with it Think
Moreover- even though I managed to install the first three, after changing the environment to conda via Python interpreter, all of the packages became invalid. Wall
Can someone please guide me how to install all of them correctly?


RE: Pycharm and Conda - paul18fr - Jan-05-2021

Which OS are you using?

In my case, I proceed as follow:
  • Under linux, just type "conda install matplotlib" for example
  • Under windows, open a prompt (start -> anaconda -> prompt) and type "conda install <package name>"

Paul


RE: Pycharm and Conda - annalma - Jan-05-2021

Hey Paul,

thank you for your quick answer.
Unfortunately i don't know how to use anaconda at all, I have a syntax error. can you please write the command?


RE: Pycharm and Conda - annalma - Jan-05-2021

Under windows


RE: Pycharm and Conda - paul18fr - Jan-05-2021

As described previously, that's the way I use:
  1. Windows start icon (bottom left) -> anaconda -> anaconda prompt
  2. in the prompt, just type 'conda install <packages>' (without the quote' where <packages> is the list of all the packages you want like pycharm, matplotlib, and so on
  3. all dependencies will be automatically added
  4. on the same way, you can update all packages using 'conda update --all'
  5. you can also use Spyder as IDE
  6. etc