View: 982|Reply: 0

Problem with rapstank project

[Copy link]

1

Threads

1

Posts

7

Credits

Newbie

Rank: 1

Credits
7
Post time The day before yesterday 08:12 AM | Show all posts |Read mode
I have a problem installing the "Dependency Library of Program".

I have a raspberry pi 3b+ with 64bit OS.

when executing the sentence "sudo python3 adeept_rasptank2/setup_HAT_V3.1.py"


I got this error message .

File "/home/pi/adeept_rasptank2/setup_HAT_V3.1.py", line 184, in <module>
    replace_num('/etc/rc.local','fi','fi\n/'+ user_home +'/startup.sh start')
  File "/home/pi/adeept_rasptank2/setup_HAT_V3.1.py", line 20, in replace_num
    with open(file,"r") as f:
         ^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/etc/rc.local'


so I can't continue with the other parts of the installation
I'd like your help with this problem please.
Reply

Use magic Report

You have to log in before you can reply Login | Sign Up

Points Rules