Python Utils module is missing
I use docker-compose to run a set of Docker containers. This app requires a Python module which I can't find in Fedora's repositories. See the error message from the app:
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 58, in <module>
from . import utils
ImportError: cannot import name utils
To make it work, I have to use pip to install the module, but it's not desirable, because then I can't use the Fedora's update mechanism.
Question: Does the package exists with a different name? This there a way to vote for this package to be inclided in the Fedora repositories?
The syntax
"from .
means from here - the requests module is attempting to load resources it provides from a relative path.docker-compose
is only attempting to use the requests module. I see this too:And I do have that file:
It would appear that your installation of python-requests is broken, try reinstalling the package.