I am trying to install OpenSSL for Python on windows using command line.
I have tried running the below command:
pip install OpenSSL
I got the following error:
Could not find a version that satisfies the requirement openssl (from versions: )
No matching distribution found for openssl
I also tried doing it as below:
pip install pyopenssl
This succeeded but, when I try running my python script which has the below line, it shows an error:
from OpenSSL import crypto, SSL
Error:
Traceback (most recent call last):
File "C:\Users\ajayv\AppData\Local\Programs\Python\Python36-32\Scripts\ENV\Scripts\PDB Latest 1250\Endpoints\X.509.py", line 1, in <module>
import OpenSSL
ModuleNotFoundError: No module named 'OpenSSL'
Am I missing something? Please let me know.