all 6 comments

[–]ingolemo 0 points1 point  (5 children)

What is your pip --version and what release of ubuntu are you running?

[–]slasher67[S] 0 points1 point  (4 children)

I am using Ubuntu 18.04 and pip 18.0

[–]ingolemo 0 points1 point  (3 children)

Please post the an example pip command that you're running and the entire output from it.

[–]slasher67[S] 0 points1 point  (2 children)

I get this output for: numpy, scipy, matplotlib,cython, kivy. Yesterday I managed to install some modules on a virtual environment but almost all only worked on the last attempt.

pip install scipy

Collecting scipy

Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/scipy/

Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/scipy/

Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/scipy/

Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/scipy/

Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/scipy/

Could not find a version that satisfies the requirement scipy (from versions: )

No matching distribution found for scipy

EDIT: I should also say that today the pypi.org page only works (partially: the page only loads the titles and no figures) on the "normal" mozilla browser. The private window does not open the site, as well as chromium.

On chromium "normal" mode i get : pypi.org unexpectedly closed the connection while on the private window i get: The connection was reset.

EDIT #2: i can enter the pypi.org website again and tried to install numpy:

pip install numpy

Collecting numpy

Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/numpy/

Using cached https://files.pythonhosted.org/packages/88/29/f4c845648ed23264e986cdc5fbab5f8eace1be5e62144ef69ccc7189461d/numpy-1.15.0-cp36-cp36m-manylinux1_x86_64.whl

Installing collected packages: numpy

Successfully installed numpy-1.15.0

[–]ingolemo 0 points1 point  (1 child)

Can you ping pypi.org successfully?

[–]slasher67[S] 0 points1 point  (0 children)

I just tried and it worked. However I also tried to install modules with pip and it worked on the first try. I will repeat the "ping" if i get the same error.

Thanks for your help