2

I'm trying to install wx python from MacOS Terminal, having tried the following 2 approaches:

python -m pip install wxPython (also tried "...-U wxPython")

sudo -H pip install wxPython

I get the following error both times:

Collecting wxPython Could not fetch URL https://pypi.python.org/simple/wx/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) - skipping

Could not find a version that satisfies the requirement wxPython (from versions: ) No matching distribution found for wxPython

Using Python 2.7. Any advice would be greatly appreciated!

2

2 Answers 2

2

The name you need to use is wxPython not wx. (https://pypi.org/project/wxPython/)

Also, you can avoid the SSL errors by updating your Python and pip to the newest versions.

2
  • 'wxPython' yields the same error. I forgot to mention that I tried this too.
    – CodeGuyJr
    Jun 13, 2018 at 14:07
  • Ok, so I upgraded to the newest version of 2.7 and pip. Problem solved. Thanks for answering this newbie question!
    – CodeGuyJr
    Jun 13, 2018 at 19:32
-2

This command worked for me:

pip install wxPython --user 
1
  • Avoid posting answers like these or else add a meaningful description as to why your answer is more relevant and useful to the question. Jun 15, 2021 at 11:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.