I am trying to installing DHT22 getting the error E: unable to locate package python-openssl Also same error on while installing different packages
sorry my bad english
Steve Robillard
35k18 gold badges106 silver badges110 bronze badges
asked Apr 8, 2016 at 8:58
-
correct way installing python-openssl on rpi getting error unable to locate package python-opensslMr. Monster– Mr. Monster2016年04月08日 09:00:05 +00:00Commented Apr 8, 2016 at 9:00
-
You should not be adding more info in the comments these details belong in your question (click edit)Steve Robillard– Steve Robillard2016年04月08日 09:01:46 +00:00Commented Apr 8, 2016 at 9:01
-
1root@raspberrypi:/home/pi# sudo apt-get install build-essential python-dev python-opensslMr. Monster– Mr. Monster2016年04月08日 09:07:26 +00:00Commented Apr 8, 2016 at 9:07
1 Answer 1
This is command will install it using apt-get
:
sudo apt-get install python-openssl
answered Apr 8, 2016 at 9:07
-
root@raspberrypi:/home/pi# sudo apt-get install build-essential python-dev python-openssl Reading package lists.. Done Building dependency tree Reading state information... Done E: Unable to locate package python-opensslMr. Monster– Mr. Monster2016年04月08日 09:25:23 +00:00Commented Apr 8, 2016 at 9:25
-
Did you run sudo apt-get update first? What version of raspbian are you using?Steve Robillard– Steve Robillard2016年04月08日 09:31:21 +00:00Commented Apr 8, 2016 at 9:31
-
Yes i done sudo apt-get update & sudo apt-get upgradeMr. Monster– Mr. Monster2016年04月08日 09:35:40 +00:00Commented Apr 8, 2016 at 9:35
-
AND WHAT VERSION OF RASPBIAN ARE YOU USING? ANSWERING HALF THE QUESTION DOESN"T HELP.Steve Robillard– Steve Robillard2016年04月08日 09:38:15 +00:00Commented Apr 8, 2016 at 9:38
-
sorry Linux raspberrypi 4.1.21+Mr. Monster– Mr. Monster2016年04月08日 09:40:42 +00:00Commented Apr 8, 2016 at 9:40