Red Hat Bugzilla – Bug 1264309
[abrt] turpial: base.py:10:<module>:ImportError: No module named requests
Last modified: 2016-11-14 10:11:48 EST
Description of problem:
just run turpial on rawhide
Version-Release number of selected component:
cmdline: /usr/bin/python2 /usr/bin/turpial
runlevel: N 5
#1 <module> in /usr/lib/python2.7/site-packages/libturpial/lib/services/media/preview/base.py:10
#2 <module> in /usr/lib/python2.7/site-packages/libturpial/lib/services/media/preview/imgur.py:11
#3 <module> in /usr/lib/python2.7/site-packages/libturpial/lib/services/media/preview/__init__.py:5
#4 <module> in /usr/lib/python2.7/site-packages/libturpial/common/__init__.py:10
#5 <module> in /usr/lib/python2.7/site-packages/turpial/ui/util.py:7
#6 <module> in /usr/lib/python2.7/site-packages/turpial/main.py:17
#7 resolve in /usr/lib/python2.7/site-packages/pkg_resources/__init__.py:2361
#8 load in /usr/lib/python2.7/site-packages/pkg_resources/__init__.py:2355
#9 load_entry_point in /usr/lib/python2.7/site-packages/pkg_resources/__init__.py:2682
#10 load_entry_point in /usr/lib/python2.7/site-packages/pkg_resources/__init__.py:558
Created attachment 1074692 [details]
Created attachment 1074693 [details]
Created attachment 1074694 [details]
Apparently, the package doesn't require python-requests.noarch.
'dnf install python-requests.noarch' fixes this problem
*** This bug has been marked as a duplicate of bug 1264426 ***
Ok, it's not a duplicate, it's bug in turpial which does 'import requests' but doesn't require it. Sorry for the noise.
So it was a bug in python3-request which was set to provide python-request. It
should be fixed python-requests-2.7.0-5.fc23, see
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.
More information and reason for this action is here:
This package have how dependence python2-requests, are you sure about this ticket? I made a test installing turpial on a fresh installation of fedora 24 and all works fine.
Let me know if you need any help or if this ticket can be closed.
I believe Petr can answer the question better than me, so redirecting the need-info.
The only thing I can say now is that turpial works for me on Fedora 25.
Cool, i'll to close this ticket, thank you so much to make turpial better.