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
469 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,520 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
• 37,660 points
55 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,660 points
170 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,660 points
151 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,660 points
220 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,365 views
0 votes
0 answers
+4 votes
6 answers

Lowercase in Python

You can simply the built-in function in ...READ MORE

answered Apr 11, 2018 in Python by hemant
• 5,800 points
1,011 views
+1 vote
8 answers

How to fix this? ValueError: invalid literal for int() with base 10 error in Python

Just for the record: >>> int('55063.000000') Traceback (most recent ...READ MORE

answered Aug 17 in Python by pakainfo
• 200 points
149,483 views
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,520 points

edited Dec 6, 2018 by Nymeria 8,118 views