前提・実現したいこと
discord.pyとpythonを使い、discordのbotを作りたい。
発生している問題・エラーメッセージ
コマンドプロンプトからdiscord.pyをインストールできない。
エラーメッセージ
該当のソースコード
Python
1ソースコード 2C:\Users\ユーザー名>py -3 -m pip install -U discord.py 3Collecting discord.py 4 Using cached discord.py-1.5.0-py3-none-any.whl (699 kB) 5Processing c:\users\ユーザー名\appdata\local\pip\cache\wheels\b6\9c\bd\6b99bc6ec9dab11f3756d31fb8506d3ecf07aea58b6201f539\aiohttp-3.6.3-py3-none-any.whl 6Collecting async-timeout<4.0,>=3.0 7 Using cached async_timeout-3.0.1-py3-none-any.whl (8.2 kB) 8Collecting yarl<1.6.0,>=1.0 9 Using cached yarl-1.5.1.tar.gz (173 kB) 10 Installing build dependencies ... done 11 Getting requirements to build wheel ... done 12 Preparing wheel metadata ... done 13Collecting chardet<4.0,>=2.0 14 Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB) 15Collecting multidict<5.0,>=4.5 16 Using cached multidict-4.7.6.tar.gz (50 kB) 17 Installing build dependencies ... done 18 Getting requirements to build wheel ... done 19 Preparing wheel metadata ... done 20Collecting attrs>=17.3.0 21 Using cached attrs-20.2.0-py2.py3-none-any.whl (48 kB) 22Collecting idna>=2.0 23 Using cached idna-2.10-py2.py3-none-any.whl (58 kB) 24Building wheels for collected packages: yarl, multidict 25 Building wheel for yarl (PEP 517) ... error 26 ERROR: Command errored out with exit status 1: 27 command: 'C:\Users\rihin\AppData\Local\Programs\Python\Python39\python.exe' 'C:\Users\rihin\AppData\Local\Programs\Python\Python39\lib\site-packages\pip\_vendor\pep517\_in_process.py' build_wheel 'C:\Users\Public\Documents\Wondershare\CreatorTemp\tmptbcxjd5j' 28 cwd: C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-d72t98nz\yarl 29 Complete output (35 lines): 30 ********************** 31 * Accellerated build * 32 ********************** 33 running bdist_wheel 34 running build 35 running build_py 36 creating build 37 creating build\lib.win-amd64-3.9 38 creating build\lib.win-amd64-3.9\yarl 39 copying yarl\_quoting.py -> build\lib.win-amd64-3.9\yarl 40 copying yarl\_quoting_py.py -> build\lib.win-amd64-3.9\yarl 41 copying yarl\_url.py -> build\lib.win-amd64-3.9\yarl 42 copying yarl\__init__.py -> build\lib.win-amd64-3.9\yarl 43 running egg_info 44 writing yarl.egg-info\PKG-INFO 45 writing dependency_links to yarl.egg-info\dependency_links.txt 46 writing requirements to yarl.egg-info\requires.txt 47 writing top-level names to yarl.egg-info\top_level.txt 48 reading manifest file 'yarl.egg-info\SOURCES.txt' 49 reading manifest template 'MANIFEST.in' 50 warning: no previously-included files matching '*.pyc' found anywhere in distribution 51 warning: no previously-included files matching '*.cache' found anywhere in distribution 52 warning: no previously-included files found matching 'yarl*.html' 53 warning: no previously-included files found matching 'yarl*.so' 54 warning: no previously-included files found matching 'yarl*.pyd' 55 no previously-included directories found matching 'docs\_build' 56 writing manifest file 'yarl.egg-info\SOURCES.txt' 57 copying yarl\__init__.pyi -> build\lib.win-amd64-3.9\yarl 58 copying yarl\_quoting_c.c -> build\lib.win-amd64-3.9\yarl 59 copying yarl\_quoting_c.pyi -> build\lib.win-amd64-3.9\yarl 60 copying yarl\_quoting_c.pyx -> build\lib.win-amd64-3.9\yarl 61 copying yarl\py.typed -> build\lib.win-amd64-3.9\yarl 62 running build_ext 63 building 'yarl._quoting_c' extension 64 error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ 65 ---------------------------------------- 66 ERROR: Failed building wheel for yarl 67 Building wheel for multidict (PEP 517) ... error 68 ERROR: Command errored out with exit status 1: 69 command: 'C:\Users\rihin\AppData\Local\Programs\Python\Python39\python.exe' 'C:\Users\rihin\AppData\Local\Programs\Python\Python39\lib\site-packages\pip\_vendor\pep517\_in_process.py' build_wheel 'C:\Users\Public\Documents\Wondershare\CreatorTemp\tmp4g4irhl3' 70 cwd: C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-d72t98nz\multidict 71 Complete output (40 lines): 72 ********************** 73 * Accellerated build * 74 ********************** 75 running bdist_wheel 76 running build 77 running build_py 78 creating build 79 creating build\lib.win-amd64-3.9 80 creating build\lib.win-amd64-3.9\multidict 81 copying multidict\_abc.py -> build\lib.win-amd64-3.9\multidict 82 copying multidict\_compat.py -> build\lib.win-amd64-3.9\multidict 83 copying multidict\_multidict_base.py -> build\lib.win-amd64-3.9\multidict 84 copying multidict\_multidict_py.py -> build\lib.win-amd64-3.9\multidict 85 copying multidict\__init__.py -> build\lib.win-amd64-3.9\multidict 86 running egg_info 87 writing multidict.egg-info\PKG-INFO 88 writing dependency_links to multidict.egg-info\dependency_links.txt 89 writing top-level names to multidict.egg-info\top_level.txt 90 reading manifest file 'multidict.egg-info\SOURCES.txt' 91 reading manifest template 'MANIFEST.in' 92 warning: no previously-included files matching '*.pyc' found anywhere in distribution 93 warning: no previously-included files found matching 'multidict\_multidict.html' 94 warning: no previously-included files found matching 'multidict*.so' 95 warning: no previously-included files found matching 'multidict*.pyd' 96 warning: no previously-included files found matching 'multidict*.pyd' 97 no previously-included directories found matching 'docs\_build' 98 writing manifest file 'multidict.egg-info\SOURCES.txt' 99 copying multidict\__init__.pyi -> build\lib.win-amd64-3.9\multidict 100 copying multidict\_multidict.c -> build\lib.win-amd64-3.9\multidict 101 copying multidict\py.typed -> build\lib.win-amd64-3.9\multidict 102 creating build\lib.win-amd64-3.9\multidict\_multilib 103 copying multidict\_multilib\defs.h -> build\lib.win-amd64-3.9\multidict\_multilib 104 copying multidict\_multilib\dict.h -> build\lib.win-amd64-3.9\multidict\_multilib 105 copying multidict\_multilib\istr.h -> build\lib.win-amd64-3.9\multidict\_multilib 106 copying multidict\_multilib\iter.h -> build\lib.win-amd64-3.9\multidict\_multilib 107 copying multidict\_multilib\pair_list.h -> build\lib.win-amd64-3.9\multidict\_multilib 108 copying multidict\_multilib\views.h -> build\lib.win-amd64-3.9\multidict\_multilib 109 running build_ext 110 building 'multidict._multidict' extension 111 error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ 112 ---------------------------------------- 113 ERROR: Failed building wheel for multidict 114Failed to build yarl multidict 115ERROR: Could not build wheels for yarl, multidict which use PEP 517 and cannot be installed directly 116 117### 試したこと 118 119ここに問題に対して試したことを記載してください。 120Githubで公開されているやつからのインストールも試みたが、よくわからなかった。 121### 補足情報(FW/ツールのバージョンなど) 122 123ここにより詳細な情報を記載してください。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。