How to access different Anaconda environments from PyCharm for coding in Python?

0 votes
Hi all, pretty straightforward question. I have manually installed Conda along with Python 3.7 and Python 2.7 on Windows 10.

I am aware of how easy it is to change the Conda environment using the command line directly. But in PyCharm, I can only see Python 3.7 and not 2.7.

What am I missing here? Is there any simple way to select the Python environment for Anaconda?

All help appreciated!
Feb 11, 2019 in Python by Anirudh
• 2,080 points
422 views

1 answer to this question.

0 votes

Hi!

In PyCharm, you can add any number of interpreters that you desire.

To do just so, go to Settings->Project->Project Interpreter

You will be greeted with the current interpreter here as soon as you open the screen.

Look for a list which has all the names of the interpreters installed. If you find it, select it and you're good to go.

If you do not find it, then click on the little gear wheel icon on the right and select Add local.

Once you are done with this, select the directory that contains your Conda environment and use it.

Hope this helped!

answered Feb 11, 2019 by Nymeria
• 3,540 points

Related Questions In Python

0 votes
1 answer

How to access a module written in Python from C?

Hey, @Roshni: You can access a module written ...READ MORE

answered Jun 26 in Python by Gitika
• 31,430 points
31 views
0 votes
1 answer

How to find index from raw and column in python?

You probably want to use np.ravel_multi_index: import numpy as ...READ MORE

answered Sep 12, 2018 in Python by Priyaj
• 57,530 points
135 views
0 votes
1 answer

How to find index from raw and column in python?

You probably want to use np.ravel_multi_index: import numpy as ...READ MORE

answered Sep 24, 2018 in Python by Priyaj
• 57,530 points
124 views
0 votes
1 answer

In python how to test a string for a substring

if "ABCD" in "xxxxABCDyyyy": This can be used ...READ MORE

answered Oct 24, 2018 in Python by Priyaj
• 57,530 points
200 views
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 1,089 views
0 votes
0 answers
+4 votes
6 answers
+1 vote
6 answers
0 votes
1 answer

How to write inline if statement for print in Python?

Inline if-else expression must always contain the else ...READ MORE

answered Dec 4, 2018 in Python by Nymeria
• 3,540 points

edited Dec 6, 2018 by Nymeria 6,037 views