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,090 points
1,418 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,560 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, 2020 in Python by Gitika
• 65,770 points
2,645 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
• 58,020 points
976 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
• 58,020 points
1,300 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
• 58,020 points
820 views
0 votes
2 answers
+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 7, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 4,463 views
0 votes
1 answer
+5 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,790 points
4,120 views
+2 votes
10 answers

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

The following are totally acceptable in python: passing ...READ MORE

answered Nov 16, 2018 in Python by Nymeria
• 3,560 points
409,347 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,560 points

edited Dec 6, 2018 by Nymeria 16,766 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP