# Help Installing OpenCV on Linux (im bad)

**URL:** <https://forum.opencv.org/t/help-installing-opencv-on-linux-im-bad/11724>\
**Category:** Python\
**Tags:** raspberrypi, programming\
**Created:** [January 22, 2023, 7:03pm UTC](https://forum.opencv.org/t/help-installing-opencv-on-linux-im-bad/11724 "2023-01-22T19:03:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andymator](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@Andymator](https://forum.opencv.org/u/Andymator)\
**Post date:** [January 22, 2023, 7:03pm UTC](https://forum.opencv.org/t/help-installing-opencv-on-linux-im-bad/11724/1 "2023-01-22T19:03:20Z")

</div>

Hi  
I am emberrassed to make this post but here it goes.  
I have used RPis and python for a few years, but never really understood the difference between different python versions, the difference between pip and pip3 or most of the errors I get when I fail to install stuff.

I really want to get OpenCV installed, and I have tried a few times and read instructions on many forums. I have no doubt that OpenCV is great, as well as many of the instructions that I have read, and that the fault lies in me. It is so frustrating knowing that if a knowledgable person would sit at my computer for 2 minutes, everything would work!

So please help me to get OpenCV installed. I understand that to be able to help me, you need to know a few different things. Can we start out by someone telling me what you need to know and how I can get that info?

This is what I get when I try to install on my RPi 3b+ with pip:

```shell
pi@raspberrypi:~ $ pip install opencv-python
Defaulting to user installation because normal site-packages is not writeable
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/opencv-python/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/opencv-python/

```

---

<div class="post-metadata">

**Author:** ![Softwarnet](https://avatars.discourse-cdn.com/v4/letter/s/aeb1de/32.png) [@Softwarnet](https://forum.opencv.org/u/Softwarnet)\
**Post date:** [October 9, 2024, 9:10pm UTC](https://forum.opencv.org/t/help-installing-opencv-on-linux-im-bad/11724/2 "2024-10-09T21:10:40Z")

</div>

sudo apt-get update

```auto
sudo apt-get upgrade

```

sudo apt install python3-opencv

to test:  
sudo apt show python3-opencv
