Has anyone managed to run scrapy-splash on raspberry pi? - raspberry-pi

Has anyone managed to run scrapy-splash on raspberry pi? It seems that I need to build pyqt5 libraries for armv7 architecture, but I don't have experience in this field

Related

Raspberry Pi Pico - Install External Libraries/API

I need to use a device to connect and control via a Raspberry Pi Pico.
The device has its own libraries and API with the commands needed to operate it, I have already done this procedure on a Raspberry Pi Zero W on Raspbian by downloading and compiling the API for this device and it works.
How can I compile or install these libraries so that the commands are recognised on the script to be uploaded to the Raspberry Pi Pico, as it does not have an operating system?
Thank you

Attempting to install Clarinet on raspberry pi 3b

I downloaded clarinet from here and am following the installation guide, however I get this error when installing on a raspberry pi:
failed to add native library/home/pi/clarity/clarinet/target/release/gn_out/obj/librusty_v8.a: file too small to be an archive
Does anyone know how to fix this/install clarinet on a raspberry pi?
without knowing much about your environment, to build on arm, there are few things you should be aware of:
there is no musl support, clang is probably best (https://github.com/denoland/rusty_v8/issues/49, I know it says x86_64, but probably same issues on arm)
there is no prebuilt arm binaries (https://github.com/denoland/rusty_v8/releases/)
so you'll probably need to build rusty_v8 from source

Adacore Gnat for Raspberry Pi Zero

I started playing around with Adacore Gnat 2016 for Raspberry Pi. After a few trivial tests on the Raspberry Pi 2 I switched to the Raspberry Pi Zero W and everything failed. I was a bit naive and completely ignored that there is an ARMv7 on the RPi 2 while it is an ARMv6 on the RPi Zero.
Now I'm wondering whether it would be possible to rebuild Adacore Gnat for ARMv6 and the RPi Zero.
Could anyone give me a hint? Or has anyone done it before?
As you have discovered, the AdaCore GNAT GPL only works for Raspberry Pi 2 and 3. But included in Raspbian, there is a native FSF GNAT toolchain, see https://www.makewithada.org/entry/ada_linux_sensor_framework. Will that work for you?
It is possible to recompile for ARMv6. The sources can be found in the same place as the binary you already downloaded. Cross-compiling is a bit of a hassle, but is doable with patience following the instructions, see e.g. https://solarianprogrammer.com/2017/12/07/raspberry-pi-raspbian-compiling-gcc/ for ARMv6 example. Download the GNAT source and follow the instructions there, e.g add 'ada' to --enable-languages in the example above.

How do i make the Raspberry Pi use a Custom OS

I have made an OS is cosmos, but I cant seem to get the Raspberry Pi to actually boot the OS up. I made a bootable SD card and USB stick but the raspberry pi doesn't load anything up.
Cosmos os only supports the x86 processor type. All versions of the raspberry pi either use ARM_6 or ARM_7. A completely different type. So what I'm saying is Cosmos OS won't work on your raspberry pi because it was made for computers with a different type of computer chip. For your raspberry pi I suggest you use raspian which is the operating system the Raspberry Pi Foundation suggests using. You can download it here.

NW.js build doesn't open for Raspberry Pi (Raspbian)

I have a desktop application (built with NW.js and the node-webkit-builder) that runs smoothly on Windows and OS X, however, I can't seem to open the executable on the Raspberry Pi. The NW.js builder outputs the 32- and 64-bit Linux distributions, as well, that I assume should operate on Raspbian or Ubuntu MATE. However, I keep getting the error:
cannot open the application since there isn't a readable executable.
Even after chmod +x the application, it doesn't work.
raspberry pi use arm architecture, you may checkout this: https://github.com/toxygen/armhf-node-webkit
Rasp Pis are using ARM processors and not the x32 and x64 processors the NW.js binaries support.
You will need to download a prebuilt for the ARM or build it yourself.
Here is a link to a prebuilt for 0.12.0. You will package your app just like you would on a x32/x64 machine.
Unfortunately ARM is still not an officially supported platform and if you wish to have prebuilts you will have to depend on community members/contributors.
You need the binary port of NW.js (node-webkit) for Raspberry Pi.
I have just created a repository with the node-webkit binary port that runs on Raspbian, tested and working on Raspberry Pi 1 and Raspberry Pi 3 so it is ARMv6 and ARMv7 compatible.
Here you can check it: https://github.com/jalbam/nwjs_rpi