myDevices cannot be installed


#1

myDevices cannot be installed

pi@raspberrypi:~/myDevices-1.0 $ uname -a
Linux raspberrypi 4.9.59+ #1047 Sun Oct 29 11:47:10 GMT 2017 armv6l GNU/Linux

pi@raspberrypi:~ $ wget https://cayenne.mydevices.com/dl/rpi_dqb9xjxdg8.sh
–2018-03-12 10:30:44-- https://cayenne.mydevices.com/dl/rpi_dqb9xjxdg8.sh
Resolving cayenne.mydevices.com (cayenne.mydevices.com)… 52.4.59.26, 34.226.23.0
Connecting to cayenne.mydevices.com (cayenne.mydevices.com)|52.4.59.26|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 1295 (1.3K) [binary/octet-stream]
Saving to: ‘rpi_dqb9xjxdg8.sh’

rpi_dqb9xjxdg8.sh 100%[===============================>] 1.26K --.-KB/s in 0.001s

2018-03-12 10:30:45 (2.08 MB/s) - ‘rpi_dqb9xjxdg8.sh’ saved [1295/1295]

pi@raspberrypi:~ $ sudo bash rpi_dqb9xjxdg8.sh -v
rpi_dqb9xjxdg8.sh
continuing as new install…
–2018-03-12 10:30:55-- https://updates.mydevices.com/raspberry/myDevices-1.0.tar.gz
Resolving updates.mydevices.com (updates.mydevices.com)… 54.148.225.117
Connecting to updates.mydevices.com (updates.mydevices.com)|54.148.225.117|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 9247824 (8.8M) [application/x-gzip]
Saving to: ‘/home/pi/myDevices-1.0.tar.gz’

/home/pi/myDevices-1.0.t 100%[===============================>] 8.82M 159KB/s in 66s

2018-03-12 10:32:02 (137 KB/s) - ‘/home/pi/myDevices-1.0.tar.gz’ saved [9247824/9247824]

