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 in Python by Anirudh
• 2,050 points
60 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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 by Nymeria
• 3,500 points

Related Questions In Python

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
• 56,120 points
47 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
• 56,120 points
19 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
• 56,120 points
33 views
0 votes
1 answer

How can I prevent or alter access to class variables in Python?

The ActiveState solution that Pynt references makes instances of ...READ MORE

answered Dec 5, 2018 in Python by ariaholic
• 7,320 points
38 views
0 votes
1 answer

how can i count the items in a list?

suppose you have a list a = [0,1,2,3,4,5,6,7,8,9,10] now ...READ MORE

answered May 2 in Python by Mohammad
• 1,400 points
25 views
+4 votes
6 answers
0 votes
1 answer

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,500 points
3,456 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,500 points

edited Dec 6, 2018 by Nymeria 480 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.