発生している問題・エラーメッセージ
pip
1Traceback (most recent call last): 2 File "/opt/lib/python3.7/runpy.py", line 193, in _run_module_as_main 3 "__main__", mod_spec) 4 File "/opt/lib/python3.7/runpy.py", line 85, in _run_code 5 exec(code, run_globals) 6 File "/opt/local/lib/python3.7/site-packages/pip/__main__.py", line 26, in <module> 7 sys.exit(_main()) 8 File "/opt/local/lib/python3.7/site-packages/pip/_internal/cli/main.py", line 73, in main 9 command = create_command(cmd_name, isolated=("--isolated" in cmd_args)) 10 File "/opt/local/lib/python3.7/site-packages/pip/_internal/commands/__init__.py", line 104, in create_command 11 module = importlib.import_module(module_path) 12 File "/opt/lib/python3.7/importlib/__init__.py", line 127, in import_module 13 return _bootstrap._gcd_import(name[level:], package, level) 14 File "<frozen importlib._bootstrap>", line 1006, in _gcd_import 15 File "<frozen importlib._bootstrap>", line 983, in _find_and_load 16 File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked 17 File "<frozen importlib._bootstrap>", line 677, in _load_unlocked 18 File "<frozen importlib._bootstrap_external>", line 728, in exec_module 19 File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed 20 File "/opt/local/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 24, in <module> 21 from pip._internal.cli.req_command import RequirementCommand, with_cleanup 22 File "/opt/local/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 16, in <module> 23 from pip._internal.index.package_finder import PackageFinder 24 File "/opt/local/lib/python3.7/site-packages/pip/_internal/index/package_finder.py", line 21, in <module> 25 from pip._internal.index.collector import parse_links 26 File "/opt/local/lib/python3.7/site-packages/pip/_internal/index/collector.py", line 14, in <module> 27 from pip._vendor import html5lib, requests 28 File "/opt/local/lib/python3.7/site-packages/pip/_vendor/requests/__init__.py", line 97, in <module> 29 from pip._vendor.urllib3.contrib import pyopenssl 30 File "/opt/local/lib/python3.7/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py", line 46, in <module> 31 import OpenSSL.SSL 32 File "/opt/local/lib/python3.7/site-packages/OpenSSL/__init__.py", line 8, in <module> 33 from OpenSSL import crypto, SSL 34 File "/opt/local/lib/python3.7/site-packages/OpenSSL/crypto.py", line 15, in <module> 35 from OpenSSL._util import ( 36 File "/opt/local/lib/python3.7/site-packages/OpenSSL/_util.py", line 152, in <module> 37 with ffi.from_buffer(b""): 38TypeError: from_buffer() cannot return the address of the raw string within a bytes or unicode object
該当のソースコード
pip3
1python3 -m pip install cryptography
試したこと
検索に掛けてみましたが良く分かりませんでした
補足情報(FW/ツールのバージョンなど)
Linux version 3.10.105