Question

Failing to install pip3 in debian 7.11

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 http://mirrors.digitalocean.com/debian/ wheezy/main python3-pkg-resources all 0.6.24-1
  404  Not Found [IP: 104.24.117.209 80]
Err http://mirrors.digitalocean.com/debian/ wheezy/main python3-setuptools all 0.6.24-1
  404  Not Found [IP: 104.24.117.209 80]
Failed to fetch http://mirrors.digitalocean.com/debian/pool/main/d/distribute/python3-pkg-resources_0.6.24-1_all.deb  404  Not Found [IP: 104.24.117.209 80]
Failed to fetch http://mirrors.digitalocean.com/debian/pool/main/d/distribute/python3-setuptools_0.6.24-1_all.deb  404  Not Found [IP: 104.24.117.209 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?

Thanks!


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @mgibert,

Can you try and do the following:

1.sudo apt-get install python3-setuptools

2.sudo easy_install3 pip

Regards, Kalin