0

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
3
  • correct way installing python-openssl on rpi getting error unable to locate package python-openssl Commented Apr 8, 2016 at 9:00
  • You should not be adding more info in the comments these details belong in your question (click edit) Commented Apr 8, 2016 at 9:01
  • 1
    root@raspberrypi:/home/pi# sudo apt-get install build-essential python-dev python-openssl Commented Apr 8, 2016 at 9:07

1 Answer 1

0

This is command will install it using apt-get:

sudo apt-get install python-openssl
answered Apr 8, 2016 at 9:07
11
  • 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-openssl Commented Apr 8, 2016 at 9:25
  • Did you run sudo apt-get update first? What version of raspbian are you using? Commented Apr 8, 2016 at 9:31
  • Yes i done sudo apt-get update & sudo apt-get upgrade Commented Apr 8, 2016 at 9:35
  • AND WHAT VERSION OF RASPBIAN ARE YOU USING? ANSWERING HALF THE QUESTION DOESN"T HELP. Commented Apr 8, 2016 at 9:38
  • sorry Linux raspberrypi 4.1.21+ Commented Apr 8, 2016 at 9:40

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.