Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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.