Python3-Fehlermeldung beim Ausführen des Befehls ist nicht vorhanden

Python3-Fehlermeldung beim Ausführen des Befehls ist nicht vorhanden

Ich musste mein Gnuradio aktualisieren und es daher aus dem Quellcode erstellen (Pybombs funktionierte nicht). Nach dem Erstellen erhalte ich diese Fehlermeldungen, wenn ich im Terminal einen Befehl schreibe, der nicht existiert. Befehle, die existieren, geben keine Fehlermeldungen aus.

Ich kann Python3 auch nicht starten und erhalte dieselbe Fehlermeldung, obwohl Python3 ein Befehl ist (er wird angezeigt, wenn ich Python eingebe und dann im Terminal die Tabulatortaste drücke).

Ich vermute, dass der Pfad irgendwie falsch ist, konnte ihn aber nicht finden.

:~$ not a command
Error processing line 1 of /home/erik/.local/lib/python3.5/site-packages/protobuf-3.8.0-py3.5-nspkg.pth:

Failed to import the site module
Traceback (most recent call last):
  File "/usr/lib/python3.5/site.py", line 173, in addpackage
    exec(line)
  File "<string>", line 1, in <module>
  File "/usr/lib/python3.5/types.py", line 166, in <module>
    import functools as _functools
  File "/usr/lib/python3.5/functools.py", line 21, in <module>
    from collections import namedtuple
  File "/usr/lib/python3.5/collections/__init__.py", line 32, in <module>
    from reprlib import recursive_repr as _recursive_repr
  File "/usr/local/lib/python2.7/dist-packages/reprlib/__init__.py", line 7, in <module>
    raise ImportError('This package should not be accessible on Python 3. '
ImportError: This package should not be accessible on Python 3. Either you are trying to run from the python-future src folder or your installation of python-future is corrupted.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.5/site.py", line 580, in <module>
    main()
  File "/usr/lib/python3.5/site.py", line 566, in main
    known_paths = addusersitepackages(known_paths)
  File "/usr/lib/python3.5/site.py", line 290, in addusersitepackages
    addsitedir(user_site, known_paths)
  File "/usr/lib/python3.5/site.py", line 212, in addsitedir
    addpackage(sitedir, name, known_paths)
  File "/usr/lib/python3.5/site.py", line 183, in addpackage
    import traceback
  File "/usr/lib/python3.5/traceback.py", line 3, in <module>
    import collections
  File "/usr/lib/python3.5/collections/__init__.py", line 32, in <module>
    from reprlib import recursive_repr as _recursive_repr
  File "/usr/local/lib/python2.7/dist-packages/reprlib/__init__.py", line 7, in <module>
    raise ImportError('This package should not be accessible on Python 3. '
ImportError: This package should not be accessible on Python 3. Either you are trying to run from the python-future src folder or your installation of python-future is corrupted.

verwandte Informationen