mitcmack

Untitled

Sep 27th, 2016
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.76 KB | None | 0 0
  1. pi@raspberrypi:~/MusicBot $ python3.5 run.py
  2. No module named 'aiohttp'
  3. Attempting to install dependencies...
  4. Ignoring cffi: markers "sys_platform == 'win32'" don't match your environment
  5. Collecting discord.py[voice] (from -r requirements.txt (line 1))
  6. Downloading discord.py-0.13.0.zip (440kB)
  7. 100% |████████████████████████████████| 450kB 546kB/s
  8. Collecting youtube_dl (from -r requirements.txt (line 2))
  9. Downloading youtube_dl-2016.9.27.tar.gz (1.1MB)
  10. 100% |████████████████████████████████| 1.1MB 237kB/s
  11. Requirement already up-to-date: pip in /usr/local/lib/python3.5/site-packages (from -r requirements.txt (line 3))
  12. Collecting aiohttp<1.1.0,>=1.0.0 (from discord.py[voice]->-r requirements.txt (line 1))
  13. Downloading aiohttp-1.0.2.tar.gz (499kB)
  14. 100% |████████████████████████████████| 501kB 390kB/s
  15. Collecting websockets<4.0,>=3.1 (from discord.py[voice]->-r requirements.txt (line 1))
  16. Downloading websockets-3.2-py33.py34.py35-none-any.whl
  17. Collecting PyNaCl==1.0.1 (from discord.py[voice]->-r requirements.txt (line 1))
  18. Downloading PyNaCl-1.0.1.tar.gz (2.7MB)
  19. 100% |████████████████████████████████| 2.7MB 96kB/s
  20. Complete output from command python setup.py egg_info:
  21. Package libffi was not found in the pkg-config search path.
  22. Perhaps you should add the directory containing `libffi.pc'
  23. to the PKG_CONFIG_PATH environment variable
  24. No package 'libffi' found
  25. Package libffi was not found in the pkg-config search path.
  26. Perhaps you should add the directory containing `libffi.pc'
  27. to the PKG_CONFIG_PATH environment variable
  28. No package 'libffi' found
  29. Package libffi was not found in the pkg-config search path.
  30. Perhaps you should add the directory containing `libffi.pc'
  31. to the PKG_CONFIG_PATH environment variable
  32. No package 'libffi' found
  33. Package libffi was not found in the pkg-config search path.
  34. Perhaps you should add the directory containing `libffi.pc'
  35. to the PKG_CONFIG_PATH environment variable
  36. No package 'libffi' found
  37. Package libffi was not found in the pkg-config search path.
  38. Perhaps you should add the directory containing `libffi.pc'
  39. to the PKG_CONFIG_PATH environment variable
  40. No package 'libffi' found
  41. c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory
  42. #include <ffi.h>
  43. ^
  44. compilation terminated.
  45. Traceback (most recent call last):
  46. File "/usr/local/lib/python3.5/distutils/unixccompiler.py", line 116, in _compile
  47. extra_postargs)
  48. File "/usr/local/lib/python3.5/distutils/ccompiler.py", line 909, in spawn
  49. spawn(cmd, dry_run=self.dry_run)
  50. File "/usr/local/lib/python3.5/distutils/spawn.py", line 36, in spawn
  51. _spawn_posix(cmd, search_path, dry_run=dry_run)
  52. File "/usr/local/lib/python3.5/distutils/spawn.py", line 159, in _spawn_posix
  53. % (cmd, exit_status))
  54. distutils.errors.DistutilsExecError: command 'gcc' failed with exit status 1
  55.  
  56. During handling of the above exception, another exception occurred:
  57.  
  58. Traceback (most recent call last):
  59. File "/usr/local/lib/python3.5/distutils/core.py", line 148, in setup
  60. dist.run_commands()
  61. File "/usr/local/lib/python3.5/distutils/dist.py", line 955, in run_commands
  62. self.run_command(cmd)
  63. File "/usr/local/lib/python3.5/distutils/dist.py", line 974, in run_command
  64. cmd_obj.run()
  65. File "/usr/local/lib/python3.5/site-packages/setuptools/command/bdist_egg.py", line 160, in run
  66. cmd = self.call_command('install_lib', warn_dir=0)
  67. File "/usr/local/lib/python3.5/site-packages/setuptools/command/bdist_egg.py", line 146, in call_command
  68. self.run_command(cmdname)
  69. File "/usr/local/lib/python3.5/distutils/cmd.py", line 313, in run_command
  70. self.distribution.run_command(command)
  71. File "/usr/local/lib/python3.5/distutils/dist.py", line 974, in run_command
  72. cmd_obj.run()
  73. File "/usr/local/lib/python3.5/site-packages/setuptools/command/install_lib.py", line 10, in run
  74. self.build()
  75. File "/usr/local/lib/python3.5/distutils/command/install_lib.py", line 107, in build
  76. self.run_command('build_ext')
  77. File "/usr/local/lib/python3.5/distutils/cmd.py", line 313, in run_command
  78. self.distribution.run_command(command)
  79. File "/usr/local/lib/python3.5/distutils/dist.py", line 974, in run_command
  80. cmd_obj.run()
  81. File "/usr/local/lib/python3.5/site-packages/setuptools/command/build_ext.py", line 49, in run
  82. _build_ext.run(self)
  83. File "/usr/local/lib/python3.5/distutils/command/build_ext.py", line 338, in run
  84. self.build_extensions()
  85. File "/usr/local/lib/python3.5/distutils/command/build_ext.py", line 447, in build_extensions
  86. self._build_extensions_serial()
  87. File "/usr/local/lib/python3.5/distutils/command/build_ext.py", line 472, in _build_extensions_serial
  88. self.build_extension(ext)
  89. File "/usr/local/lib/python3.5/site-packages/setuptools/command/build_ext.py", line 174, in build_extension
  90. _build_ext.build_extension(self, ext)
  91. File "/usr/local/lib/python3.5/distutils/command/build_ext.py", line 532, in build_extension
  92. depends=ext.depends)
  93. File "/usr/local/lib/python3.5/distutils/ccompiler.py", line 574, in compile
  94. self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  95. File "/usr/local/lib/python3.5/distutils/unixccompiler.py", line 118, in _compile
  96. raise CompileError(msg)
  97. distutils.errors.CompileError: command 'gcc' failed with exit status 1
  98.  
  99. During handling of the above exception, another exception occurred:
  100.  
  101. Traceback (most recent call last):
  102. File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 152, in save_modules
  103. yield saved
  104. File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 193, in setup_context
  105. yield
  106. File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 237, in run_setup
  107. DirectorySandbox(setup_dir).run(runner)
  108. File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 267, in run
  109. return func()
  110. File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 236, in runner
  111. _execfile(setup_script, ns)
  112. File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 46, in _execfile
  113. exec(code, globals, locals)
  114. File "/tmp/easy_install-q15ntrcm/cffi-1.8.3/setup.py", line 193, in <module>
  115. subprocess.check_call(["make", "check"], cwd=build_temp)
  116. File "/usr/local/lib/python3.5/distutils/core.py", line 163, in setup
  117. raise SystemExit("error: " + str(msg))
  118. SystemExit: error: command 'gcc' failed with exit status 1
  119.  
  120. During handling of the above exception, another exception occurred:
  121.  
  122. Traceback (most recent call last):
  123. File "/usr/local/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 1056, in run_setup
  124. run_setup(setup_script, args)
  125. File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 240, in run_setup
  126. raise
  127. File "/usr/local/lib/python3.5/contextlib.py", line 77, in __exit__
  128. self.gen.throw(type, value, traceback)
  129. File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 193, in setup_context
  130. yield
  131. File "/usr/local/lib/python3.5/contextlib.py", line 77, in __exit__
  132. self.gen.throw(type, value, traceback)
  133. File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 164, in save_modules
  134. saved_exc.resume()
  135. File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 139, in resume
  136. compat.reraise(type, exc, self._tb)
  137. File "/usr/local/lib/python3.5/site-packages/setuptools/compat.py", line 65, in reraise
  138. raise value.with_traceback(tb)
  139. File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 152, in save_modules
  140. yield saved
  141. File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 193, in setup_context
  142. yield
  143. File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 237, in run_setup
  144. DirectorySandbox(setup_dir).run(runner)
  145. File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 267, in run
  146. return func()
  147. File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 236, in runner
  148. _execfile(setup_script, ns)
  149. File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 46, in _execfile
  150. exec(code, globals, locals)
  151. File "/tmp/easy_install-q15ntrcm/cffi-1.8.3/setup.py", line 193, in <module>
  152. subprocess.check_call(["make", "check"], cwd=build_temp)
  153. File "/usr/local/lib/python3.5/distutils/core.py", line 163, in setup
  154. raise SystemExit("error: " + str(msg))
  155. SystemExit: error: command 'gcc' failed with exit status 1
  156.  
  157. During handling of the above exception, another exception occurred:
  158.  
  159. Traceback (most recent call last):
  160. File "<string>", line 1, in <module>
  161. File "/tmp/pip-build-qme_fh47/PyNaCl/setup.py", line 259, in <module>
  162. "Programming Language :: Python :: 3.5",
  163. File "/usr/local/lib/python3.5/distutils/core.py", line 108, in setup
  164. _setup_distribution = dist = klass(attrs)
  165. File "/usr/local/lib/python3.5/site-packages/setuptools/dist.py", line 268, in __init__
  166. self.fetch_build_eggs(attrs['setup_requires'])
  167. File "/usr/local/lib/python3.5/site-packages/setuptools/dist.py", line 313, in fetch_build_eggs
  168. replace_conflicting=True,
  169. File "/usr/local/lib/python3.5/site-packages/pkg_resources/__init__.py", line 836, in resolve
  170. dist = best[req.key] = env.best_match(req, ws, installer)
  171. File "/usr/local/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1081, in best_match
  172. return self.obtain(req, installer)
  173. File "/usr/local/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1093, in obtain
  174. return installer(requirement)
  175. File "/usr/local/lib/python3.5/site-packages/setuptools/dist.py", line 380, in fetch_build_egg
  176. return cmd.easy_install(req)
  177. File "/usr/local/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 629, in easy_install
  178. return self.install_item(spec, dist.location, tmpdir, deps)
  179. File "/usr/local/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 659, in install_item
  180. dists = self.install_eggs(spec, download, tmpdir)
  181. File "/usr/local/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 842, in install_eggs
  182. return self.build_and_install(setup_script, setup_base)
  183. File "/usr/local/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 1070, in build_and_install
  184. self.run_setup(setup_script, setup_base, args)
  185. File "/usr/local/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 1058, in run_setup
  186. raise DistutilsError("Setup script exited with %s" % (v.args[0],))
  187. distutils.errors.DistutilsError: Setup script exited with error: command 'gcc' failed with exit status 1
  188.  
  189. ----------------------------------------
  190. Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-qme_fh47/PyNaCl/
  191.  
  192. You may need to use sudo to install dependencies.
  193. pi@raspberrypi:~/MusicBot $
Advertisement
Add Comment
Please, Sign In to add comment