discord.py[voice]のインストール中に問題が発生します
PyNaClの構築中に問題が発生しているようです。
PS C:\Users\nagis\storage\Sources\discord_bot> py -3 -m pip install -U discord.py[voice] Requirement already satisfied: discord.py[voice] in c:\users\nagis\appdata\local\programs\python\python39\lib\site-packages (1.5.1) Requirement already satisfied: aiohttp<3.7.0,>=3.6.0 in c:\users\nagis\appdata\local\programs\python\python39\lib\site-packages (from discord.py[voice]) (3.6.3) Requirement already satisfied: multidict<5.0,>=4.5 in c:\users\nagis\appdata\local\programs\python\python39\lib\site-packages (from aiohttp<3.7.0,>=3.6.0->discord.py[voice]) (4.7.6) Requirement already satisfied: yarl<1.6.0,>=1.0 in c:\users\nagis\appdata\local\programs\python\python39\lib\site-packages (from aiohttp<3.7.0,>=3.6.0->discord.py[voice]) (1.5.1) Requirement already satisfied: async-timeout<4.0,>=3.0 in c:\users\nagis\appdata\local\programs\python\python39\lib\site-packages (from aiohttp<3.7.0,>=3.6.0->discord.py[voice]) (3.0.1) Requirement already satisfied: chardet<4.0,>=2.0 in c:\users\nagis\appdata\local\programs\python\python39\lib\site-packages (from aiohttp<3.7.0,>=3.6.0->discord.py[voice]) (3.0.4) Requirement already satisfied: attrs>=17.3.0 in c:\users\nagis\appdata\local\programs\python\python39\lib\site-packages (from aiohttp<3.7.0,>=3.6.0->discord.py[voice]) (20.3.0) Requirement already satisfied: aiohttp<3.7.0,>=3.6.0 in c:\users\nagis\appdata\local\programs\python\python39\lib\site-packages (from discord.py[voice]) (3.6.3) Collecting PyNaCl==1.3.0 Using cached PyNaCl-1.3.0.tar.gz (3.4 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing wheel metadata ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\nagis\AppData\Local\Programs\Python\Python39\python.exe' 'C:\Users\nagis\AppData\Local\Programs\Python\Python39\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\nagis\AppData\Local\Temp\tmp7b3pln0x' cwd: C:\Users\nagis\AppData\Local\Temp\pip-install-7c27x25k\pynacl_65e0f9ff39144fa5b6425c4ae17cb07b Complete output (38 lines): Traceback (most recent call last): File "C:\Users\nagis\AppData\Local\Programs\Python\Python39\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 280, in <module> main() File "C:\Users\nagis\AppData\Local\Programs\Python\Python39\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 263, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "C:\Users\nagis\AppData\Local\Programs\Python\Python39\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 133, in prepare_metadata_for_build_wheel return hook(metadata_directory, config_settings) File "C:\Users\nagis\AppData\Local\Temp\pip-build-env-0s58zhnf\overlay\Lib\site-packages\setuptools\build_meta.py", line 161, in prepare_metadata_for_build_wheel self.run_setup() File "C:\Users\nagis\AppData\Local\Temp\pip-build-env-0s58zhnf\overlay\Lib\site-packages\setuptools\build_meta.py", line 253, in run_setup super(_BuildMetaLegacyBackend, File "C:\Users\nagis\AppData\Local\Temp\pip-build-env-0s58zhnf\overlay\Lib\site-packages\setuptools\build_meta.py", line 145, in run_setup exec(compile(code, __file__, 'exec'), locals()) File "setup.py", line 208, in <module> setup( File "C:\Users\nagis\AppData\Local\Temp\pip-build-env-0s58zhnf\overlay\Lib\site-packages\setuptools\__init__.py", line 153, in setup return distutils.core.setup(**attrs) File "C:\Users\nagis\AppData\Local\Programs\Python\Python39\lib\distutils\core.py", line 108, in setup _setup_distribution = dist = klass(attrs) File "C:\Users\nagis\AppData\Local\Temp\pip-build-env-0s58zhnf\overlay\Lib\site-packages\setuptools\dist.py", line 423, in __init__ _Distribution.__init__(self, { File "C:\Users\nagis\AppData\Local\Programs\Python\Python39\lib\distutils\dist.py", line 292, in __init__ self.finalize_options() File "C:\Users\nagis\AppData\Local\Temp\pip-build-env-0s58zhnf\overlay\Lib\site-packages\setuptools\dist.py", line 695, in finalize_options ep(self) File "C:\Users\nagis\AppData\Local\Temp\pip-build-env-0s58zhnf\overlay\Lib\site-packages\setuptools\dist.py", line 702, in _finalize_setup_keywords ep.load()(self, ep.name, value) File "C:\Users\nagis\AppData\Local\Temp\pip-build-env-0s58zhnf\overlay\Lib\site-packages\cffi\setuptools_ext.py", line 219, in cffi_modules add_cffi_module(dist, cffi_module) File "C:\Users\nagis\AppData\Local\Temp\pip-build-env-0s58zhnf\overlay\Lib\site-packages\cffi\setuptools_ext.py", line 49, in add_cffi_module execfile(build_file_name, mod_vars) File "C:\Users\nagis\AppData\Local\Temp\pip-build-env-0s58zhnf\overlay\Lib\site-packages\cffi\setuptools_ext.py", line 25, in execfile exec(code, glob, glob) File "src/bindings/build.py", line 32, in <module> ffi = FFI() File "C:\Users\nagis\AppData\Local\Temp\pip-build-env-0s58zhnf\overlay\Lib\site-packages\cffi\api.py", line 48, in __init__ import _cffi_backend as backend ModuleNotFoundError: No module named '_cffi_backend' ---------------------------------------- ERROR: Command errored out with exit status 1: 'C:\Users\nagis\AppData\Local\Programs\Python\Python39\python.exe' 'C:\Users\nagis\AppData\Local\Programs\Python\Python39\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\nagis\AppData\Local\Temp\tmp7b3pln0x' Check the logs for full command output.
_cffi_backendというモジュールが無いらしいですが、cffiをインストールしようとすると、既にインストールされていると言われます。
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/12/16 00:41