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 trialJacob Khan
12,273 Pointsanaconda 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
Alexander Davison
65,469 PointsPerhaps you have a Syntax Error in you're code? I'm not sure; I don't use Anaconda.
bbowen00
12,339 PointsI 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.
Jacob Khan
12,273 PointsHow would i go about installing that?
bbowen00
12,339 PointsIt should come with anaconda.
Jacob Khan
12,273 PointsJacob Khan
12,273 PointsI tried both the basic and the yml file and it didn't work.