Commands not working[SOLVED]


#1

When I type a command into the terminal to program something it always says “No such file or directory”. I’m using the raspberry pi 2 model b with the gopigo2.


#2

hello @rjmccormick11
what commands are you entering?


#3

cd GoPiGo/Software/Python/Examples/Basic Robot Control/ that is the command I’m entering


#4

Did you do cd ~/Desktop before ?

This command would only work if you’re already in the Desktop folder.


#5

ok thanks I’ll try it.


#6

I tried it and it didn’t work. What do you mean by desktop folder?


#7

It should look like this


#8

It worked thanks for the info. So now if I want to do any of the other projects for it to work I have to type
cd ~/Desktop.


#9

Yeah, unless you’re already in it. If you look at the image I posted, you will see in blue that the terminal is already in ~/Desktop.


#10

ok thanks a lot.:slight_smile:


#11

This topic was automatically closed after 24 hours. New replies are no longer allowed.