pythonErrorprocessingline1ofD:\installed\Python3.7.4\lib\site-packages\matplotlib-3.1.1-py3.7-nspkg.pth:FatalPythonerror:initsite:FailedtoimportthesitemoduleTraceback(mos...
python
Error processing line 1 of D:\installed\Python3.7.4\lib\site-packages\matplotlib-3.1.1-py3.7-nspkg.pth:
Fatal Python error: initsite: Failed to import the site module
Traceback (most recent call last):
File "D:\installed\Python3.7.4\lib\site.py", line 168, in addpackage
exec(line)
File "", line 1, in
File "D:\installed\Python3.7.4\lib\importlib\util.py", line 14, in
from contextlib import contextmanager
File "D:\installed\Python3.7.4\lib\contextlib.py", line 6, in
from functools import wraps
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 724, in exec_module
File "", line 857, in get_code
File "", line 525, in _compile_bytecode
EOFError: marshal data too short
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\installed\Python3.7.4\lib\site.py", line 579, in
main()
File "D:\installed\Python3.7.4\lib\site.py", line 566, in main
known_paths = addsitepackages(known_paths)
File "D:\installed\Python3.7.4\lib\site.py", line 349, in addsitepackages
addsitedir(sitedir, known_paths)
File "D:\installed\Python3.7.4\lib\site.py", line 207, in addsitedir
addpackage(sitedir, name, known_paths)
File "D:\installed\Python3.7.4\lib\site.py", line 178, in addpackage
import traceback
File "D:\installed\Python3.7.4\lib\traceback.py", line 5, in
import linecache
File "D:\installed\Python3.7.4\lib\linecache.py", line 8, in
import functools
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 724, in exec_module
File "", line 857, in get_code
File "", line 525, in _compile_bytecode
EOFError: marshal data too short
展开