1

Used the standard python installation file (3.9.12) for windows. The installation file have a built in option for pip installation: enter image description here

The resulting python is without pip. Then I try to install pip directly by using "get-pip.py" file. This action resulted in:

WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. 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/pip/ 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/pip/ 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/pip/ ERROR: Operation cancelled by user

What can I do?

1
  • Have you tried to write python -m pip instead of just pip in the command line? Commented May 12, 2022 at 13:34

2 Answers 2

1

You either could try pip3 or python -m pip or python3 -m pip you may check the installed python version. is it 3.9.12 or something else, and if it's not .12, you should set the new path to the Python with this steps

Sign up to request clarification or add additional context in comments.

2 Comments

Thanks, it is 3.9.12 the pip file don't exist at all in the installation. Usually it's under python/scripts but the folder is empty.
Thanks, your up vote making me available to comment
1

Usually when I get any errors like these I will uninstall the whole Python and reinstall with all features allowed/ticked in the checkbox and it starts to work.

Comments

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.