question

Upvotes
Accepted
111 1 1 2

Python upgrade

Hello

I am getting following error when trying to upgrade python version please advise.

Thanks

1688533197664.png

python#technologyrdp-api
1688533197664.png (88.1 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hi @muzammil.sharief1 ,

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,

AHS

@muzammil.sharief1

Hi,

Please be informed that a reply has been verified as correct in answering the question, and marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
24.9k 54 17 14

Hello @muzammil.sharief1

The issue may be related to the network firewall/proxy or ZScaler.

Please try the following workaround to set the trusted host to Python as follows:

 pip config set "global.trusted-host" "pypi.org files.pythonhosted.org"

Then run your Python upgrade command(s).

If the problem still persist, I highly recommend you contact the ZScaler support team.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.