pygameui icon indicating copy to clipboard operation
pygameui copied to clipboard

urllib2.HTTPError: HTTP Error 403: SSL is required

Open jsiobj opened this issue 8 years ago • 4 comments

Hello,

When trying to install pygameui, I got an error when trying to download distribute : urllib2.HTTPError: HTTP Error 403: SSL is required

It seems http support has now been dropped by PyPi as stated here.

As a workaround, I downloaded the packaged, uncompressed it, changed http to https for "DEFAULT URL" and run pip install against the modified package.

May be you would like to change it in your package.

Thanks. JS

jsiobj avatar Oct 30 '17 21:10 jsiobj

I ran into the same problem.

TonyLHansen avatar Jan 21 '18 18:01 TonyLHansen

Being fairly new to this environment, could you give specific directions on how to "download the package, uncompress it"? I know how to change http to https if I know where to do it. Then does it matter where I run pip install pygameui?

erhixon avatar May 22 '18 04:05 erhixon

@erhixon To avoid making this change yourself, you can use the changes made in pull request #6 directly:

pip install -e git+https://github.com/JamesRandom/pygameui.git@patch-1#egg=pygameui

This will make pip clone the repo from the author of the pull request, on the branch of the pull request and install it as if it was the "egg" found on the official repos.

Alternatively, you could do this (which is almost equivalent):

git clone https://github.com/JamesRandom/pygameui.git
cd pygameui
# change the relevant line (http -> https)
pip install -e .

(the -e flag is optional in both cases)

jadkik avatar May 23 '18 14:05 jadkik

Thank you for your reply.

  From: Jad Kik <[email protected]>

To: fictorial/pygameui [email protected] Cc: erhixon [email protected]; Mention [email protected] Sent: Wednesday, May 23, 2018 9:30 AM Subject: Re: [fictorial/pygameui] urllib2.HTTPError: HTTP Error 403: SSL is required (#5)

@erhixon To avoid making this change yourself, you can use the changes made in pull request #6 directly:pip install -e git+https://github.com/JamesRandom/pygameui.git@patch-1#egg=pygameui This will make pip clone the repo from the author of the pull request, on the branch of the pull request and install it as if it was the "egg" found on the official repos.Alternatively, you could do this (which is almost equivalent):git clone https://github.com/JamesRandom/pygameui.git cd pygameui

change the relevant line (http -> https)

pip install -e . (the -e flag is optional in both cases)— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

erhixon avatar May 31 '18 14:05 erhixon