TransWikia.com

Не могу установить модуль дискорд Python "discord" (pip install discord.py)

Stack Overflow на русском Asked by Skypraje. on November 24, 2020

Сама ошибка выскакивает после:

C:UsersHome-PC>pip install discord.py
Collecting discord.py
  Using cached discord.py-1.5.0-py3-none-any.whl (699 kB)
Collecting aiohttp<3.7.0,>=3.6.0
  Using cached aiohttp-3.6.2-py3-none-any.whl (441 kB)
Collecting yarl<2.0,>=1.0
  Using cached yarl-1.6.0.tar.gz (175 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Collecting async-timeout<4.0,>=3.0
  Using cached async_timeout-3.0.1-py3-none-any.whl (8.2 kB)
Collecting chardet<4.0,>=2.0
  Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting attrs>=17.3.0
  Using cached attrs-20.2.0-py2.py3-none-any.whl (48 kB)
Collecting multidict<5.0,>=4.5
  Using cached multidict-4.7.6.tar.gz (50 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Collecting idna>=2.0
  Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Building wheels for collected packages: yarl, multidict
  Building wheel for yarl (PEP 517) ... error 


ERROR: Command errored out with exit status 1:
       command: 'c:usershome-pcappdatalocalprogramspythonpython39python.exe' 'c:usershome-pcappdatalocalprogramspythonpython39libsite-packagespip_vendorpep517_in_process.py' build_wheel 'C:UsersHome-PCAppDataLocalTemptmph4rbw5ga'
           cwd: C:UsersHome-PCAppDataLocalTemppip-install-3thavqw8yarl
      Complete output (35 lines):
      **********************
      * Accellerated build *
      **********************
      running bdist_wheel
      running build
      running build_py
      creating build
      creating buildlib.win-amd64-3.9
      creating buildlib.win-amd64-3.9yarl
      copying yarl_quoting.py -> buildlib.win-amd64-3.9yarl
      copying yarl_quoting_py.py -> buildlib.win-amd64-3.9yarl
      copying yarl_url.py -> buildlib.win-amd64-3.9yarl
      copying yarl__init__.py -> buildlib.win-amd64-3.9yarl
      running egg_info
      writing yarl.egg-infoPKG-INFO
      writing dependency_links to yarl.egg-infodependency_links.txt
      writing requirements to yarl.egg-inforequires.txt
      writing top-level names to yarl.egg-infotop_level.txt
      reading manifest file 'yarl.egg-infoSOURCES.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-infoSOURCES.txt'
      copying yarl__init__.pyi -> buildlib.win-amd64-3.9yarl
      copying yarl_quoting_c.c -> buildlib.win-amd64-3.9yarl
      copying yarl_quoting_c.pyi -> buildlib.win-amd64-3.9yarl
      copying yarl_quoting_c.pyx -> buildlib.win-amd64-3.9yarl
      copying yarlpy.typed -> buildlib.win-amd64-3.9yarl
      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/
      ----------------------------------------
      ERROR: Failed building wheel for yarl
      Building wheel for multidict (PEP 517) ... error
      ERROR: Command errored out with exit status 1:
       command: 'c:usershome-pcappdatalocalprogramspythonpython39python.exe' 'c:usershome-pcappdatalocalprogramspythonpython39libsite-packagespip_vendorpep517_in_process.py' build_wheel 'C:UsersHome-PCAppDataLocalTemptmp9bha4p8h'
           cwd: C:UsersHome-PCAppDataLocalTemppip-install-3thavqw8multidict
      Complete output (40 lines):
      **********************
      * Accellerated build *
      **********************
      running bdist_wheel
      running build
      running build_py
      creating build
      creating buildlib.win-amd64-3.9
      creating buildlib.win-amd64-3.9multidict
      copying multidict_abc.py -> buildlib.win-amd64-3.9multidict
      copying multidict_compat.py -> buildlib.win-amd64-3.9multidict
      copying multidict_multidict_base.py -> buildlib.win-amd64-3.9multidict
      copying multidict_multidict_py.py -> buildlib.win-amd64-3.9multidict
      copying multidict__init__.py -> buildlib.win-amd64-3.9multidict
      running egg_info
      writing multidict.egg-infoPKG-INFO
      writing dependency_links to multidict.egg-infodependency_links.txt
      writing top-level names to multidict.egg-infotop_level.txt
      reading manifest file 'multidict.egg-infoSOURCES.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-infoSOURCES.txt'
      copying multidict__init__.pyi -> buildlib.win-amd64-3.9multidict
      copying multidict_multidict.c -> buildlib.win-amd64-3.9multidict
      copying multidictpy.typed -> buildlib.win-amd64-3.9multidict
      creating buildlib.win-amd64-3.9multidict_multilib
      copying multidict_multilibdefs.h -> buildlib.win-amd64-3.9multidict_multilib
      copying multidict_multilibdict.h -> buildlib.win-amd64-3.9multidict_multilib
      copying multidict_multilibistr.h -> buildlib.win-amd64-3.9multidict_multilib
      copying multidict_multilibiter.h -> buildlib.win-amd64-3.9multidict_multilib
      copying multidict_multilibpair_list.h -> buildlib.win-amd64-3.9multidict_multilib
      copying multidict_multilibviews.h -> buildlib.win-amd64-3.9multidict_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/
      ----------------------------------------
      ERROR: Failed building wheel for multidict
    Failed to build yarl multidict
    ERROR: Could not build wheels for yarl, multidict which use PEP 517 and cannot be installed directly

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP