'installing numpy Raspberry Pi

I have this problem when i install numpy on Raspberry Pi ( Python 3.6.6 without anaconda):

pi@raspberrypi:~/Desktop$ sudo pip3 install numpy
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting numpy
  Could not fetch URL https://pypi.python.org/simple/numpy/: There was a problem confirming the ssl certificate: Can't connect to HTTPS URL because the SSL module is not available. - skipping
  Could not find a version that satisfies the requirement numpy (from versions: )
No matching distribution found for numpy

What went wrong and how can I fix it?



Solution 1:[1]

hmm maybe try to run the command sudo apt install python3-openssl then run the command you were trying before and see if you still have the same issue

If there is still an error then try to install all dependencies for python with sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev

Hope this works :)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1