Guest User

Untitled

a guest
Oct 31st, 2018
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.80 KB | None | 0 0
  1. My error logs are as follows:
  2.  
  3. Collecting pythonnet
  4. Using cached https://files.pythonhosted.org/packages/89/3b/a22cd45b591d6cf490e
  5. e8b24d52b9db1f30b4b478b64a9b231c53474731e/pythonnet-2.3.0.tar.gz
  6. Building wheels for collected packages: pythonnet
  7. Running setup.py bdist_wheel for pythonnet ... error
  8. Complete output from command c:\users\hp\desktop\manoj\env\scripts\python.exe
  9. -u -c "import setuptools, tokenize;__file__='C:\\Users\\HP\\AppData\\Local\\Temp
  10. \\pip-install-vd3kueqm\\pythonnet\\setup.py';f=getattr(tokenize, 'open', open)(_
  11. _file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file
  12. __, 'exec'))" bdist_wheel -d C:\Users\HP\AppData\Local\Temp\pip-wheel-d5r9fpjg -
  13. -python-tag cp37:
  14. running bdist_wheel
  15. running build
  16. running build_ext
  17. Checking for updates from https://www.nuget.org/api/v2/.
  18. Currently running NuGet.exe 3.5.0.
  19. Updating NuGet.exe to 4.7.1.
  20. Update successful.
  21. MSBuild auto-detection: using msbuild version '15.8.168.64424' from 'C:\Progra
  22. m Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\bin'.
  23. Restoring NuGet package NUnit.3.6.0.
  24. Restoring NuGet package UnmanagedExports.1.2.7.
  25. Restoring NuGet package NUnit.ConsoleRunner.3.6.0.
  26. Adding package 'NUnit.ConsoleRunner.3.6.0' to folder 'C:\Users\HP\AppData\Loca
  27. l\Temp\pip-install-vd3kueqm\pythonnet\packages'
  28. Adding package 'UnmanagedExports.1.2.7' to folder 'C:\Users\HP\AppData\Local\T
  29. emp\pip-install-vd3kueqm\pythonnet\packages'
  30. Adding package 'NUnit.3.6.0' to folder 'C:\Users\HP\AppData\Local\Temp\pip-ins
  31. tall-vd3kueqm\pythonnet\packages'
  32. Added package 'UnmanagedExports.1.2.7' to folder 'C:\Users\HP\AppData\Local\Te
  33. mp\pip-install-vd3kueqm\pythonnet\packages'
  34. Added package 'NUnit.ConsoleRunner.3.6.0' to folder 'C:\Users\HP\AppData\Local
  35. \Temp\pip-install-vd3kueqm\pythonnet\packages'
  36. Added package 'NUnit.3.6.0' to folder 'C:\Users\HP\AppData\Local\Temp\pip-inst
  37. all-vd3kueqm\pythonnet\packages'
  38.  
  39. NuGet Config files used:
  40. C:\Users\HP\AppData\Roaming\NuGet\NuGet.Config
  41.  
  42. Feeds used:
  43. C:\Users\HP\.nuget\packages\
  44. https://api.nuget.org/v3/index.json
  45.  
  46. Installed:
  47. 3 package(s) to packages.config projects
  48. Traceback (most recent call last):
  49. File "tools\geninterop\geninterop.py", line 292, in <module>
  50. sys.exit(main())
  51. File "tools\geninterop\geninterop.py", line 272, in main
  52. python_h = preprocess_python_headers()
  53. File "tools\geninterop\geninterop.py", line 192, in preprocess_python_header
  54. s
  55. for line in _check_output(cmd).splitlines():
  56. File "tools\geninterop\geninterop.py", line 41, in _check_output
  57. output = subprocess.check_output(*args, **kwargs)
  58. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\subprocess.p
  59. y", line 389, in check_output
  60. **kwargs).stdout
  61. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\subprocess.p
  62. y", line 466, in run
  63. with Popen(*popenargs, **kwargs) as process:
  64. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\subprocess.p
  65. y", line 769, in __init__
  66. restore_signals, start_new_session)
  67. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\subprocess.p
  68. y", line 1172, in _execute_child
  69. startupinfo)
  70. FileNotFoundError: [WinError 2] The system cannot find the file specified
  71. Traceback (most recent call last):
  72. File "<string>", line 1, in <module>
  73. File "C:\Users\HP\AppData\Local\Temp\pip-install-vd3kueqm\pythonnet\setup.py
  74. ", line 405, in <module>
  75. zip_safe=False,
  76. File "c:\users\hp\desktop\manoj\env\lib\site-packages\setuptools\__init__.py
  77. ", line 140, in setup
  78. return distutils.core.setup(**attrs)
  79. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\co
  80. re.py", line 148, in setup
  81. dist.run_commands()
  82. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\di
  83. st.py", line 966, in run_commands
  84. self.run_command(cmd)
  85. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\di
  86. st.py", line 985, in run_command
  87. cmd_obj.run()
  88. File "c:\users\hp\desktop\manoj\env\lib\site-packages\wheel\bdist_wheel.py",
  89. line 188, in run
  90. self.run_command('build')
  91. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\cm
  92. d.py", line 313, in run_command
  93. self.distribution.run_command(command)
  94. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\di
  95. st.py", line 985, in run_command
  96. cmd_obj.run()
  97. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\co
  98. mmand\build.py", line 135, in run
  99. self.run_command(cmd_name)
  100. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\cm
  101. d.py", line 313, in run_command
  102. self.distribution.run_command(command)
  103. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\di
  104. st.py", line 985, in run_command
  105. cmd_obj.run()
  106. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\co
  107. mmand\build_ext.py", line 339, in run
  108. self.build_extensions()
  109. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\co
  110. mmand\build_ext.py", line 448, in build_extensions
  111. self._build_extensions_serial()
  112. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\co
  113. mmand\build_ext.py", line 473, in _build_extensions_serial
  114. self.build_extension(ext)
  115. File "C:\Users\HP\AppData\Local\Temp\pip-install-vd3kueqm\pythonnet\setup.py
  116. ", line 191, in build_extension
  117. subprocess.check_call([sys.executable, geninterop, interop_file])
  118. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\subprocess.p
  119. y", line 341, in check_call
  120. raise CalledProcessError(retcode, cmd)
  121. subprocess.CalledProcessError: Command '['c:\\users\\hp\\desktop\\manoj\\env\\
  122. scripts\\python.exe', 'tools\\geninterop\\geninterop.py', 'src\\runtime\\interop
  123. 37.cs']' returned non-zero exit status 1.
  124.  
  125. ----------------------------------------
  126. Failed building wheel for pythonnet
  127. Running setup.py clean for pythonnet
  128. Failed to build pythonnet
  129. Installing collected packages: pythonnet
  130. Running setup.py install for pythonnet ... error
  131. Complete output from command c:\users\hp\desktop\manoj\env\scripts\python.ex
  132. e -u -c "import setuptools, tokenize;__file__='C:\\Users\\HP\\AppData\\Local\\Te
  133. mp\\pip-install-vd3kueqm\\pythonnet\\setup.py';f=getattr(tokenize, 'open', open)
  134. (__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __fi
  135. le__, 'exec'))" install --record C:\Users\HP\AppData\Local\Temp\pip-record-o6khg
  136. ojw\install-record.txt --single-version-externally-managed --compile --install-h
  137. eaders c:\users\hp\desktop\manoj\env\include\site\python3.7\pythonnet:
  138. running install
  139. running build
  140. running build_ext
  141. Checking for updates from https://www.nuget.org/api/v2/.
  142. Currently running NuGet.exe 4.7.1.
  143. NuGet.exe is up to date.
  144. MSBuild auto-detection: using msbuild version '15.8.168.64424' from 'C:\Prog
  145. ram Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\bin'.
  146. All packages listed in packages.config are already installed.
  147. Traceback (most recent call last):
  148. File "tools\geninterop\geninterop.py", line 292, in <module>
  149. sys.exit(main())
  150. File "tools\geninterop\geninterop.py", line 272, in main
  151. python_h = preprocess_python_headers()
  152. File "tools\geninterop\geninterop.py", line 192, in preprocess_python_head
  153. ers
  154. for line in _check_output(cmd).splitlines():
  155. File "tools\geninterop\geninterop.py", line 41, in _check_output
  156. output = subprocess.check_output(*args, **kwargs)
  157. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\subprocess
  158. .py", line 389, in check_output
  159. **kwargs).stdout
  160. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\subprocess
  161. .py", line 466, in run
  162. with Popen(*popenargs, **kwargs) as process:
  163. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\subprocess
  164. .py", line 769, in __init__
  165. restore_signals, start_new_session)
  166. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\subprocess
  167. .py", line 1172, in _execute_child
  168. startupinfo)
  169. FileNotFoundError: [WinError 2] The system cannot find the file specified
  170. Traceback (most recent call last):
  171. File "<string>", line 1, in <module>
  172. File "C:\Users\HP\AppData\Local\Temp\pip-install-vd3kueqm\pythonnet\setup.
  173. py", line 405, in <module>
  174. zip_safe=False,
  175. File "c:\users\hp\desktop\manoj\env\lib\site-packages\setuptools\__init__.
  176. py", line 140, in setup
  177. return distutils.core.setup(**attrs)
  178. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\
  179. core.py", line 148, in setup
  180. dist.run_commands()
  181. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\
  182. dist.py", line 966, in run_commands
  183. self.run_command(cmd)
  184. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\
  185. dist.py", line 985, in run_command
  186. cmd_obj.run()
  187. File "c:\users\hp\desktop\manoj\env\lib\site-packages\setuptools\command\i
  188. nstall.py", line 61, in run
  189. return orig.install.run(self)
  190. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\
  191. command\install.py", line 545, in run
  192. self.run_command('build')
  193. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\
  194. cmd.py", line 313, in run_command
  195. self.distribution.run_command(command)
  196. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\
  197. dist.py", line 985, in run_command
  198. cmd_obj.run()
  199. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\
  200. command\build.py", line 135, in run
  201. self.run_command(cmd_name)
  202. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\
  203. cmd.py", line 313, in run_command
  204. self.distribution.run_command(command)
  205. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\
  206. dist.py", line 985, in run_command
  207. cmd_obj.run()
  208. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\
  209. command\build_ext.py", line 339, in run
  210. self.build_extensions()
  211. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\
  212. command\build_ext.py", line 448, in build_extensions
  213. self._build_extensions_serial()
  214. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\
  215. command\build_ext.py", line 473, in _build_extensions_serial
  216. self.build_extension(ext)
  217. File "C:\Users\HP\AppData\Local\Temp\pip-install-vd3kueqm\pythonnet\setup.
  218. py", line 191, in build_extension
  219. subprocess.check_call([sys.executable, geninterop, interop_file])
  220. File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\subprocess
  221. .py", line 341, in check_call
  222. raise CalledProcessError(retcode, cmd)
  223. subprocess.CalledProcessError: Command '['c:\\users\\hp\\desktop\\manoj\\env
  224. \\scripts\\python.exe', 'tools\\geninterop\\geninterop.py', 'src\\runtime\\inter
  225. op37.cs']' returned non-zero exit status 1.
  226.  
  227. ----------------------------------------
  228. Command "c:\users\hp\desktop\manoj\env\scripts\python.exe -u -c "import setuptoo
  229. ls, tokenize;__file__='C:\\Users\\HP\\AppData\\Local\\Temp\\pip-install-vd3kueqm
  230. \\pythonnet\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read()
  231. .replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install
  232. --record C:\Users\HP\AppData\Local\Temp\pip-record-o6khgojw\install-record.txt -
  233. -single-version-externally-managed --compile --install-headers c:\users\hp\deskt
  234. op\manoj\env\include\site\python3.7\pythonnet" failed with error code 1 in C:\Us
  235. ers\HP\AppData\Local\Temp\pip-install-vd3kueqm\pythonnet\
Add Comment
Please, Sign In to add comment