I am using Pi 4. So few days back I installed two libraries httplib and urllib to run a code. But recently I found out that both these libraries are missing. So when I try to reinstall them again using sudo apt-get install httplib it is showing unable to locate package. Please help.

  • Not Pi specific. You need to find the package which contains the library. Perhaps use apt-cache search on the library.
    – joan
    Commented Oct 20, 2020 at 16:56
  • like sudo apt-cache httplib? Commented Oct 20, 2020 at 17:01
  • 1
    More like apt-cache search httplib
    – joan
    Commented Oct 20, 2020 at 17:13

1 Answer 1


So after a bit of digging I found out that the httplib library has been updated to http.client while the urllib is same, its atrributes have changed to some extent.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.