TLS/SSL error

Hi, I have created virtual env in pycharm and tried installing pip install rasa-x --extra-index-url https://pypi.rasa.com/simple

but I am getting this error.

WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting rasa
  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/rasa/
  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/rasa/
  WARNING: Retrying (Retry(total=2, 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/rasa/
  WARNING: Retrying (Retry(total=1, 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/rasa/
  WARNING: Retrying (Retry(total=0, 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/rasa/
  Could not fetch URL https://pypi.org/simple/rasa/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Ma
x retries exceeded with url: /simple/rasa/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
  ERROR: Could not find a version that satisfies the requirement rasa (from versions: none)

##need help

This looks like an issue with your python environment. I found a discussion of this issue on stackoverflow with solutions for Mac and Windows.