Questions tagged as 'raspberry-pi'

1
answer

import mysql.connector error from the debian shell

I have a script that imports mysql.connector that works correctly from the idle, but when I try to execute them from the shell of the s.o. always throws me the error:    Traceback (most recent call last):       File "/home/pi/Projects...
asked by 11.05.2018 / 22:54
0
answers

Use matplotlib.pyplot in raspberry pi 3B

Good morning, I'm working on raspberry pi 3B, to create a heat map, from a matrix that I generate with numpy, I need to graph it using matplotlib, seeing some examples do the importing like this: import matplotlib.pyplot as plt The problem...
asked by 08.05.2018 / 19:08
0
answers

No program is executed in python

I am programming in python the use of the supersonic sensor HY-SRF05 using a Raspberry Pi 3. The program does not give an error, but it does not show the distance when executed, if I remove the class and the methods and leave only the linear cod...
asked by 09.03.2018 / 23:09
0
answers

Install light wallet IOTA in Raspberry Pi 3

I need to install a light IOTA server on a Raspberry Pi 3 with Ubuntu Mate, I'm a novice in Linux environments and in programming in general. When seeing the GOTHub of IOTA, there are no options to download a version compatible with the RP3, so...
asked by 15.02.2018 / 09:46
1
answer

Do not insert records in mysql database

I have a problem with inserting records in MySQL database with python, using the code shown below I try to insert the values that I show and they do not appear in the DB. I made a query and if it is done correctly, I checked the parameters and a...
asked by 20.02.2018 / 22:35
1
answer

Problems with rastaberry crontab

Hi, I have the following sh called rest.sh (it seeks to kill a program called actu that compiles in c and then rerun it). When I try the script it works correctly, kill the process and run it again. #!/bin/bash kill actu actu...
asked by 24.10.2017 / 03:51
1
answer

Upload temperature data to a SQL database

Hello! I have a small project to upload temperature data to a database from a raspberry pi 3. I have seen several tutorials, but none of them have worked for me until now or the libraries that I download do not work. What should I do to ge...
asked by 31.07.2017 / 23:37
1
answer

Run command or script in Raspberry Pi barely turn on [closed]

BUENAS wanted to ask how it could be done so that a script or a command runs on a raspberry pi 3 as soon as it turns on. I need this to run format.js and .cmd commands     
asked by 08.06.2018 / 08:40
1
answer

Own domain without fixed IP

I bought the domain suspekain.eus in dinahosting I have ekain.duckdns.org pointing to my web server (raspberry pi) suspekain.eus redirects to ekain.duckdns.org The problem is that I want my domain to appear on my page and n...
asked by 06.03.2018 / 12:50