Sample Header Ad - 728x90

Install Yum/Dnf in a Virtualenv

0 votes
3 answers
1407 views
I've created a Virtualenv (with python3.6) and want to install yum/dnf package in that environment. Is there any way to do that? As import dnf or import yum giving me error in that environment -> ModuleNotFoundError: No module named 'dnf', ModuleNotFoundError: No module named 'yum' respectively.
Asked by Rebecca (23 rep)
Mar 8, 2022, 07:48 AM
Last activity: Jun 24, 2024, 02:11 PM