Bug 1630830

Summary: [abrt] python3-pip: module(): pip3:7:<module>:ImportError: cannot import name 'main'
Product: [Fedora] Fedora Reporter: Basem Taha <socertis>
Component: python-pipAssignee: Tomas Orsava <torsava>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: bkabrda, metherid, ncoghlan, pviktori, tflink, TicoTimo, torsava
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/e9afcc73a400032e7843983eed88c47ceb8d8266
Whiteboard: abrt_hash:bc47de74540b1f133cd6d189c51d352ecab99d8d;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-19 16:23:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Basem Taha 2018-09-19 11:34:22 UTC
Description of problem:
was doing some work involving pip upgrade

Version-Release number of selected component:
python3-pip-9.0.3-1.fc28

Additional info:
reporter:       libreport-2.9.4
cmdline:        /usr/bin/python3 /usr/bin/pip3 install flask flask_sqlalchemy flask_bootstrap flask_wtf
crash_function: module
exception_type: ImportError
executable:     /usr/bin/pip3
interpreter:    python3-3.6.5-1.fc28.x86_64
kernel:         4.16.3-301.fc28.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
pip3:7:<module>:ImportError: cannot import name 'main'

Traceback (most recent call last):
  File "/usr/bin/pip3", line 7, in <module>
    from pip import main
ImportError: cannot import name 'main'

Local variables in innermost frame:
__name__: '__main__'
__doc__: None
__package__: None
__loader__: <_frozen_importlib_external.SourceFileLoader object at 0x7fe50d116c50>
__spec__: None
__annotations__: {}
__builtins__: <module 'builtins' (built-in)>
__file__: '/usr/bin/pip3'
__cached__: None
re: <module 're' from '/usr/lib64/python3.6/re.py'>
sys: <module 'sys' (built-in)>

Potential duplicate: bug 1569488

Comment 1 Basem Taha 2018-09-19 11:34:29 UTC
Created attachment 1484661 [details]
File: backtrace

Comment 2 Basem Taha 2018-09-19 11:34:30 UTC
Created attachment 1484662 [details]
File: cgroup

Comment 3 Basem Taha 2018-09-19 11:34:32 UTC
Created attachment 1484663 [details]
File: cpuinfo

Comment 4 Basem Taha 2018-09-19 11:34:34 UTC
Created attachment 1484664 [details]
File: environ

Comment 5 Basem Taha 2018-09-19 11:34:36 UTC
Created attachment 1484665 [details]
File: mountinfo

Comment 6 Basem Taha 2018-09-19 11:34:38 UTC
Created attachment 1484666 [details]
File: namespaces

Comment 7 Basem Taha 2018-09-19 11:34:39 UTC
Created attachment 1484667 [details]
File: open_fds

Comment 8 Petr Viktorin (pviktori) 2018-09-19 16:23:01 UTC
> python3-pip-9.0.3-1.fc28

Please update python3-pip. 9.0.3-2 should fix this issue.

*** This bug has been marked as a duplicate of bug 1569488 ***