Failing to install pip3 in debian 7.11

Posted March 28, 2019 2.7k views

Hi, I’m trying to install pip3 in a wheezy server:

No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 7.11 (wheezy)
Release:    7.11
Codename:   wheezy

Then after installing python 3.2, I want to install a library using pip3 and it hasn’t been installed, so I tried:

root@rec-us-newyork-02:/usr/bin# sudo apt-get install python3-pip
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  python3-pkg-resources python3-setuptools
The following NEW packages will be installed:
  python3-pip python3-pkg-resources python3-setuptools
0 upgraded, 3 newly installed, 0 to remove and 179 not upgraded.
Need to get 397 kB/477 kB of archives.
After this operation, 1,468 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  python3-pkg-resources python3-setuptools python3-pip
Install these packages without verification [y/N]? y
Err wheezy/main python3-pkg-resources all 0.6.24-1
  404  Not Found [IP: 80]
Err wheezy/main python3-setuptools all 0.6.24-1
  404  Not Found [IP: 80]
Failed to fetch  404  Not Found [IP: 80]
Failed to fetch  404  Not Found [IP: 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

After that I’ve tried apt-get update and try with --fix-missing but it isn’t still working.
Is there any solution you think I can use?


These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi @mgibert,

Can you try and do the following:

1.sudo apt-get install python3-setuptools

2.sudo easy_install3 pip