Advertisement
VeNoM_1

Untitled

Dec 29th, 2023
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.32 KB | None | 0 0
  1. py -3 -m pip install -U discord.py'
  2. ERROR: Invalid requirement: "discord.py'"
  3.  
  4. C:\Users\Vansh>py -3 -m pip install -U discord.py
  5. Collecting discord.py
  6. Using cached discord.py-2.3.2-py3-none-any.whl.metadata (4.9 kB)
  7. Collecting aiohttp<4,>=3.7.4 (from discord.py)
  8. Using cached aiohttp-3.9.1-cp312-cp312-win_amd64.whl.metadata (7.6 kB)
  9. Collecting attrs>=17.3.0 (from aiohttp<4,>=3.7.4->discord.py)
  10. Using cached attrs-23.1.0-py3-none-any.whl (61 kB)
  11. Collecting multidict<7.0,>=4.5 (from aiohttp<4,>=3.7.4->discord.py)
  12. Using cached multidict-6.0.4.tar.gz (51 kB)
  13. Installing build dependencies ... done
  14. Getting requirements to build wheel ... done
  15. Installing backend dependencies ... done
  16. Preparing metadata (pyproject.toml) ... done
  17. Collecting yarl<2.0,>=1.0 (from aiohttp<4,>=3.7.4->discord.py)
  18. Using cached yarl-1.9.4-cp312-cp312-win_amd64.whl.metadata (32 kB)
  19. Collecting frozenlist>=1.1.1 (from aiohttp<4,>=3.7.4->discord.py)
  20. Using cached frozenlist-1.4.1-cp312-cp312-win_amd64.whl.metadata (12 kB)
  21. Collecting aiosignal>=1.1.2 (from aiohttp<4,>=3.7.4->discord.py)
  22. Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
  23. Requirement already satisfied: idna>=2.0 in c:\users\vansh\appdata\local\programs\python\python312\lib\site-packages (from yarl<2.0,>=1.0->aiohttp<4,>=3.7.4->discord.py) (3.6)
  24. Using cached discord.py-2.3.2-py3-none-any.whl (1.1 MB)
  25. Using cached aiohttp-3.9.1-cp312-cp312-win_amd64.whl (362 kB)
  26. Using cached frozenlist-1.4.1-cp312-cp312-win_amd64.whl (50 kB)
  27. Using cached yarl-1.9.4-cp312-cp312-win_amd64.whl (76 kB)
  28. Building wheels for collected packages: multidict
  29. Building wheel for multidict (pyproject.toml) ... error
  30. error: subprocess-exited-with-error
  31.  
  32. × Building wheel for multidict (pyproject.toml) did not run successfully.
  33. │ exit code: 1
  34. ╰─> [74 lines of output]
  35. *********************
  36. * Accelerated build *
  37. *********************
  38. running bdist_wheel
  39. running build
  40. running build_py
  41. creating build
  42. creating build\lib.win-amd64-cpython-312
  43. creating build\lib.win-amd64-cpython-312\multidict
  44. copying multidict\_abc.py -> build\lib.win-amd64-cpython-312\multidict
  45. copying multidict\_compat.py -> build\lib.win-amd64-cpython-312\multidict
  46. copying multidict\_multidict_base.py -> build\lib.win-amd64-cpython-312\multidict
  47. copying multidict\_multidict_py.py -> build\lib.win-amd64-cpython-312\multidict
  48. copying multidict\__init__.py -> build\lib.win-amd64-cpython-312\multidict
  49. running egg_info
  50. writing multidict.egg-info\PKG-INFO
  51. writing dependency_links to multidict.egg-info\dependency_links.txt
  52. writing top-level names to multidict.egg-info\top_level.txt
  53. reading manifest file 'multidict.egg-info\SOURCES.txt'
  54. reading manifest template 'MANIFEST.in'
  55. warning: no previously-included files matching '*.pyc' found anywhere in distribution
  56. warning: no previously-included files found matching 'multidict\_multidict.html'
  57. warning: no previously-included files found matching 'multidict\*.so'
  58. warning: no previously-included files found matching 'multidict\*.pyd'
  59. warning: no previously-included files found matching 'multidict\*.pyd'
  60. no previously-included directories found matching 'docs\_build'
  61. adding license file 'LICENSE'
  62. writing manifest file 'multidict.egg-info\SOURCES.txt'
  63. C:\Users\Vansh\AppData\Local\Temp\pip-build-env-s3o75vdt\overlay\Lib\site-packages\setuptools\command\build_py.py:207: _Warning: Package 'multidict._multilib' is absent from the `packages` configuration.
  64. !!
  65.  
  66. ********************************************************************************
  67. ############################
  68. # Package would be ignored #
  69. ############################
  70. Python recognizes 'multidict._multilib' as an importable package[^1],
  71. but it is absent from setuptools' `packages` configuration.
  72.  
  73. This leads to an ambiguous overall configuration. If you want to distribute this
  74. package, please make sure that 'multidict._multilib' is explicitly added
  75. to the `packages` configuration field.
  76.  
  77. Alternatively, you can also rely on setuptools' discovery methods
  78. (for example by using `find_namespace_packages(...)`/`find_namespace:`
  79. instead of `find_packages(...)`/`find:`).
  80.  
  81. You can read more about "package discovery" on setuptools documentation page:
  82.  
  83. - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
  84.  
  85. If you don't want 'multidict._multilib' to be distributed and are
  86. already explicitly excluding 'multidict._multilib' via
  87. `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
  88. you can try to use `exclude_package_data`, or `include-package-data=False` in
  89. combination with a more fine grained `package-data` configuration.
  90.  
  91. You can read more about "package data files" on setuptools documentation page:
  92.  
  93. - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
  94.  
  95.  
  96. [^1]: For Python, any directory (with suitable naming) can be imported,
  97. even if it does not contain any `.py` files.
  98. On the other hand, currently there is no concept of package data
  99. directory, all directories are treated like packages.
  100. ********************************************************************************
  101.  
  102. !!
  103. check.warn(importable)
  104. copying multidict\__init__.pyi -> build\lib.win-amd64-cpython-312\multidict
  105. copying multidict\py.typed -> build\lib.win-amd64-cpython-312\multidict
  106. running build_ext
  107. building 'multidict._multidict' extension
  108. 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/
  109. [end of output]
  110.  
  111. note: This error originates from a subprocess, and is likely not a problem with pip.
  112. ERROR: Failed building wheel for multidict
  113. Failed to build multidict
  114. ERROR: Could not build wheels for multidict, which is required to install pyproject.toml-based projects
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement