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

Simran Bansari
Simran Bansari
5,249 Points

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