Answer the question
In order to leave comments, you need to log in
Multidict not installed for discord module, what should I do?
I use PyCharm and python 3.8.1. When I type pip install discord, this pops up:
(venv) D:\Games\botred>pip install discord
Collecting discord
Using cached https://files.pythonhosted.org/packages/aa/76/75382e581c7932c177568e985a6967a305b1788f51936e819010e5538ef4/discord-1.0.1-py3-none-any.whl
Collecting discord.py>=1.0.1 (from discord)
Using cached https://files.pythonhosted.org/packages/19/69/85b43ab22d9deb62340b1ae1f94228453a212bf9bb44fc0a0a9120241d91/discord.py-1.4.1-py3-none-any.whl
Collecting aiohttp<3.7.0,>=3.6.0 (from discord.py>=1.0.1->discord)
Using cached https://files.pythonhosted.org/packages/c2/f7/f0ad3dbace4762fef5d80aa4124b41bf218e4c4dd6d387a86cede707d9a4/aiohttp-3.6.2-py3-none-any.whl
Collecting async-timeout<4.0,>=3.0 (from aiohttp<3.7.0,>=3.6.0->discord.py>=1.0.1->discord)
Using cached https://files.pythonhosted.org/packages/e1/1e/5a4441be21b0726c4464f3f23c8b19628372f606755a9d2e46c187e65ec4/async_timeout-3.0.1-py3-none-any.whl
Collecting multidict<5.0,>=4.5 (from aiohttp<3.7.0,>=3.6.0->discord.py>=1.0.1->discord)
Using cached https://files.pythonhosted.org/packages/65/d4/fabdcc5ee4451c8a8e177e27ddfd131a53a82ecc5a3b68468b7e9f8d70b4/multidict-4.7.6.tar.gz
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting yarl<2.0,>=1.0 (from aiohttp<3.7.0,>=3.6.0->discord.py>=1.0.1->discord)
Using cached https://files.pythonhosted.org/packages/ac/dd/59768bb3fa08e8b23e91575bca3ff8d2edbfbceebec8c59eaa24c4215791/yarl-1.5.1.tar.gz
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting chardet<4.0,>=2.0 (from aiohttp<3.7.0,>=3.6.0->discord.py>=1.0.1->discord)
Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting attrs>=17.3.0 (from aiohttp<3.7.0,>=3.6.0->discord.py>=1.0.1->discord)
Using cached https://files.pythonhosted.org/packages/14/df/479736ae1ef59842f512548bacefad1abed705e400212acba43f9b0fa556/attrs-20.2.0-py2.py3-none-any.whl
Collecting idna>=2.0 (from yarl<2.0,>=1.0->aiohttp<3.7.0,>=3.6.0->discord.py>=1.0.1->discord)
Using cached https://files.pythonhosted.org/packages/a2/38/928ddce2273eaa564f6f50de919327bf3a00f091b5baba8dfa9460f3a8a8/idna-2.10-py2.py3-none-any.whl
Building wheels for collected packages: multidict, yarl
Building wheel for multidict (PEP 517) ... error
Complete output from command D:\Games\botred\venv\Scripts\python.exe D:\Games\botred\venv\lib\site-packages\pip-19.0.3-py3.8.egg\pip\_vendor\pep517\_in_process.py build_wheel C:\Users\meg
ared\AppData\Local\Temp\tmpl_gl9673:
**********************
* Accellerated build *
**********************
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win32-3.8
creating build\lib.win32-3.8\multidict
copying multidict\_abc.py -> build\lib.win32-3.8\multidict
copying multidict\_compat.py -> build\lib.win32-3.8\multidict
copying multidict\_multidict_base.py -> build\lib.win32-3.8\multidict
copying multidict\_multidict_py.py -> build\lib.win32-3.8\multidict
copying multidict\__init__.py -> build\lib.win32-3.8\multidict
running egg_info
writing multidict.egg-info\PKG-INFO
writing dependency_links to multidict.egg-info\dependency_links.txt
writing top-level names to multidict.egg-info\top_level.txt
reading manifest file 'multidict.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files found matching 'multidict\_multidict.html'
warning: no previously-included files found matching 'multidict\*.so'
warning: no previously-included files found matching 'multidict\*.pyd'
warning: no previously-included files found matching 'multidict\*.pyd'
no previously-included directories found matching 'docs\_build'
writing manifest file 'multidict.egg-info\SOURCES.txt'
copying multidict\__init__.pyi -> build\lib.win32-3.8\multidict
copying multidict\_multidict.c -> build\lib.win32-3.8\multidict
copying multidict\py.typed -> build\lib.win32-3.8\multidict
creating build\lib.win32-3.8\multidict\_multilib
copying multidict\_multilib\defs.h -> build\lib.win32-3.8\multidict\_multilib
copying multidict\_multilib\dict.h -> build\lib.win32-3.8\multidict\_multilib
copying multidict\_multilib\istr.h -> build\lib.win32-3.8\multidict\_multilib
copying multidict\_multilib\iter.h -> build\lib.win32-3.8\multidict\_multilib
copying multidict\_multilib\pair_list.h -> build\lib.win32-3.8\multidict\_multilib
copying multidict\_multilib\views.h -> build\lib.win32-3.8\multidict\_multilib
running build_ext
building 'multidict._multidict' extension
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/
----------------------------------------
Failed building wheel for multidict
Running setup.py clean for multidict
Building wheel for yarl (PEP 517) ... error
Complete output from command D:\Games\botred\venv\Scripts\python.exe D:\Games\botred\venv\lib\site-packages\pip-19.0.3-py3.8.egg\pip\_vendor\pep517\_in_process.py build_wheel C:\Users\meg
ared\AppData\Local\Temp\tmp97lybhp5:
**********************
* Accellerated build *
**********************
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win32-3.8
creating build\lib.win32-3.8\yarl
copying yarl\_quoting.py -> build\lib.win32-3.8\yarl
copying yarl\_quoting_py.py -> build\lib.win32-3.8\yarl
copying yarl\_url.py -> build\lib.win32-3.8\yarl
copying yarl\__init__.py -> build\lib.win32-3.8\yarl
running egg_info
writing yarl.egg-info\PKG-INFO
writing dependency_links to yarl.egg-info\dependency_links.txt
writing requirements to yarl.egg-info\requires.txt
writing top-level names to yarl.egg-info\top_level.txt
reading manifest file 'yarl.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.cache' found anywhere in distribution
warning: no previously-included files found matching 'yarl\*.html'
warning: no previously-included files found matching 'yarl\*.so'
warning: no previously-included files found matching 'yarl\*.pyd'
no previously-included directories found matching 'docs\_build'
writing manifest file 'yarl.egg-info\SOURCES.txt'
copying yarl\__init__.pyi -> build\lib.win32-3.8\yarl
copying yarl\_quoting_c.c -> build\lib.win32-3.8\yarl
copying yarl\_quoting_c.pyi -> build\lib.win32-3.8\yarl
copying yarl\_quoting_c.pyx -> build\lib.win32-3.8\yarl
copying yarl\py.typed -> build\lib.win32-3.8\yarl
running build_ext
building 'yarl._quoting_c' extension
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/
----------------------------------------
Failed building wheel for yarl
Running setup.py clean for yarl
Failed to build multidict yarl
Could not build wheels for multidict, yarl which use PEP 517 and cannot be installed directly
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question