3

There's a service that run only on the first boot, then disables itself. It's a Debian SysV style script in /etc/init.d, resize2fs_once. It does this: log_daemon_msg "Starting resize2fs_once" ROOT_DEV=$(findmnt / -o source -n) && resize2fs $ROOT_DEV && update-rc.d resize2fs_once remove && rm /etc/init.d/...


3

unrar-nonfree can be installed from Debian armhf repository (it's simply called unrar there). For example, in Raspbian Buster you can run: wget -qO - https://ftp-master.debian.org/keys/archive-key-10.asc | sudo apt-key add - echo deb http://deb.debian.org/debian buster main contrib non-free | sudo tee -a /etc/apt/sources.list sudo apt-get update sudo apt-...


3

I'm curious what you might be encountering, because I have installed the latest versions of Raspbian on my oldest RPi devices and I haven't experienced any issues. Supported Python Versions can be found here: enter link description here


2

Yes, as long as the signal is 3V3 compatible. You could use the Pi's UART RX pin (pin 10, GPIO 15) and the standard Linux serial software. That will handle standard baud rates (say up to 1 Mbps). Alternatively you can use a general GPIO (any other GPIO on the extension header) and software serial. That should be good up to 19k2 bps or so.


2

I managed to install scipy with "pip install scipy", after many attempts, by increasing swap size to 2048 on a Raspberry 4 with 2 Gb.


2

You have not told us which sleep() function you are using. If you are using the one in the time module then it does support fractional times. https://docs.python.org/3/library/time.html#time.sleep time.sleep(secs) Suspend execution of the calling thread for the given number of seconds. The argument may be a floating point number to indicate a ...


2

It's not clear from your question what you observed, but it might be because it gets booted twice the first time, once to resize the file system and again to start up "for real."


1

You have to install the SSL headers and libraries before compiling Python. Either install them using sudo apt install libssl-dev, or (cross) compile them from source. When running the Python configure script, check the output before compiling. It'll tell you what packages are missing.


1

The Pi Camera socket is the same on all boards except for the Pi Zero which has a smaller socket.


1

Running different versions of python is not an issue of the hardware, means version of a Raspberry Pi. It is an issue of the version of the Raspbian distribution. A specific python version is integrated into the distribution with its shared libraries and tested that it runs there without dependency and version problems. Raspbian Stretch comes with python 3.5,...


1

It seems that apt or one of the shared library it uses is broken. apt depends on apt-get so you can try: rpi ~$ sudo apt-get update If it doesn't work then you can try to download the apt package and install it again with dpkg in the hope it will repair the broken programs. But first make a backup from your SD Card and check if you can restore it! # ...


1

The permissions of a NFS mount is determined by its export on the NFS server. You should check its setting in /etc/exports on the NFS server. There are many options to define the permissions; just to point you in the right direction because it is out of scope here on Raspberry Pi.


Only top voted, non community-wiki answers of a minimum length are eligible