I just installed pip, installed a few packages np. I tried this
pip install prettytable Collecting prettytable From cffi callback
Reinstalling pyopenssl worked for me:
pip uninstall pyopenssl pip install pyopenssl