Problem with Installing cayenne to raspberry pi from PC

Thank you for taking the time to submit your bug/issue! Please use the points below as a guide when submitting.

Hi,

I’m having problem to install cayenne on raspberry pi using the PC over ssh using the following commands:

wget http://responsive.mydevices.com/rpi/rpi_b5yh71zg6.sh
sudo sh rpi_b5yh71zg6.sh

Using:

  • Raspberry model A+
  • Web

Thanks in advance.

Hi @erickjbarbosa,

Welcome to the Cayenne Community!

So this is a little odd, I can see that the wget command is failing here because that file isn’t on the server, but I wouldn’t have expected you to be served a URL on responsive.mydevices.com (I would expect cayenne.mydevices.com here).

I’m going to investigate quickly with our team, but may I ask if you got those commands from the ‘Option 2’ section when trying to add a Raspberry Pi while logged into your Cayenne account? If so, what login page did you use? If not, where did you get those commands?

Hi,

Thanks for the response, i get from the youtube video (image attached)

I try to install from the mobile app and the app stay on step 3 for more
than 20 minutes, doesnt continue.

Ah, that’s how you got that URL. If you follow what @rsiegel said you should be able to get the correct URL from your dashboard. That file you are downloading is unique to you so you can’t use the one from the video.

Hi,

Its true sorry, i do that and still in a loop and doesnt

Hi,

Its true sorry, i do that and still in a loop and doesnt

adam http://community.mydevices.com/users/adam Leader
November 16

Ah, that’s how you got that URL. If you follow what @rsiegel
http://community.mydevices.com/users/rsiegel said you should be able
to get the correct URL from your dashboard. That file you are downloading
is unique to you so you can’t use the one from the video.
rsiegel:

got those commands from the ‘Option 2’ section when trying to add a
Raspberry Pi while logged into your Cayenne account?


Visit Topic
http://community.mydevices.com/t/problem-with-installing-cayenne-to-raspberry-pi-from-pc/1644/4
or reply to this email to respond.

In Reply To
erickjbarbosa http://community.mydevices.com/users/erickjbarbosa
November 16
Hi, Thanks for the response, i get from the youtube video (image
attached) I try to install from the mobile app and the app stay on step 3
for more than 20 minutes, doesnt continue. [image]
https://community.mydevices.com/uploads/short-url/uKwpdoItyP1hNXBx595HWPDcWDH.png

Visit Topic
http://community.mydevices.com/t/problem-with-installing-cayenne-to-raspberry-pi-from-pc/1644/4
or reply to this email to respond.

To unsubscribe from these emails, click here
http://community.mydevices.com/email/unsubscribe/af1de44b6a60c14733854a028e5bf24febbb11c8977c2021ed6dca08e01640a5
.

Erick J. Barbosa CruzSr. Software Developer
787-538-6046 <787-538-6046>

Hi,

Sorry for the incomplete email, Its true sorry, i do that with the new
command and still in a loop and doesn’t end. i attach the image of the
output.

Hi,

Im expand the sd on raspberry pi and still the same problem installing
python. Any help with this? I need to install python first?

Generally when we’ve seen that python error, it’s that you have an out of date build of Raspbian. Please try the following commands, then try Cayenne installation again:

sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade sudo apt-get install python3.4 sudo apt-get -f install

Hi,

Now it works, on this order.

sudo apt-get -f install
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get install python3.4

Thanks for all the help and patience.

Glad to hear it Erick, thanks for letting us know!

I am having a similar problem. I have run this set of commands on a recent Raspbian Lite install a couple of times, but still stall at the Python build. Does it need to be Raspbian (Jesse) full?

sudo apt-get -f install
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get install python3.4

The error I get is

Mon 21 Nov 06:24:28 UTC 2016 Installing software components
Mon 21 Nov 06:24:29 UTC 2016 Trying to install myDevices for python3 version: Python 3.4.2
Mon 21 Nov 06:24:30 UTC 2016 Build for Python 3.4.2 failed\n

Any ideas?

Fails for me too :
/home/pi/myDevices-1.0/setup.sh: line 353: 11112 Illegal instruction $python setup.py install --force --record “${uninstallpath}/installed_agent”