Задать вопрос
@MrEwee

Почему не скачивается модуль discord?

Я вообще чайник и просто написал pip install discord.py.
Python установлен последний

Вот что он мне написал

C:\Users\popabobra>pip install discord.py<br>
Collecting discord.py<br>
  Using cached discord.py-2.3.2-py3-none-any.whl.metadata (4.9 kB)<br>
Collecting aiohttp<4,>=3.7.4 (from discord.py)<br>
  Using cached aiohttp-3.9.1-cp312-cp312-win_amd64.whl.metadata (7.6 kB)<br>
Requirement already satisfied: attrs>=17.3.0 in c:\users\tipo5\appdata\local\programs\python\python312\lib\site-packages (from aiohttp<4,>=3.7.4->discord.py) (23.2.0)<br>
Collecting multidict<7.0,>=4.5 (from aiohttp<4,>=3.7.4->discord.py)<br>
  Using cached multidict-6.0.4.tar.gz (51 kB)<br>
  Installing build dependencies ... done<br>
  Getting requirements to build wheel ... done<br>
  Installing backend dependencies ... done<br>
  Preparing metadata (pyproject.toml) ... done<br>
Collecting yarl<2.0,>=1.0 (from aiohttp<4,>=3.7.4->discord.py)<br>
  Using cached yarl-1.9.4-cp312-cp312-win_amd64.whl.metadata (32 kB)<br>
Collecting frozenlist>=1.1.1 (from aiohttp<4,>=3.7.4->discord.py)<br>
  Using cached frozenlist-1.4.1-cp312-cp312-win_amd64.whl.metadata (12 kB)<br>
Collecting aiosignal>=1.1.2 (from aiohttp<4,>=3.7.4->discord.py)<br>
  Downloading aiosignal-1.3.1-py3-none-any.whl (7.6 kB)<br>
Requirement already satisfied: idna>=2.0 in c:\users\tipo5\appdata\local\programs\python\python312\lib\site-packages (from yarl<2.0,>=1.0->aiohttp<4,>=3.7.4->discord.py) (3.6)<br>
Using cached discord.py-2.3.2-py3-none-any.whl (1.1 MB)<br>
Using cached aiohttp-3.9.1-cp312-cp312-win_amd64.whl (362 kB)<br>
Using cached frozenlist-1.4.1-cp312-cp312-win_amd64.whl (50 kB)<br>
Using cached yarl-1.9.4-cp312-cp312-win_amd64.whl (76 kB)<br>
Building wheels for collected packages: multidict<br>
  Building wheel for multidict (pyproject.toml) ... error<br>
  error: subprocess-exited-with-error<br>
<br>
  × Building wheel for multidict (pyproject.toml) did not run successfully.<br>
  │ exit code: 1<br>
  ╰─> [74 lines of output]<br>
      *********************<br>
      * Accelerated build *<br>
      *********************<br>
      running bdist_wheel<br>
      running build<br>
      running build_py<br>
      creating build<br>
      creating build\lib.win-amd64-cpython-312<br>
      creating build\lib.win-amd64-cpython-312\multidict<br>
      copying multidict\_abc.py -> build\lib.win-amd64-cpython-312\multidict<br>
      copying multidict\_compat.py -> build\lib.win-amd64-cpython-312\multidict<br>
      copying multidict\_multidict_base.py -> build\lib.win-amd64-cpython-312\multidict<br>
      copying multidict\_multidict_py.py -> build\lib.win-amd64-cpython-312\multidict<br>
      copying multidict\__init__.py -> build\lib.win-amd64-cpython-312\multidict<br>
      running egg_info<br>
      writing multidict.egg-info\PKG-INFO<br>
      writing dependency_links to multidict.egg-info\dependency_links.txt<br>
      writing top-level names to multidict.egg-info\top_level.txt<br>
      reading manifest file 'multidict.egg-info\SOURCES.txt'<br>
      reading manifest template 'MANIFEST.in'<br>
      warning: no previously-included files matching '*.pyc' found anywhere in distribution<br>
      warning: no previously-included files found matching 'multidict\_multidict.html'<br>
      warning: no previously-included files found matching 'multidict\*.so'<br>
      warning: no previously-included files found matching 'multidict\*.pyd'<br>
      warning: no previously-included files found matching 'multidict\*.pyd'<br>
      no previously-included directories found matching 'docs\_build'<br>
      adding license file 'LICENSE'<br>
      writing manifest file 'multidict.egg-info\SOURCES.txt'<br>
      C:\Users\tipo5\AppData\Local\Temp\pip-build-env-t1_yw9jl\overlay\Lib\site-packages\setuptools\command\build_py.py:207: _Warning: Package 'multidict._multilib' is absent from the `packages` configuration.<br>
      !!<br>
<br>
              ********************************************************************************<br>
              ############################<br>
              # Package would be ignored #<br>
              ############################<br>
              Python recognizes 'multidict._multilib' as an importable package[^1],<br>
              but it is absent from setuptools' `packages` configuration.<br>
<br>
              This leads to an ambiguous overall configuration. If you want to distribute this<br>
              package, please make sure that 'multidict._multilib' is explicitly added<br>
              to the `packages` configuration field.<br>
<br>
              Alternatively, you can also rely on setuptools' discovery methods<br>
              (for example by using `find_namespace_packages(...)`/`find_namespace:`<br>
              instead of `find_packages(...)`/`find:`).<br>
<br>
              You can read more about "package discovery" on setuptools documentation page:<br>
<br>
              - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html<br>
<br>
              If you don't want 'multidict._multilib' to be distributed and are<br>
              already explicitly excluding 'multidict._multilib' via<br>
              `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,<br>
              you can try to use `exclude_package_data`, or `include-package-data=False` in<br>
              combination with a more fine grained `package-data` configuration.<br>
<br>
              You can read more about "package data files" on setuptools documentation page:<br>
<br>
              - https://setuptools.pypa.io/en/latest/userguide/datafiles.html<br>
<br>
              [^1]: For Python, any directory (with suitable naming) can be imported,<br>
                    even if it does not contain any `.py` files.<br>
                    On the other hand, currently there is no concept of package data<br>
                    directory, all directories are treated like packages.<br>
              ********************************************************************************<br>
<br>
      !!<br>
        check.warn(importable)<br>
      copying multidict\__init__.pyi -> build\lib.win-amd64-cpython-312\multidict<br>
      copying multidict\py.typed -> build\lib.win-amd64-cpython-312\multidict<br>
      running build_ext<br>
      building 'multidict._multidict' extension<br>
      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/<br>
      [end of output]<br>
<br>
  note: This error originates from a subprocess, and is likely not a problem with pip.<br>
  ERROR: Failed building wheel for multidict<br>
Failed to build multidict<br>
ERROR: Could not build wheels for multidict, which is required to install pyproject.toml-based projects
  • Вопрос задан
  • 103 просмотра
Подписаться 1 Средний Комментировать
Решения вопроса 1
Vindicar
@Vindicar
RTFM!
Какой питон стоит? 3.12 вроде как ещё не поддерживается.
Ответ написан
Пригласить эксперта
Ответы на вопрос 2
@MrEwee Автор вопроса
Если что качать https://visualstudio.microsoft.com/visual-cpp-buil... пытался и качал ВСЁ
Но не помогло и я удалил =) пойду пока что покушаю
Ответ написан
Комментировать
@Timurkaaa
Попробуйте без .py
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы