Error:
└─> $ sudo dnf update
Traceback (most recent call last):
File "/bin/dnf", line 57, in <module>
from dnf.cli import main
File "/usr/lib/python3.6/site-packages/dnf/__init__.py", line 23, in <module>
import dnf.pycomp
File "/usr/lib/python3.6/site-packages/dnf/pycomp.py", line 23, in <module>
import base64
ModuleNotFoundError: No module named 'base64'
Solution:
Download the base64.py from the "https://github.com/python/cpython/blob/3.8/Lib/base64.py" and copied it into the /usr/lib64/python3.6/".
└─> $ sudo dnf update
Traceback (most recent call last):
File "/bin/dnf", line 57, in <module>
from dnf.cli import main
File "/usr/lib/python3.6/site-packages/dnf/__init__.py", line 23, in <module>
import dnf.pycomp
File "/usr/lib/python3.6/site-packages/dnf/pycomp.py", line 23, in <module>
import base64
ModuleNotFoundError: No module named 'base64'
Solution:
Download the base64.py from the "https://github.com/python/cpython/blob/3.8/Lib/base64.py" and copied it into the /usr/lib64/python3.6/".
No comments:
Post a Comment