Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Machine Learning Machine Learning Basics Writing a Classifier Installing scikit-learn using Anaconda

anaconda in python won't open

After clicking the open terminal or open python button inside of environments in anaconda for MachineLearningBasics i get the following error in terminal

/Users/jacob/.anaconda/navigator/a.tool ; exit; /Users/jacob/.anaconda/navigator/a.tool: line 1: syntax error near unexpected token (' /Users/jacob/.anaconda/navigator/a.tool: line 1:bash --init-file <(echo "source activate /anaconda3/envs/MachineLearningBasics;")'

[Process completed]

3 Answers

Perhaps you have a Syntax Error in you're code? I'm not sure; I don't use Anaconda.

I tried both the basic and the yml file and it didn't work.

I had the same problem - getting the same error message when opening the terminal from both the MachineLearningBasics environment and the base environment.

I pasted the code into a jupyter notebook and it worked though.

How would i go about installing that?

It should come with anaconda.