Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- My error logs are as follows:
- Collecting pythonnet
- Using cached https://files.pythonhosted.org/packages/89/3b/a22cd45b591d6cf490e
- e8b24d52b9db1f30b4b478b64a9b231c53474731e/pythonnet-2.3.0.tar.gz
- Building wheels for collected packages: pythonnet
- Running setup.py bdist_wheel for pythonnet ... error
- Complete output from command c:\users\hp\desktop\manoj\env\scripts\python.exe
- -u -c "import setuptools, tokenize;__file__='C:\\Users\\HP\\AppData\\Local\\Temp
- \\pip-install-vd3kueqm\\pythonnet\\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 C:\Users\HP\AppData\Local\Temp\pip-wheel-d5r9fpjg -
- -python-tag cp37:
- running bdist_wheel
- running build
- running build_ext
- Checking for updates from https://www.nuget.org/api/v2/.
- Currently running NuGet.exe 3.5.0.
- Updating NuGet.exe to 4.7.1.
- Update successful.
- MSBuild auto-detection: using msbuild version '15.8.168.64424' from 'C:\Progra
- m Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\bin'.
- Restoring NuGet package NUnit.3.6.0.
- Restoring NuGet package UnmanagedExports.1.2.7.
- Restoring NuGet package NUnit.ConsoleRunner.3.6.0.
- Adding package 'NUnit.ConsoleRunner.3.6.0' to folder 'C:\Users\HP\AppData\Loca
- l\Temp\pip-install-vd3kueqm\pythonnet\packages'
- Adding package 'UnmanagedExports.1.2.7' to folder 'C:\Users\HP\AppData\Local\T
- emp\pip-install-vd3kueqm\pythonnet\packages'
- Adding package 'NUnit.3.6.0' to folder 'C:\Users\HP\AppData\Local\Temp\pip-ins
- tall-vd3kueqm\pythonnet\packages'
- Added package 'UnmanagedExports.1.2.7' to folder 'C:\Users\HP\AppData\Local\Te
- mp\pip-install-vd3kueqm\pythonnet\packages'
- Added package 'NUnit.ConsoleRunner.3.6.0' to folder 'C:\Users\HP\AppData\Local
- \Temp\pip-install-vd3kueqm\pythonnet\packages'
- Added package 'NUnit.3.6.0' to folder 'C:\Users\HP\AppData\Local\Temp\pip-inst
- all-vd3kueqm\pythonnet\packages'
- NuGet Config files used:
- C:\Users\HP\AppData\Roaming\NuGet\NuGet.Config
- Feeds used:
- C:\Users\HP\.nuget\packages\
- https://api.nuget.org/v3/index.json
- Installed:
- 3 package(s) to packages.config projects
- Traceback (most recent call last):
- File "tools\geninterop\geninterop.py", line 292, in <module>
- sys.exit(main())
- File "tools\geninterop\geninterop.py", line 272, in main
- python_h = preprocess_python_headers()
- File "tools\geninterop\geninterop.py", line 192, in preprocess_python_header
- s
- for line in _check_output(cmd).splitlines():
- File "tools\geninterop\geninterop.py", line 41, in _check_output
- output = subprocess.check_output(*args, **kwargs)
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\subprocess.p
- y", line 389, in check_output
- **kwargs).stdout
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\subprocess.p
- y", line 466, in run
- with Popen(*popenargs, **kwargs) as process:
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\subprocess.p
- y", line 769, in __init__
- restore_signals, start_new_session)
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\subprocess.p
- y", line 1172, in _execute_child
- startupinfo)
- FileNotFoundError: [WinError 2] The system cannot find the file specified
- Traceback (most recent call last):
- File "<string>", line 1, in <module>
- File "C:\Users\HP\AppData\Local\Temp\pip-install-vd3kueqm\pythonnet\setup.py
- ", line 405, in <module>
- zip_safe=False,
- File "c:\users\hp\desktop\manoj\env\lib\site-packages\setuptools\__init__.py
- ", line 140, in setup
- return distutils.core.setup(**attrs)
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\co
- re.py", line 148, in setup
- dist.run_commands()
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\di
- st.py", line 966, in run_commands
- self.run_command(cmd)
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\di
- st.py", line 985, in run_command
- cmd_obj.run()
- File "c:\users\hp\desktop\manoj\env\lib\site-packages\wheel\bdist_wheel.py",
- line 188, in run
- self.run_command('build')
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\cm
- d.py", line 313, in run_command
- self.distribution.run_command(command)
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\di
- st.py", line 985, in run_command
- cmd_obj.run()
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\co
- mmand\build.py", line 135, in run
- self.run_command(cmd_name)
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\cm
- d.py", line 313, in run_command
- self.distribution.run_command(command)
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\di
- st.py", line 985, in run_command
- cmd_obj.run()
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\co
- mmand\build_ext.py", line 339, in run
- self.build_extensions()
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\co
- mmand\build_ext.py", line 448, in build_extensions
- self._build_extensions_serial()
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\co
- mmand\build_ext.py", line 473, in _build_extensions_serial
- self.build_extension(ext)
- File "C:\Users\HP\AppData\Local\Temp\pip-install-vd3kueqm\pythonnet\setup.py
- ", line 191, in build_extension
- subprocess.check_call([sys.executable, geninterop, interop_file])
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\subprocess.p
- y", line 341, in check_call
- raise CalledProcessError(retcode, cmd)
- subprocess.CalledProcessError: Command '['c:\\users\\hp\\desktop\\manoj\\env\\
- scripts\\python.exe', 'tools\\geninterop\\geninterop.py', 'src\\runtime\\interop
- 37.cs']' returned non-zero exit status 1.
- ----------------------------------------
- Failed building wheel for pythonnet
- Running setup.py clean for pythonnet
- Failed to build pythonnet
- Installing collected packages: pythonnet
- Running setup.py install for pythonnet ... error
- Complete output from command c:\users\hp\desktop\manoj\env\scripts\python.ex
- e -u -c "import setuptools, tokenize;__file__='C:\\Users\\HP\\AppData\\Local\\Te
- mp\\pip-install-vd3kueqm\\pythonnet\\setup.py';f=getattr(tokenize, 'open', open)
- (__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __fi
- le__, 'exec'))" install --record C:\Users\HP\AppData\Local\Temp\pip-record-o6khg
- ojw\install-record.txt --single-version-externally-managed --compile --install-h
- eaders c:\users\hp\desktop\manoj\env\include\site\python3.7\pythonnet:
- running install
- running build
- running build_ext
- Checking for updates from https://www.nuget.org/api/v2/.
- Currently running NuGet.exe 4.7.1.
- NuGet.exe is up to date.
- MSBuild auto-detection: using msbuild version '15.8.168.64424' from 'C:\Prog
- ram Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\bin'.
- All packages listed in packages.config are already installed.
- Traceback (most recent call last):
- File "tools\geninterop\geninterop.py", line 292, in <module>
- sys.exit(main())
- File "tools\geninterop\geninterop.py", line 272, in main
- python_h = preprocess_python_headers()
- File "tools\geninterop\geninterop.py", line 192, in preprocess_python_head
- ers
- for line in _check_output(cmd).splitlines():
- File "tools\geninterop\geninterop.py", line 41, in _check_output
- output = subprocess.check_output(*args, **kwargs)
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\subprocess
- .py", line 389, in check_output
- **kwargs).stdout
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\subprocess
- .py", line 466, in run
- with Popen(*popenargs, **kwargs) as process:
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\subprocess
- .py", line 769, in __init__
- restore_signals, start_new_session)
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\subprocess
- .py", line 1172, in _execute_child
- startupinfo)
- FileNotFoundError: [WinError 2] The system cannot find the file specified
- Traceback (most recent call last):
- File "<string>", line 1, in <module>
- File "C:\Users\HP\AppData\Local\Temp\pip-install-vd3kueqm\pythonnet\setup.
- py", line 405, in <module>
- zip_safe=False,
- File "c:\users\hp\desktop\manoj\env\lib\site-packages\setuptools\__init__.
- py", line 140, in setup
- return distutils.core.setup(**attrs)
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\
- core.py", line 148, in setup
- dist.run_commands()
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\
- dist.py", line 966, in run_commands
- self.run_command(cmd)
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\
- dist.py", line 985, in run_command
- cmd_obj.run()
- File "c:\users\hp\desktop\manoj\env\lib\site-packages\setuptools\command\i
- nstall.py", line 61, in run
- return orig.install.run(self)
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\
- command\install.py", line 545, in run
- self.run_command('build')
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\
- cmd.py", line 313, in run_command
- self.distribution.run_command(command)
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\
- dist.py", line 985, in run_command
- cmd_obj.run()
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\
- command\build.py", line 135, in run
- self.run_command(cmd_name)
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\
- cmd.py", line 313, in run_command
- self.distribution.run_command(command)
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\
- dist.py", line 985, in run_command
- cmd_obj.run()
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\
- command\build_ext.py", line 339, in run
- self.build_extensions()
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\
- command\build_ext.py", line 448, in build_extensions
- self._build_extensions_serial()
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\distutils\
- command\build_ext.py", line 473, in _build_extensions_serial
- self.build_extension(ext)
- File "C:\Users\HP\AppData\Local\Temp\pip-install-vd3kueqm\pythonnet\setup.
- py", line 191, in build_extension
- subprocess.check_call([sys.executable, geninterop, interop_file])
- File "c:\users\hp\appdata\local\programs\python\python37-32\Lib\subprocess
- .py", line 341, in check_call
- raise CalledProcessError(retcode, cmd)
- subprocess.CalledProcessError: Command '['c:\\users\\hp\\desktop\\manoj\\env
- \\scripts\\python.exe', 'tools\\geninterop\\geninterop.py', 'src\\runtime\\inter
- op37.cs']' returned non-zero exit status 1.
- ----------------------------------------
- Command "c:\users\hp\desktop\manoj\env\scripts\python.exe -u -c "import setuptoo
- ls, tokenize;__file__='C:\\Users\\HP\\AppData\\Local\\Temp\\pip-install-vd3kueqm
- \\pythonnet\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read()
- .replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install
- --record C:\Users\HP\AppData\Local\Temp\pip-record-o6khgojw\install-record.txt -
- -single-version-externally-managed --compile --install-headers c:\users\hp\deskt
- op\manoj\env\include\site\python3.7\pythonnet" failed with error code 1 in C:\Us
- ers\HP\AppData\Local\Temp\pip-install-vd3kueqm\pythonnet\
Add Comment
Please, Sign In to add comment