Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1630830 - [abrt] python3-pip: module(): pip3:7:<module>:ImportError: cannot import name 'main'
Summary: [abrt] python3-pip: module(): pip3:7:<module>:ImportError: cannot import name...
Keywords:
Status: CLOSED DUPLICATE of bug 1569488
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pip
Version: 28
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Orsava
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:bc47de74540b1f133cd6d189c51...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-19 11:34 UTC by Basem Taha
Modified: 2018-09-19 16:23 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-19 16:23:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (578 bytes, text/plain)
2018-09-19 11:34 UTC, Basem Taha
no flags Details
File: cgroup (399 bytes, text/plain)
2018-09-19 11:34 UTC, Basem Taha
no flags Details
File: cpuinfo (1.25 KB, text/plain)
2018-09-19 11:34 UTC, Basem Taha
no flags Details
File: environ (5.45 KB, text/plain)
2018-09-19 11:34 UTC, Basem Taha
no flags Details
File: mountinfo (3.73 KB, text/plain)
2018-09-19 11:34 UTC, Basem Taha
no flags Details
File: namespaces (129 bytes, text/plain)
2018-09-19 11:34 UTC, Basem Taha
no flags Details
File: open_fds (242 bytes, text/plain)
2018-09-19 11:34 UTC, Basem Taha
no flags Details

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 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 ***


Note You need to log in before you can comment on or make changes to this bug.