#python #python-3.x #pip #python-3.7
Вопрос:
у меня python3.7. я получаю следующую ошибку при каждом запуске скрипта или даже установке pip
root@geek:/# python3.7 -m pip install pandas --proxy=https:______ Traceback (most recent call last): File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/usr/local/lib/python3.7/site-packages/pip/__main__.py", line 19, in lt;modulegt; sys.exit(_main()) File "/usr/local/lib/python3.7/site-packages/pip/_internal/main.py", line 45, in main command = create_command(cmd_name, isolated=("--isolated" in cmd_args)) File "/usr/local/lib/python3.7/site-packages/pip/_internal/commands/__init__.py", line 96, in create_command module = importlib.import_module(module_path) File "/usr/local/lib/python3.7/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "lt;frozen importlib._bootstrapgt;", line 1006, in _gcd_import File "lt;frozen importlib._bootstrapgt;", line 983, in _find_and_load File "lt;frozen importlib._bootstrapgt;", line 967, in _find_and_load_unlocked File "lt;frozen importlib._bootstrapgt;", line 677, in _load_unlocked File "lt;frozen importlib._bootstrap_externalgt;", line 728, in exec_module File "lt;frozen importlib._bootstrapgt;", line 219, in _call_with_frames_removed File "/usr/local/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 23, in lt;modulegt; from pip._internal.cli.req_command import RequirementCommand File "/usr/local/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 20, in lt;modulegt; from pip._internal.network.session import PipSession File "/usr/local/lib/python3.7/site-packages/pip/_internal/network/session.py", line 17, in lt;modulegt; from pip._vendor import requests, six, urllib3 File "/usr/local/lib/python3.7/site-packages/pip/_vendor/requests/__init__.py", line 115, in lt;modulegt; from . import packages File "/usr/local/lib/python3.7/site-packages/pip/_vendor/requests/packages.py", line 8, in lt;modulegt; locals()[package] = __import__(vendored_package) File "/usr/local/lib/python3.7/site-packages/pip/_vendor/idna/__init__.py", line 2, in lt;modulegt; from .core import * File "/usr/local/lib/python3.7/site-packages/pip/_vendor/idna/core.py", line 3, in lt;modulegt; import unicodedata ImportError: /usr/local/lib/python3.7/lib-dynload/unicodedata.cpython-37m-x86_64-linux-gnu.so: failed to map segment from shared object
до прошлой недели все шло нормально. эта ошибка возникла внезапно. я экспортировал путь, я увеличил количество /tmp, я увеличил неограниченное количество ulimit-m; неограниченное количество ulimit-v. освободил часть памяти, и ничего из этого не сработало. Пожалуйста, помогите мне