Error while installing Flask and Paho mqtt for Pi-Strech - pi

For Pi- ESP8266 mqtt communication, I tried to install Flask and Paho for RPi but I am getting this error when I type sudo apt-get upgrade
How do I fix this issue?

Related

arduino nodemcu error compiling for board esp32

when compiling a code in Arduino Idea get this error:
Traceback (most recent call last):
File "/home/user/.arduino15/packages/esp32/tools/esptool_py/2.6.1/esptool.py", line 37, in
import serial
ImportError: No module named serial
exit status 1
Error compiling for board DOIT ESP32 DEVKIT V1.
you should install serial package.
use this code:
# For debian base linux
sudo apt-get install python-serial
# For Centos
sudo yum install python3-serial
# For Fedora
sudo dnf install python3-serial
sudo apt-get install python-serial
This worked for me. I am using a Linux Machine.

Install kaa single-node 0.10.0 or 0.11.0 on Ubuntu 18.10

is Kaa single-node compatible with Ubuntu 18.10?
If i install on Ubuntu 16.04 it works, on Ubuntu 18.10 everything seems starting right but when i try connecting to http://localhost:8080/kaaAdmin it shows that "it couldn't connect to the page" (in Ubuntu 16.04 works). Is it a firewall problem?
I followed kaa installation guide (configuring zookeeper, mongodb etc)
Kaa's logs are empty (no errors, no warnings)...
I also tried compiling kaa 0.11.0 from source and this situation persists.
Greetigs,
kaa_newbie.
EDIT: It's a Zookeeper problem! Kaa works only on Zookeeper v3.4.8. If I install this version on Ubuntu 18.10, it works!
It's a Zookeeper problem! Kaa works only on Zookeeper v3.4.8. If I install this version on Ubuntu 18.10, it works!

Zookeeper set up for Kaa

I'm trying to set up kaa v0.10.0 on ubuntu 14.04 LTS. To install zookeper I used the following command.
sudo apt-get install zookeeper
But it fails to start when I start the kaa-node service.
But when I install the package zookeeperd (seen in older kaa versions documentation sudo apt-get install zookeeperd), it works fine.
Can anyone please clarify which is the correct zookeeper package for kaa 0.10? - zookeeper or zookeeperd
From few of my experiences in deploying Kaa, I don't think Zookeeper will start automatically after installation, perhaps you can start it manually before starting Kaa-node.

Installing OpenSSL on CentOS vagrant box gives 404 error

I'm running a CentOS 6 vagrant virtual machine under VMWare Fusion. The machine is working well. I need to test LDAP over SSL which requires me to install OpenSSL, so I ran sudo yum install openssl and I get the following errors:
http://mirror5.layerjet.com/remi/enterprise/6/remi/x86_64/repodata/repomd.xml: [
Errno 14] PYCURL ERROR 7 - "Failed to connect to 2a01:4f8:11a:b1f::1: Network is
unreachable"
Trying other mirror.
http://apt.sw.be/redhat/el6/en/x86_64/extras/repodata/repomd.xml: [Errno 14] PYC
URL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: repoforg
eextras. Please verify its path and try again
Googling this error led me to try and clear the metadata cache with sudo yum clean metadata and sudo yum clean all, both of which evidently work but when I try and install OpenSSL I get the same errors.

Trying to install redmine with nginx and passenger

I try to install redmine in an Ubuntu 12.04 server with nginx and passenger running in port 3001.
I followed this tutorial
but I get the following error:
Bundler is there and when I run gem list bundler I get:
* LOCAL GEMS *
bundler (1.7.10, 1.7.9, 1.7.6, 1.0.21)
Can anybody help me to handle this error with bundler?

Resources