0

I have to make a iBeacon reciever for my Raspberry Pi and I have tried to follow this guide: http://www.switchdoc.com/2014/08/ibeacon-raspberry-pi-scanner-python/

The problem is that when I try the command: sudo python testblescan.py

I get the following message: "python: can't open file 'testblescan.py': [Errno 2] No such file or directory"

I'm accessing the Raspberry Pi through PuTTY.

Cœur
  • 37,241
  • 25
  • 195
  • 267
Poll3XD
  • 1
  • 5

1 Answers1

0

If you followed the instructions exactly then testblescan.py should be in the blescanner sub-directory of your home directory. Try

cd ~/blescanner

before you attempt to run the program. Then the Python interpreter should be able to find it.

If for some reason the program has ended up in another directory then you will need to cd to that instead.

holdenweb
  • 33,305
  • 7
  • 57
  • 77