'Jenkins checkout git repo for Python module

I am running a python script in Jenkins that throws this error:

+ python certcheck.py
Traceback (most recent call last):
  File "certcheck.py", line 3, in <module>
    from OpenSSL import SSL
ImportError: No module named OpenSSL

How can I watch/checkout the pyopenssl repository to fulfill this python dependency? I was looking at this solution



Sources

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

Source: Stack Overflow

Solution Source