How to install pandasdmx on raspbian raspberry pi - raspberry-pi

I tried to install a pandasdmx package on Raspbian (Linux for Raspberry Pi).
It failed because in is not possible to install libxml2 on the Raspbian.
Here is the error message that I get:
*********************************************************************************
Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
*********************************************************************************
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
Before this, I installed the libxl2 manually using this post, and the installation did seem to work.
Any hint?

I found the answer. The problem was in the libxml installation.
The proper way to do it on raspbian:
Why can't I get `pip install lxml` to work within a virtualenv?

Related

Installing Pillow: "Unable to locate package libwebpmux3"

I am trying to install Pillow on a Raspberry Pi Zero W. I am going through these instructions:
https://brachiograph.readthedocs.io/en/latest/get-started/install.html
When I run:
sudo apt install libwebp6 libtiff5 libjbig0 liblcms2-2 libwebpmux3 libopenjp2-7 libzstd1 libwebpdemux2
I get the error:
E: Unable to locate package libwebpmux3
Any ideas on how to resolve this? Thank you!
I had the same issue when trying to setup a BrachioGraph (https://brachiograph.readthedocs.io/en/latest/get-started/install.html) on Raspberry Pi (Raspbian).
I updated to the latest Raspbian version via the Raspberry Pi website, and was able to install this library.

Unable to locate package ros-kinetic-depthimage-to-laserscan (On Raspberry Pi)

I want to connect my microsoft kinect 360 with ROS on my Raspberry Pi3b. I've already installed Ubuntu and Ros on the Device. I follow the instructions on this link:
https://www.youtube.com/watch?v=eOUjvwyRz9U.
At the installation part
sudo apt install ros-kinetic-depthimage-to-laserscan
I get this Error:
E: Unable to locate package ros-kinetic-depthimage-to-laserscan
I hope you can help me.
Install rosdep and run rosdep update

Error with installing pygame with pip

The following is the EXACT output when running the command sudo python -m pip install pygame on raspberry pi:
Collecting pygame
Using cached pygame-1.9.3.tar.gz
Complete output from command python setup.py egg_info:
WARNING, No "Setup" File Exists, Running "config.py"
Using UNIX configuration...
Hunting dependencies...
SDL : found 1.2.15
FONT : found
IMAGE : found
MIXER : found
PNG : found
JPEG : found
SCRAP : found
PORTMIDI: not found
PORTTIME: not found
FREETYPE: found 2.5.2
Missing dependencies
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-nOupZN/pygame/
I have tried installing pygame in ways without using pip but all of them fail in other ways and I think this problem may be the easiest to fix. I don't mind the missing dependencies. I know error code 1 is "operation not permitted" error, but i did use sudo, so I don't know why this comes up. I apologize for having so much code, but I wanted to provide as much information as possible. I have no idea what the problem is, but if anyone can help it would be a lifesaver.
Notes:
The last line of the output appears in red text in the shell
nOupZN is probably just random; I've tried installing multiple times and that part changes each time
I am using python 2.7.9 and do not wish to switch
I have recently upgraded pip
The error still occurs even when using the --user flag
The error still occurs even when running sudo su beforehand
sudo apt-get install python3-pygame
I've been struggling to learn the right way to install stuff on my Pi too. I've just started this past year, and pretty much new to linux. I've converged on this technique working most of the time.

How do I set up SDL with Codeblocks on Raspbian

I have a program I wrote in windows using the SDL library that I would like to compile for Raspbian. I installed CodeBlocks on the Raspbian and followed these instructions to set up SDL: http://lazyfoo.net/tutorials/SDL/01_hello_SDL/windows/codeblocks/
I get the following error:
g++ -LC:/SDL/lib -o bin/Debug/SDL_menu obj/Debug/main.o
obj/Debug/menu.o -lmingw32 -lSDL2main -lSDL2
obj/Debug/menu.o: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
I later tried this tutorial (which actually matches the version of SDL I am using, although I used the previous tutorial to get it to work on Windows): http://lazyfoo.net/tutorials/SDL/01_hello_SDL/linux/codeblocks/index.php
And I get the error:
ld||cannot find -lSDL2|
I have very little experience with Raspbian or Linux which is probably why this is so difficult.
What can I do to get this set up?
You need to install all SDL2-dev packages.
apt-get install libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev
The include folder will probably be /usr/include/SDL2.
And by inspecting your build command, you're trying to pass Windows style path on a Unix machine, that doesn't end well for sure. Don't link with mingw32 if you're not using Mingw32 compiler, and you should only link against mingw32 on Windows as well.

Unable to locate package ros-indigo-openni-kinect

I am working on raspberry pi B. OS is rasbian and ı have installed ros indigo using this tutorials on raspberry pi. Now ı want to work with raspberry pi + kinect. When ı run
roslaunch openni_launch openni.launch
ı had an error like this
[openni.launch] is neither a launch file in package [openni_launch] nor is [openni_launch] a launch file name The traceback for the exception was written to the log file
Then ı try to install openni but ı had an error is below.
pi#raspberrypi ~ $ sudo apt-get install ros-indigo-openni-kinect
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ros-indigo-openni-kinect
How can ı run kinect on raspberry pi. pls help??
You could have had a look at ROS Answer before asking.
Anyway, as it is explained there, openni-kinect is deprecated and it is suggested to use openni-launch instead.
To install this package:
sudo apt-get install ros-indigo-openni-launch
The only solution I know to get the kinect working on the Raspberry pi? You can retrieve the depth map and the rgb matrix with this library, basically all you need.
Check this out:
https://github.com/xxorde/librekinect
Maybe StackEchange is a friendly zone but in this case ROS answer is the most suited place to ask.