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

I am trying to open the file from ATOM, regarding the machine learning basics course, and it cannot seem to find it.

MachineLearningBasics) Simrans-MacBook-Pro:~ simranbansari$ cd ~ /simranbansari/Desktop/ml/ml.py -bash: cd: simranbansari/Desktop/ml/ml.py: No such file or directory (MachineLearningBasics) Simrans-MacBook-Pro:~ simranbansari$ cd simranbansari\Desktop\ml\ml.py -bash: cd: simranbansariDesktopmlml.py: No such file or directory (MachineLearningBasics) Simrans-MacBook-Pro:~ simranbansari$

I am continuously receiving the error when typing my directory to the folder.

1 Answer

Try changing (cd) one step at a time per directory to make sure you're actually getting the directories right. I.e. just switch to your desktop first. Then ml directory. I suspect it's an issue with how you're trying to get to the Desktop, if you're already effectively at home directory in your terminal you should only need to type cd Desktop/ml/ml.py