View: 3128|Reply: 2

Problem with rapstank project

[Copy link]

1

Threads

1

Posts

7

Credits

Newbie

Rank: 1

Credits
7
Post time 2025-6-10 08:12:08 | 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

0

Threads

3

Posts

10

Credits

Newbie

Rank: 1

Credits
10
Post time The day before yesterday 04:12 PM | Show all posts
Ensure the bladeRF is properly connected via USB 3.0 to your computer. A loose connection or USB 2.0 port can cause detection issues.
Reply

Use magic Report

0

Threads

1

Posts

6

Credits

Newbie

Rank: 1

Credits
6
Post time The day before yesterday 05:49 PM | Show all posts
Instead of patching old scripts line by line, it's better to refactor the entire project's startup into a systemd unit file. This ensures long-term compatibility with any Raspberry Pi OS updates and increases security and stability.
Reply

Use magic Report

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

Points Rules