Advertisement
Guest User

reconspider setup.py installation error

a guest
Dec 10th, 2022
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.82 KB | None | 0 0
  1. /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:264: UserWarning: Unknown distribution option: 'console'
  2. warnings.warn(msg)
  3. running install
  4. /usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  5. warnings.warn(
  6. /usr/lib/python3/dist-packages/setuptools/command/easy_install.py:146: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
  7. warnings.warn(
  8. /usr/lib/python3/dist-packages/pkg_resources/__init__.py:123: PkgResourcesDeprecationWarning: 2.3.0-nmu1-b1 is an invalid version and will not be supported in a future release
  9. warnings.warn(
  10. running bdist_egg
  11. running egg_info
  12. writing ReconSpider.egg-info/PKG-INFO
  13. writing dependency_links to ReconSpider.egg-info/dependency_links.txt
  14. writing requirements to ReconSpider.egg-info/requires.txt
  15. writing top-level names to ReconSpider.egg-info/top_level.txt
  16. reading manifest file 'ReconSpider.egg-info/SOURCES.txt'
  17. adding license file 'LICENSE'
  18. writing manifest file 'ReconSpider.egg-info/SOURCES.txt'
  19. installing library code to build/bdist.linux-x86_64/egg
  20. running install_lib
  21. warning: install_lib: 'build/lib' does not exist -- no Python modules to install
  22.  
  23. creating build/bdist.linux-x86_64/egg
  24. creating build/bdist.linux-x86_64/egg/EGG-INFO
  25. copying ReconSpider.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
  26. copying ReconSpider.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
  27. copying ReconSpider.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
  28. copying ReconSpider.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
  29. copying ReconSpider.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
  30. zip_safe flag not set; analyzing archive contents...
  31. creating 'dist/ReconSpider-1.0.7-py3.10.egg' and adding 'build/bdist.linux-x86_64/egg' to it
  32. removing 'build/bdist.linux-x86_64/egg' (and everything under it)
  33. Processing ReconSpider-1.0.7-py3.10.egg
  34. Removing /usr/local/lib/python3.10/dist-packages/ReconSpider-1.0.7-py3.10.egg
  35. Copying ReconSpider-1.0.7-py3.10.egg to /usr/local/lib/python3.10/dist-packages
  36. ReconSpider 1.0.7 is already the active version in easy-install.pth
  37.  
  38. Installed /usr/local/lib/python3.10/dist-packages/ReconSpider-1.0.7-py3.10.egg
  39. Processing dependencies for ReconSpider==1.0.7
  40. Searching for wget
  41. Reading https://pypi.org/simple/wget/
  42. /usr/lib/python3/dist-packages/pkg_resources/__init__.py:123: PkgResourcesDeprecationWarning: is an invalid version and will not be supported in a future release
  43. warnings.warn(
  44. Downloading https://files.pythonhosted.org/packages/47/6a/62e288da7bcda82b935ff0c6cfe542970f04e29c756b0e147251b2fb251f/wget-3.2.zip#sha256=35e630eca2aa50ce998b9b1a127bb26b30dfee573702782aa982f875e3f16061
  45. Best match: wget 3.2
  46. Processing wget-3.2.zip
  47. Writing /tmp/easy_install-f4ir_t5e/wget-3.2/setup.cfg
  48. Running wget-3.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-f4ir_t5e/wget-3.2/egg-dist-tmp-vdi60v22
  49. /usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  50. warnings.warn(
  51. Traceback (most recent call last):
  52. File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 156, in save_modules
  53. yield saved
  54. File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 198, in setup_context
  55. yield
  56. File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 259, in run_setup
  57. _execfile(setup_script, ns)
  58. File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 46, in _execfile
  59. exec(code, globals, locals)
  60. File "/tmp/easy_install-f4ir_t5e/wget-3.2/setup.py", line 15, in <module>
  61. fout.write(" api= "+ '"' + "ecf584dd7bccdf2c152fdf3f5595ba20" + '"' + "\n")
  62. File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 185, in setup
  63. return run_commands(dist)
  64. File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 201, in run_commands
  65. dist.run_commands()
  66. File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 968, in run_commands
  67. self.run_command(cmd)
  68. File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1217, in run_command
  69. super().run_command(command)
  70. File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 987, in run_command
  71. cmd_obj.run()
  72. File "/usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py", line 165, in run
  73. cmd = self.call_command('install_lib', warn_dir=0)
  74. File "/usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py", line 151, in call_command
  75. self.run_command(cmdname)
  76. File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 319, in run_command
  77. self.distribution.run_command(command)
  78. File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1217, in run_command
  79. super().run_command(command)
  80. File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 986, in run_command
  81. cmd_obj.ensure_finalized()
  82. File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 109, in ensure_finalized
  83. self.finalize_options()
  84. File "/usr/lib/python3/dist-packages/setuptools/command/install_lib.py", line 17, in finalize_options
  85. self.set_undefined_options('install',('install_layout','install_layout'))
  86. File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 297, in set_undefined_options
  87. setattr(self, dst_option, getattr(src_cmd_obj, src_option))
  88. File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 105, in __getattr__
  89. raise AttributeError(attr)
  90. AttributeError: install_layout. Did you mean: 'install_platlib'?
  91.  
  92. During handling of the above exception, another exception occurred:
  93.  
  94. Traceback (most recent call last):
  95. File "/home/kali/.clones/reconspider/setup.py", line 29, in <module>
  96. setup(
  97. File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 87, in setup
  98. return distutils.core.setup(**attrs)
  99. File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 185, in setup
  100. return run_commands(dist)
  101. File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 201, in run_commands
  102. dist.run_commands()
  103. File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 968, in run_commands
  104. self.run_command(cmd)
  105. File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1217, in run_command
  106. super().run_command(command)
  107. File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 987, in run_command
  108. cmd_obj.run()
  109. File "/usr/lib/python3/dist-packages/setuptools/command/install.py", line 74, in run
  110. self.do_egg_install()
  111. File "/usr/lib/python3/dist-packages/setuptools/command/install.py", line 131, in do_egg_install
  112. cmd.run(show_deprecation=False)
  113. File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 444, in run
  114. self.easy_install(spec, not self.no_deps)
  115. File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 686, in easy_install
  116. return self.install_item(None, spec, tmpdir, deps, True)
  117. File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 733, in install_item
  118. self.process_distribution(spec, dist, deps)
  119. File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 778, in process_distribution
  120. distros = WorkingSet([]).resolve(
  121. File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 789, in resolve
  122. dist = best[req.key] = env.best_match(
  123. File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1075, in best_match
  124. return self.obtain(req, installer)
  125. File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1087, in obtain
  126. return installer(requirement)
  127. File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 705, in easy_install
  128. return self.install_item(spec, dist.location, tmpdir, deps)
  129. File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 731, in install_item
  130. dists = self.install_eggs(spec, download, tmpdir)
  131. File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 924, in install_eggs
  132. return self.build_and_install(setup_script, setup_base)
  133. File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1198, in build_and_install
  134. self.run_setup(setup_script, setup_base, args)
  135. File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1182, in run_setup
  136. run_setup(setup_script, args)
  137. File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 249, in run_setup
  138. with setup_context(setup_dir):
  139. File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__
  140. self.gen.throw(typ, value, traceback)
  141. File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 190, in setup_context
  142. with save_modules():
  143. File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__
  144. self.gen.throw(typ, value, traceback)
  145. File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 169, in save_modules
  146. saved_exc.resume()
  147. File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 143, in resume
  148. raise exc.with_traceback(self._tb)
  149. File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 156, in save_modules
  150. yield saved
  151. File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 198, in setup_context
  152. yield
  153. File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 259, in run_setup
  154. _execfile(setup_script, ns)
  155. File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 46, in _execfile
  156. exec(code, globals, locals)
  157. File "/tmp/easy_install-f4ir_t5e/wget-3.2/setup.py", line 15, in <module>
  158. fout.write(" api= "+ '"' + "ecf584dd7bccdf2c152fdf3f5595ba20" + '"' + "\n")
  159. File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 185, in setup
  160. return run_commands(dist)
  161. File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 201, in run_commands
  162. dist.run_commands()
  163. File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 968, in run_commands
  164. self.run_command(cmd)
  165. File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1217, in run_command
  166. super().run_command(command)
  167. File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 987, in run_command
  168. cmd_obj.run()
  169. File "/usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py", line 165, in run
  170. cmd = self.call_command('install_lib', warn_dir=0)
  171. File "/usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py", line 151, in call_command
  172. self.run_command(cmdname)
  173. File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 319, in run_command
  174. self.distribution.run_command(command)
  175. File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1217, in run_command
  176. super().run_command(command)
  177. File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 986, in run_command
  178. cmd_obj.ensure_finalized()
  179. File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 109, in ensure_finalized
  180. self.finalize_options()
  181. File "/usr/lib/python3/dist-packages/setuptools/command/install_lib.py", line 17, in finalize_options
  182. self.set_undefined_options('install',('install_layout','install_layout'))
  183. File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 297, in set_undefined_options
  184. setattr(self, dst_option, getattr(src_cmd_obj, src_option))
  185. File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 105, in __getattr__
  186. raise AttributeError(attr)
  187. AttributeError: install_layout
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement