Hi community , as I did my research on python for reasons that it is running not as it should be. i tried to reinstall it manually, but it doesn’t seem to work. i tried installing python2 and python3 through terminal, but i still getting an error message:
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
that message pops at the last 3 lines in my terminal.
when i want to check for the version of my python it shows a different long messages that does not mean a lot to me (I’ll write the start of the text and the end of it you may figure it out):
import _frozen_importlib # frozen import _imp # builtin . . . import 'rlcompleter' # <_frozen_importlib_external.SourceFileLoader object at 0x7f54b0c643c8> >>>
yet it doesn’t get me back to the home $ to use terminal and i have to Ctrl+z to go back as canceling the action.
I’m still a beginner to Linux so please bare with me for I don’t have all the right words to describe my problem or even give you the proper info to help me out.