I recently tried to setup https://github.com/NVIDIA/FastPhotoStyle/ locally (issues with Docker that I've been waiting for stability prevented that). After installation, my DNF has started throwing errors due to a missing librepo
module.
I'm using Fedora 27.
I've gathered that it has changed how Python loads it's modules (possibly due to Conda, I'm not 100% sure), but I'm struggling to get it working again.
I've tried to install the following packages: http://fedora.is.co.za/linux/releases/27/Everything/x86_64/os/Packages/p/python3-librepo-1.8.0-1.fc27.x86_64.rpm http://fedora.is.co.za/linux/releases/27/Everything/x86_64/os/Packages/p/python2-librepo-1.8.0-1.fc27.x86_64.rpm but to no avail.
I've tried to locate the librepo
packages in the pip
or conda
repositories, again to no avail.
Any command with DNF outputs the following:
Traceback (most recent call last):
File "/usr/bin/dnf", line 57, in <module>
from dnf.cli import main
File "/usr/lib/python3.6/site-packages/dnf/__init__.py", line 31, in <module>
import dnf.base
File "/usr/lib/python3.6/site-packages/dnf/base.py", line 26, in <module>
from dnf.comps import CompsQuery
File "/usr/lib/python3.6/site-packages/dnf/comps.py", line 29, in <module>
import dnf.util
File "/usr/lib/python3.6/site-packages/dnf/util.py", line 32, in <module>
import librepo
ModuleNotFoundError: No module named 'librepo'
I'd appreciate any help or insight as I've been googling a fair bit, but have yet to come to a solution