Часто получающаяся ошибка памяти в замороженном importlib._bootstrap при выполнении команд терминала - PullRequest
0 голосов
/ 23 октября 2018

Я пытался установить программное обеспечение в мою систему Ubuntu 16.04, но внезапно у меня появилась следующая ошибка.Теперь я получаю эту ошибку очень часто, даже если я пытаюсь выполнить общие команды терминала, скажем, lsb_release -a.

Traceback (most recent call last):
  File "/usr/bin/software-properties-gtk", line 33, in <module>
    from aptsources.sourceslist import SourcesList
  File "/usr/lib/python3/dist-packages/aptsources/sourceslist.py", line 29, in <module>
    import logging
  File "/usr/lib/python3.5/logging/__init__.py", line 26, in <module>
    import sys, os, time, io, traceback, warnings, weakref, collections
  File "<frozen importlib._bootstrap>", line 969, in _find_and_load
  File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 661, in exec_module
  File "<frozen importlib._bootstrap_external>", line 766, in get_code
  File "<frozen importlib._bootstrap_external>", line 819, in get_data
MemoryError
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
    from apport.fileutils import likely_packaged, get_recent_crashes
  File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
    from apport.report import Report
  File "/usr/lib/python3/dist-packages/apport/report.py", line 12, in <module>
    import subprocess, tempfile, os.path, re, pwd, grp, os, time
  File "/usr/lib/python3.5/subprocess.py", line 366, in <module>
    import warnings
  File "<frozen importlib._bootstrap>", line 969, in _find_and_load
  File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 661, in exec_module
  File "<frozen importlib._bootstrap_external>", line 766, in get_code
  File "<frozen importlib._bootstrap_external>", line 819, in get_data
MemoryError

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/software-properties-gtk", line 33, in <module>
    from aptsources.sourceslist import SourcesList
  File "/usr/lib/python3/dist-packages/aptsources/sourceslist.py", line 29, in <module>
    import logging
  File "/usr/lib/python3.5/logging/__init__.py", line 26, in <module>
    import sys, os, time, io, traceback, warnings, weakref, collections
  File "<frozen importlib._bootstrap>", line 969, in _find_and_load
  File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 661, in exec_module
  File "<frozen importlib._bootstrap_external>", line 766, in get_code
  File "<frozen importlib._bootstrap_external>", line 819, in get_data
MemoryError
...