yes i did, useless
in your comand terminal type the following:
-
python
-
python3
and see what is the version of the python you have.
I`m re-installing Raspbian current time (4th time), want to try first install python and after that use update and upgrade. So I will try all combinations. Python version was 3.5.2 if I remember right.
cool. First do sudo apt-get update and sudo apt-get upgrade. then do the cayenne install command.
I did it previous time, it doesn`t work, so I will try first install the last version of python. By the way, the last installed version was 3.5.3.
yes that is the version i have and it did not cause any error at my end while installing. so once you have update and upgrade. see what version is python, if 3.5.3 then go ahead and do cayenne installation, if any error please post the entire output for command terminal here.
Got it, thank you!
Finally, it works. The main problem was in synchronization with NTP server. After making changes and some manual correction all worked correctly. Now it is time for experiments.
nice to hear that it is working. looking forward to seeing what you are making with cayenne
if you need any help, feel free to ask.
Hi, i have the same error here. Iām using a new sd card and a new Pi to move my stuff fromt he previous cayenne setup. Iām using the latest raspbian release (April 2018) and tested with both RASPBIAN STRETCH LITE and RASPBIAN STRETCH WITH DESKTOP. And yesterday i decided to give it another try, this time i used NOOBS to install RASPBIAN STRETCH WITH DESKTOP, but the error still happens. You can find a log in the attached text file, it contains all the steps after the raspbian installation until i got the Python install error.
Thanks and regards
Sergio
Cayenne log.txt (53.7 KB)
thank you for log file, i will put this to the engineer and see what is causing the installation to fail.
@sergio.agostinho Thatās strange, Iām not sure what is causing the failure. Seems like it might be having issues installing some dependencies. Can you try manually installing the psutil package to see if that works using this command?
sudo pip3 install psutil
Please post the output you get from that. Also can you send me your setup log file at /var/log/myDevicesSetup
? Thanks.
Hi jburhenn,
it canāt download the paho-mqqt package as you can see in the log below:
Download error on https://pypi.python.org/simple/paho-mqtt/: [Errno 104] Connection reset by peer ā Some packages may not be found!
Couldnāt find index page for āpaho-mqttā (maybe misspelled?)
Download error on https://pypi.python.org/simple/: [Errno 104] Connection reset by peer ā Some packages may not be found!
No local packages or working download links found for paho-mqtt
error: Could not find suitable distribution for Requirement.parse(āpaho-mqttā)
- ā[ā 1 -ne 0 ā]ā
- normalEcho āBuild for Python 3.5.3 failedā
++ date - echo āMon Jun 25 20:16:21 GMT 2018 Build for Python 3.5.3 failedā
- exit 1
You can find the requested log info in the attached text files.
Regards
Sergio
Console log.txt (25.2 KB)
myDevicesSetup.txt (9.4 KB)
Can you try manually installing paho-mqtt using sudo pip3 install psutil
? If that works then maybe itās an issue with setuptools. You can try updating that using sudo pip3 install --upgrade setuptools
and then re-running the install and see if you still get an error. If you do please provide the output again. Thanks.
sudo pip3 install psutil
was already successfully installed when you asked in your previous answer;
sudo pip3 install --upgrade setuptools
was successfully updated;
The erro ris still the same, as you see below, it looks like pypi.org is not available anymoreā¦
Download error on https://pypi.org/simple/paho-mqtt/: [Errno 104] Connection reset by peer ā Some packages may not be found!
Couldnāt find index page for āpaho-mqttā (maybe misspelled?)
Download error on https://pypi.org/simple/: [Errno 104] Connection reset by peer ā Some packages may not be found!
No local packages or working download links found for paho-mqtt
error: Could not find suitable distribution for Requirement.parse(āpaho-mqttā)
- ā[ā 1 -ne 0 ā]ā
- normalEcho āBuild for Python 3.5.3 failedā
++ date - echo āMon Jun 25 22:11:06 GMT 2018 Build for Python 3.5.3 failedā
- exit 1
Sorry, my mistake. I meant can you try sudo pip3 install paho-mqtt
? You might also try sudo pip3 install --upgrade wheel
.
What changes did you make?
Thanks.
Now, after your requests i got:
Download error on https://pypi.org/simple/netifaces/: [Errno 104] Connection reset by peer ā Some packages may not be found!
Couldnāt find index page for ānetifacesā (maybe misspelled?)
Download error on https://pypi.org/simple/: [Errno 104] Connection reset by peer ā Some packages may not be found!
No local packages or working download links found for netifaces>=0.10.5
error: Could not find suitable distribution for Requirement.parse(ānetifaces>=0.10.5ā)
- ā[ā 1 -ne 0 ā]ā
- normalEcho āBuild for Python 3.5.3 failedā
++ date - echo āTue Jun 26 11:41:43 GMT 2018 Build for Python 3.5.3 failedā
- exit 1
Then after sudo pip3 install netifaces
i got:
Download error on https://pypi.org/simple/jsonpickle/: [Errno 104] Connection reset by peer ā Some packages may not be found!
Couldnāt find index page for ājsonpickleā (maybe misspelled?)
Download error on https://pypi.org/simple/: [Errno 104] Connection reset by peer ā Some packages may not be found!
No local packages or working download links found for jsonpickle
error: Could not find suitable distribution for Requirement.parse(ājsonpickleā)
- ā[ā 1 -ne 0 ā]ā
- normalEcho āBuild for Python 3.5.3 failedā
++ date - echo āTue Jun 26 11:44:13 GMT 2018 Build for Python 3.5.3 failedā
- exit 1
Then, after sudo pip3 install jsonpickle
i got:
Download error on https://pypi.org/simple/iwlib/: [Errno 104] Connection reset by peer ā Some packages may not be found!
Couldnāt find index page for āiwlibā (maybe misspelled?)
Download error on https://pypi.org/simple/: [Errno 104] Connection reset by peer ā Some packages may not be found!
No local packages or working download links found for iwlib
error: Could not find suitable distribution for Requirement.parse(āiwlibā)
- ā[ā 1 -ne 0 ā]ā
- normalEcho āBuild for Python 3.5.3 failedā
++ date - echo āTue Jun 26 11:46:22 GMT 2018 Build for Python 3.5.3 failedā
- exit 1
Then, after sudo pip3 install iwlib
i got:
Collecting iwlib
Could not find a version that satisfies the requirement iwlib (from versions: )
No matching distribution found for iwlib
And it still doesnāt work, and my alarm triggers are not working, and i think it was a mistake to stop the agent 1 without giving the possibility to correctly upgrade to version 2, but thatās only my personal opinion of courseā¦
which triggers are not working?