from pip import main ImportError: cannot import name main
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-pip (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hello,
Here is the configuration
lsb_release -rd
Description: Ubuntu 18.04.1 LTS
Release: 18.04
apt-cache policy python-pip
python-pip:
Installed: 9.0.1-2.3~ubuntu1
Candidate: 9.0.1-2.3~ubuntu1
Version table:
*** 9.0.1-2.3~ubuntu1 500
500 http://
500 http://
100 /var/lib/
9.0.1-2 500
500 http://
500 http://
kernel version
uname -r
4.15.0-33-generic
Step to reproduce
1. open a terminal and type
pip
Traceback (most recent call last):
File "/usr/local/
from pip import main
ImportError: cannot import name main
Question :
How fix this bug
Should I upgrade ubuntu to last beta version
Thanks for your support
Best regards
Battant
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: python-pip 9.0.1-2.3~ubuntu1
ProcVersionSign
Uname: Linux 4.15.0-33-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CurrentDesktop: XFCE
Date: Mon Aug 27 15:12:20 2018
InstallationDate: Installed on 2018-08-01 (25 days ago)
InstallationMedia: Xubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
PackageArchitec
SourcePackage: python-pip
UpgradeStatus: No upgrade log present (probably fresh install)