Python Forum

Full Version: Pycharm and Conda
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
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
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?
Under windows
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