Problems encountered in pip tool installation under Ubuntu

When developing Python under Ubuntu 14.04.3 environment, the following problems are encountered.
When installing pip, you first need to install setuptools, use the command sudo apt-get install python-setuptools to install setuptools.
The following error occurred:

The following packages have unmet dependencies:
 python-setuptools : Depends: python-pkg-resources(=3.3-1ubuntu1) but 3.3-1ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.

Solution:

sudo apt-get install python-pkg-resources=3.3-1ubuntu1
sudo apt-get install python-setuptools

Then use sudo easy_install pip to install pip.

Recommended Posts

Problems encountered in pip tool installation under Ubuntu
Resolve the problems encountered in the linux environment under ubuntu
LNMP installation under Ubuntu
Happy installation of Jenkins in ubuntu
Installation of deb package under Ubuntu
Redis installation under ubuntu and windows
Small tool: install screenshot tool under ubuntu
Installation instructions for gitlab in Ubuntu
Ubuntu 16.04 installation graphic tutorial under VMware 12
Installation of Docker CE under Ubuntu
Ubuntu16.04 mirror complete installation tutorial under VMware
Ubuntu Intel graphics driver installation (Ubuntu 14.04--Ubuntu 16.10 + Intel® Graphics Update Tool)
Installation and uninstallation of CUDA under Ubuntu 16.04
Installation and deployment of Nginx in Ubuntu
Configure android debugging tool adb under ubuntu16.04
DLNA/UPnP Server installation and configuration under Ubuntu 12.04
Installation of pulseaudio and API usage under Ubuntu 12.04
Kaldi installation and configuration graphic tutorials under Ubuntu
Mount the disk in a directory under Ubuntu 18.04
Installation, configuration and uninstallation of GitLab in Ubuntu19.1
Audio and video editing tool stack under ubuntu
Installation and use of SSH in Ubuntu environment
UBUNTU 16.04 installation diary
ubuntu 1804 installation details
Ubuntu system installation
Ubuntu installation record
ubuntu 18.04 installation (UEFI+GBT)
ubuntu installation error
Ubuntu16.04 mirror complete installation and configuration tutorial under VMware
Install nvidia graphics driver under Ubuntu (easy installation method)
Installation and simple practice of MySQL in ubuntu environment (1)
Installation and usage instructions of rz/sz command under ubuntu