./myDevices-1.0/
./myDevices-1.0/._.DS_Store
./myDevices-1.0/.DS_Store
./myDevices-1.0/3rd_party/
./myDevices-1.0/addCron.sh
./myDevices-1.0/ca.crt
./myDevices-1.0/crontab.sh
./myDevices-1.0/deb/
./myDevices-1.0/dev_network.ini
./myDevices-1.0/libs/
./myDevices-1.0/live_network.ini
./myDevices-1.0/package
./myDevices-1.0/preprod_network.ini
./myDevices-1.0/python/
./myDevices-1.0/qa1_network.ini
./myDevices-1.0/qa2_network.ini
./myDevices-1.0/reboot_install.sh
./myDevices-1.0/scripts/
./myDevices-1.0/setup.sh
./myDevices-1.0/stg_network.ini
./myDevices-1.0/uninstall.sh
./myDevices-1.0/scripts/config.sh
./myDevices-1.0/scripts/tightvncsetup.sh
./myDevices-1.0/scripts/webiopisetup.sh
./myDevices-1.0/python/myDevices/
./myDevices-1.0/python/myDevices.init.sh
./myDevices-1.0/python/myDevices.service
./myDevices-1.0/python/myDevices.sh
./myDevices-1.0/python/setup.py
./myDevices-1.0/python/myDevices/init.py
./myDevices-1.0/python/myDevices/main.py
./myDevices-1.0/python/myDevices/cloud/
./myDevices-1.0/python/myDevices/ipgetter/
./myDevices-1.0/python/myDevices/os/
./myDevices-1.0/python/myDevices/remoteaccess/
./myDevices-1.0/python/myDevices/requests_futures/
./myDevices-1.0/python/myDevices/schedule/
./myDevices-1.0/python/myDevices/sensors/
./myDevices-1.0/python/myDevices/test/
./myDevices-1.0/python/myDevices/utils/
./myDevices-1.0/python/myDevices/wifi/
./myDevices-1.0/python/myDevices/wifi/init.py
./myDevices-1.0/python/myDevices/wifi/WifiManager.py
./myDevices-1.0/python/myDevices/wifi/wifisetup.py
./myDevices-1.0/python/myDevices/wifi/WirelessLib.py
./myDevices-1.0/python/myDevices/utils/init.py
./myDevices-1.0/python/myDevices/utils/config.py
./myDevices-1.0/python/myDevices/utils/crypto.py
./myDevices-1.0/python/myDevices/utils/history.py
./myDevices-1.0/python/myDevices/utils/logger.py
./myDevices-1.0/python/myDevices/utils/mutex.py
./myDevices-1.0/python/myDevices/utils/singleton.py
./myDevices-1.0/python/myDevices/test/all_tests.py
./myDevices-1.0/python/myDevices/test/cloud_test.py
./myDevices-1.0/python/myDevices/test/config_test.py
./myDevices-1.0/python/myDevices/test/history_test.py
./myDevices-1.0/python/myDevices/test/remoteaccess_test.py
./myDevices-1.0/python/myDevices/test/scheduler_test.py
./myDevices-1.0/python/myDevices/test/sensors_test.py
./myDevices-1.0/python/myDevices/test/updater_test.py
./myDevices-1.0/python/myDevices/sensors/init.py
./myDevices-1.0/python/myDevices/sensors/client.py
./myDevices-1.0/python/myDevices/sensors/sensors.py
./myDevices-1.0/python/myDevices/schedule/init.py
./myDevices-1.0/python/myDevices/requests_futures/init.py
./myDevices-1.0/python/myDevices/requests_futures/sessions.py
./myDevices-1.0/python/myDevices/remoteaccess/init.py
./myDevices-1.0/python/myDevices/os/init.py
./myDevices-1.0/python/myDevices/os/cpu.py
./myDevices-1.0/python/myDevices/os/daemon.py
./myDevices-1.0/python/myDevices/os/getsysteminfo.py
./myDevices-1.0/python/myDevices/os/raspiconfig.py
./myDevices-1.0/python/myDevices/os/services.py
./myDevices-1.0/python/myDevices/os/systeminfo.py
./myDevices-1.0/python/myDevices/os/threadpool.py
./myDevices-1.0/python/myDevices/ipgetter/init.py
./myDevices-1.0/python/myDevices/cloud/init.py
./myDevices-1.0/python/myDevices/cloud/actions.py
./myDevices-1.0/python/myDevices/cloud/cayenneclient.py
./myDevices-1.0/python/myDevices/cloud/client.py
./myDevices-1.0/python/myDevices/cloud/dbmanager.py
./myDevices-1.0/python/myDevices/cloud/download_speed.py
./myDevices-1.0/python/myDevices/cloud/installer.py
./myDevices-1.0/python/myDevices/cloud/scheduler.py
./myDevices-1.0/python/myDevices/cloud/trigger.py
./myDevices-1.0/python/myDevices/cloud/updater.py
./myDevices-1.0/python/myDevices/cloud/vcom_id.py
./myDevices-1.0/libs/libSystemInformation.so
./myDevices-1.0/deb/debian_dependencies.txt
./myDevices-1.0/deb/download.sh
./myDevices-1.0/deb/install
./myDevices-1.0/deb/install_packages.sh
./myDevices-1.0/deb/libiw-dev/
./myDevices-1.0/deb/package
./myDevices-1.0/deb/python3-setuptools/
./myDevices-1.0/deb/tightvncserver/
./myDevices-1.0/deb/tightvncserver/expect_5.45-2_armhf.deb
./myDevices-1.0/deb/tightvncserver/install
./myDevices-1.0/deb/tightvncserver/libjpeg62-turbo_1.4.1-2_armhf.deb
./myDevices-1.0/deb/tightvncserver/tightvncserver_1.3.9-6.6_armhf.deb
./myDevices-1.0/deb/tightvncserver/xfonts-base_1.0.4+nmu1_all.deb
./myDevices-1.0/deb/python3-setuptools/install
./myDevices-1.0/deb/python3-setuptools/python3-pkg-resources_0.6.24-1_all.deb
./myDevices-1.0/deb/python3-setuptools/python3-setuptools_0.6.24-1_all.deb
./myDevices-1.0/deb/libiw-dev/install
./myDevices-1.0/deb/libiw-dev/libiw-dev_30~pre9-8_armhf.deb
./myDevices-1.0/3rd_party/enum34-1.0.4.tar.gz
./myDevices-1.0/3rd_party/install
./myDevices-1.0/3rd_party/install_packages.sh
./myDevices-1.0/3rd_party/iwlib-1.5.tar.gz
./myDevices-1.0/3rd_party/jsonpickle-0.9.2.tar.gz
./myDevices-1.0/3rd_party/netifaces-0.10.4.tar.gz
./myDevices-1.0/3rd_party/package
./myDevices-1.0/3rd_party/psutil-0.6.0.tar.gz
./myDevices-1.0/3rd_party/requests.tar.gz
./myDevices-1.0/3rd_party/suds-jurko-0.6.tar.gz

  • set -x
  • exec
    (0%)
    Mon 12 Mar 10:32:04 UTC 2018 Installing myDevices agent
    0
    Mon 12 Mar 10:33:05 UTC 2018 Found Python 3.5.3…
    (50%)
    Mon 12 Mar 10:33:05 UTC 2018 Copying agent libraries
    (55%)
    Mon 12 Mar 10:33:12 UTC 2018 Installing python utils
    (60%)
    Mon 12 Mar 10:33:48 UTC 2018 Installing software components
    Mon 12 Mar 10:33:49 UTC 2018 Cannot install for Python 3.5.3 : missing development headers\n
    Mon 12 Mar 10:33:49 UTC 2018 Finished agent code
    Mon 12 Mar 10:33:49 UTC 2018 ERROR: myDevices cannot be installed - please check errors above

#2

Hi @galkinletter,

Do you have a fresh install of Raspbian on your RPi?
If not, maybe try reinstalling it by formatting your SD Card, & downloading Rasbian again: https://www.raspberrypi.org/downloads/raspbian/

Let me know if this works.
Thanks.


#3

Hello!

I in my case it was resolved just
sudo apt-get install python3-pip
before
sudo bash rpi_dqb9xjxdg8.sh -v


#4

Just sudo apt-get install python3-pip :slight_smile: