Advertisement
MrShandy

discord.py error

Feb 28th, 2021
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.17 KB | None | 0 0
  1.  
  2. root@steve:~# pip3 install discord
  3. Collecting discord
  4. Using cached https://files.pythonhosted.org/packages/aa/76/75382e581c7932c177568e985a6967a305b1788f51936e819010e5538ef4/discord-1.0.1-py3-none-any.whl
  5. Collecting discord.py>=1.0.1 (from discord)
  6. Using cached https://files.pythonhosted.org/packages/62/9d/d5d9134bf894cce5b1acc698222d2b80c51f017b17e4211f4f33cebffccb/discord.py-1.6.0-py3-none-any.whl
  7. Collecting aiohttp<3.8.0,>=3.6.0 (from discord.py>=1.0.1->discord)
  8. Using cached https://files.pythonhosted.org/packages/7a/95/eb60aaad7943e18c9d091de93c9b0b5ed40aa67c7d5e3c5ee9b36f100a38/aiohttp-3.7.4.tar.gz
  9. Requirement already satisfied: attrs>=17.3.0 in /usr/lib/python3/dist-packages (from aiohttp<3.8.0,>=3.6.0->discord.py>=1.0.1->discord)
  10. Requirement already satisfied: chardet<4.0,>=2.0 in /usr/lib/python3/dist-packages (from aiohttp<3.8.0,>=3.6.0->discord.py>=1.0.1->discord)
  11. Collecting multidict<7.0,>=4.5 (from aiohttp<3.8.0,>=3.6.0->discord.py>=1.0.1->discord)
  12. Using cached https://files.pythonhosted.org/packages/1c/74/e8b46156f37ca56d10d895d4e8595aa2b344cff3c1fb3629ec97a8656ccb/multidict-5.1.0.tar.gz
  13. Collecting async_timeout<4.0,>=3.0 (from aiohttp<3.8.0,>=3.6.0->discord.py>=1.0.1->discord)
  14. Using cached https://files.pythonhosted.org/packages/e1/1e/5a4441be21b0726c4464f3f23c8b19628372f606755a9d2e46c187e65ec4/async_timeout-3.0.1-py3-none-any.whl
  15. Collecting yarl<2.0,>=1.0 (from aiohttp<3.8.0,>=3.6.0->discord.py>=1.0.1->discord)
  16. Using cached https://files.pythonhosted.org/packages/97/e7/af7219a0fe240e8ef6bb555341a63c43045c21ab0392b4435e754b716fa1/yarl-1.6.3.tar.gz
  17. Collecting typing_extensions>=3.6.5 (from aiohttp<3.8.0,>=3.6.0->discord.py>=1.0.1->discord)
  18. Using cached https://files.pythonhosted.org/packages/60/7a/e881b5abb54db0e6e671ab088d079c57ce54e8a01a3ca443f561ccadb37e/typing_extensions-3.7.4.3-py3-none-any.whl
  19. Collecting idna-ssl>=1.0 (from aiohttp<3.8.0,>=3.6.0->discord.py>=1.0.1->discord)
  20. Using cached https://files.pythonhosted.org/packages/46/03/07c4894aae38b0de52b52586b24bf189bb83e4ddabfe2e2c8f2419eec6f4/idna-ssl-1.1.0.tar.gz
  21. Requirement already satisfied: idna>=2.0 in /usr/lib/python3/dist-packages (from yarl<2.0,>=1.0->aiohttp<3.8.0,>=3.6.0->discord.py>=1.0.1->discord)
  22. Building wheels for collected packages: aiohttp, multidict, yarl, idna-ssl
  23. Running setup.py bdist_wheel for aiohttp ... error
  24. Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-k7ooq6v1/aiohttp/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpgdv9mt1gpip-wheel- --python-tag cp36:
  25. usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
  26. or: -c --help [cmd1 cmd2 ...]
  27. or: -c --help-commands
  28. or: -c cmd --help
  29.  
  30. error: invalid command 'bdist_wheel'
  31.  
  32. ----------------------------------------
  33. Failed building wheel for aiohttp
  34. Running setup.py clean for aiohttp
  35. Running setup.py bdist_wheel for multidict ... error
  36. Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-k7ooq6v1/multidict/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpt_carpe9pip-wheel- --python-tag cp36:
  37. *********************
  38. * Accelerated build *
  39. *********************
  40. usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
  41. or: -c --help [cmd1 cmd2 ...]
  42. or: -c --help-commands
  43. or: -c cmd --help
  44.  
  45. error: invalid command 'bdist_wheel'
  46.  
  47. ----------------------------------------
  48. Failed building wheel for multidict
  49. Running setup.py clean for multidict
  50. Running setup.py bdist_wheel for yarl ... error
  51. Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-k7ooq6v1/yarl/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpdu3aez2zpip-wheel- --python-tag cp36:
  52. **********************
  53. * Accellerated build *
  54. **********************
  55. usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
  56. or: -c --help [cmd1 cmd2 ...]
  57. or: -c --help-commands
  58. or: -c cmd --help
  59.  
  60. error: invalid command 'bdist_wheel'
  61.  
  62. ----------------------------------------
  63. Failed building wheel for yarl
  64. Running setup.py clean for yarl
  65. Running setup.py bdist_wheel for idna-ssl ... error
  66. Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-k7ooq6v1/idna-ssl/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpzqp79noepip-wheel- --python-tag cp36:
  67. usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
  68. or: -c --help [cmd1 cmd2 ...]
  69. or: -c --help-commands
  70. or: -c cmd --help
  71.  
  72. error: invalid command 'bdist_wheel'
  73.  
  74. ----------------------------------------
  75. Failed building wheel for idna-ssl
  76. Running setup.py clean for idna-ssl
  77. Failed to build aiohttp multidict yarl idna-ssl
  78. Installing collected packages: multidict, async-timeout, typing-extensions, yarl, idna-ssl, aiohttp, discord.py, discord
  79. Running setup.py install for multidict ... error
  80. Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-k7ooq6v1/multidict/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-09vxllnc-record/install-record.txt --single-version-externally-managed --compile:
  81. *********************
  82. * Accelerated build *
  83. *********************
  84. running install
  85. running build
  86. running build_py
  87. creating build
  88. creating build/lib.linux-x86_64-3.6
  89. creating build/lib.linux-x86_64-3.6/multidict
  90. copying multidict/_multidict_base.py -> build/lib.linux-x86_64-3.6/multidict
  91. copying multidict/_abc.py -> build/lib.linux-x86_64-3.6/multidict
  92. copying multidict/__init__.py -> build/lib.linux-x86_64-3.6/multidict
  93. copying multidict/_multidict_py.py -> build/lib.linux-x86_64-3.6/multidict
  94. copying multidict/_compat.py -> build/lib.linux-x86_64-3.6/multidict
  95. running egg_info
  96. writing multidict.egg-info/PKG-INFO
  97. writing dependency_links to multidict.egg-info/dependency_links.txt
  98. writing top-level names to multidict.egg-info/top_level.txt
  99. reading manifest file 'multidict.egg-info/SOURCES.txt'
  100. reading manifest template 'MANIFEST.in'
  101. warning: no previously-included files matching '*.pyc' found anywhere in distribution
  102. warning: no previously-included files found matching 'multidict/_multidict.html'
  103. warning: no previously-included files found matching 'multidict/*.so'
  104. warning: no previously-included files found matching 'multidict/*.pyd'
  105. warning: no previously-included files found matching 'multidict/*.pyd'
  106. no previously-included directories found matching 'docs/_build'
  107. writing manifest file 'multidict.egg-info/SOURCES.txt'
  108. copying multidict/__init__.pyi -> build/lib.linux-x86_64-3.6/multidict
  109. copying multidict/_multidict.c -> build/lib.linux-x86_64-3.6/multidict
  110. copying multidict/py.typed -> build/lib.linux-x86_64-3.6/multidict
  111. creating build/lib.linux-x86_64-3.6/multidict/_multilib
  112. copying multidict/_multilib/defs.h -> build/lib.linux-x86_64-3.6/multidict/_multilib
  113. copying multidict/_multilib/dict.h -> build/lib.linux-x86_64-3.6/multidict/_multilib
  114. copying multidict/_multilib/istr.h -> build/lib.linux-x86_64-3.6/multidict/_multilib
  115. copying multidict/_multilib/iter.h -> build/lib.linux-x86_64-3.6/multidict/_multilib
  116. copying multidict/_multilib/pair_list.h -> build/lib.linux-x86_64-3.6/multidict/_multilib
  117. copying multidict/_multilib/views.h -> build/lib.linux-x86_64-3.6/multidict/_multilib
  118. running build_ext
  119. building 'multidict._multidict' extension
  120. creating build/temp.linux-x86_64-3.6
  121. creating build/temp.linux-x86_64-3.6/multidict
  122. x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.6m -c multidict/_multidict.c -o build/temp.linux-x86_64-3.6/multidict/_multidict.o -O2 -std=c99 -Wall -Wsign-compare -Wconversion -fno-strict-aliasing -pedantic
  123. multidict/_multidict.c:1:10: fatal error: Python.h: No such file or directory
  124. #include "Python.h"
  125. ^~~~~~~~~~
  126. compilation terminated.
  127. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  128.  
  129. ----------------------------------------
  130. Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-k7ooq6v1/multidict/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-09vxllnc-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-k7ooq6v1/multidict/
  131.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement