4jones
Posts: 3
Joined: Fri Nov 03, 2017 6:23 pm

Keep getting "No such file or directory"

Fri Nov 03, 2017 8:53 pm

I'm trying to do Pixel Pet project on the Raspberry Pi website, but I can't get very far because every time I enter the code in the terminal I get the code back "No such file or directory". I am following the directions on the the project, but going to Menu>Accessories>Terminal and then entering "cd RPi_8x8GridDraw" (no quotations of course) and pressing Enter, but it won't go anywhere for me. I've tried Googling how to fix it with no help. Please help me out! I thought this Raspberry Pi stuff was supposed to be easy and on a kids level. It's been nothing but a headache!

Here's the project I'm trying to do with my kids for reference:
https://projects.raspberrypi.org/en/projects/pixel-pet

alphanumeric
Posts: 2528
Joined: Tue Jan 19, 2016 2:17 pm
Location: Sydney, Nova Scotia, Canada

Re: Keep getting "No such file or directory"

Sat Nov 04, 2017 11:46 am

I'm not seeing it either, this Pi doesn't have a sense hat attached though. Not sure if that matters? The Pi's I do have a sense hat on are headless. Try running (if you haven't already) sudo apt-get update, sudo apt-get upgrade, with the senses hat attached. Maybe it needs to be detacted for those packages to load/install?

User avatar
B.Goode
Posts: 10191
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Keep getting "No such file or directory"

Sat Nov 04, 2017 12:12 pm

At a quick glance I am tempted to agree that the Raspberry Pi Foundation resource you are following appears to have an omission, because it clearly says: "All necessary software is pre-installed on Raspbian. "

At the foot of each tutorial page it says: " Spotted a mistake? Enjoying the project? Any opinions on the website? Let us know!"

Maybe you should accept that invitation?

However, the What you will need page does say you will need a Sense Hat. Maybe the implication is that it should be installed along with its supporting software? That might give you the avatar design utility, which is not a part of a standard installation of the Raspbian Operating System.

I'm sorry you have had a frustrating experience.

alphanumeric
Posts: 2528
Joined: Tue Jan 19, 2016 2:17 pm
Location: Sydney, Nova Scotia, Canada

Re: Keep getting "No such file or directory"

Sat Nov 04, 2017 12:27 pm

I have Sense Hats on two of my Pi's. My Python Code works right out of the box without having to install anything. I haven't tried to do what the OP is doing though. I did notice the Sense Hat emulator was installed on my Pi that doesn't have a sense hat attached. Support for the Sense Hat is supposed to be included by default in Raspbian, from what I've read. I'm still running Jessie on those Pi's. The one I went looking for and couldn't find the RPi_8x8GridDraw on is running Stretch.

4jones
Posts: 3
Joined: Fri Nov 03, 2017 6:23 pm

Re: Keep getting "No such file or directory"

Fri Dec 01, 2017 4:08 pm

I'll try sending them a message, thanks! I didn't even think it might be a problem with their project.

Novice_Ter
Posts: 2
Joined: Wed Mar 28, 2018 5:45 pm

Re: Keep getting "No such file or directory"

Tue Oct 30, 2018 1:21 pm

Did anyone find the solution? I'm getting the same error message on a RasPi 3 B+.

DirkS
Posts: 10347
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Keep getting "No such file or directory"

Tue Oct 30, 2018 1:33 pm

Novice_Ter wrote:
Tue Oct 30, 2018 1:21 pm
Did anyone find the solution? I'm getting the same error message on a RasPi 3 B+.
While doing what?

User avatar
B.Goode
Posts: 10191
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Keep getting "No such file or directory"

Tue Oct 30, 2018 1:41 pm

Novice_Ter wrote:
Tue Oct 30, 2018 1:21 pm
Did anyone find the solution? I'm getting the same error message on a RasPi 3 B+.

Assuming you are using the same Raspberry Pi Foundation project documentation -

As I wrote nearly 12 months ago:
the Raspberry Pi Foundation resource you are following appears to have an omission, because it clearly says: "All necessary software is pre-installed on Raspbian. "

It seems that the published version of the Project is out of step with the version stored on the Raspberry Pi GitHub repository. https://github.com/RaspberryPiLearning/pixel-pet

The latter does have instructions for installation of 8x8GridDraw.

Return to “Troubleshooting”