-
Notifications
You must be signed in to change notification settings - Fork 748
Windows 8 install error #793
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for your reponse! I installed SDK and now the missing mt.exe issue is gone. However there seems to be another issue either using pip install pythonnet or cloning from the master branch: running install NuGet Config files used: Feeds used: Installed: Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. Build succeeded. Time Elapsed 00:00:00.09 Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. Build FAILED. "C:\Users\Ateam\pyLabLib-dev\pythonnet\pythonnet\pythonnet.sln" (Build target) (1) -> "C:\Users\Ateam\pyLabLib-dev\pythonnet\pythonnet\pythonnet.sln" (Build target) (1) -> "C:\Users\Ateam\pyLabLib-dev\pythonnet\pythonnet\pythonnet.sln" (Build target) (1) -> "C:\Users\Ateam\pyLabLib-dev\pythonnet\pythonnet\pythonnet.sln" (Build target) (1) -> "C:\Users\Ateam\pyLabLib-dev\pythonnet\pythonnet\pythonnet.sln" (Build target) (1) -> "C:\Users\Ateam\pyLabLib-dev\pythonnet\pythonnet\pythonnet.sln" (Build target) (1) -> "C:\Users\Ateam\pyLabLib-dev\pythonnet\pythonnet\pythonnet.sln" (Build target) (1) ->
Time Elapsed 00:00:00.18 |
@qyangcaltech you are likely getting some issues with this specific version of msbuild/nuget:
Try downgrading your msbuild/nuget or just grab the pythonnet binaries like suggested here: |
Hi denformufa, Thanks again for your response! I followed thread #780 and the unofficial installation worked. |
Environment
Details
$ �pip install git+https://github.com/pythonnet/pythonnet
Collecting git+https://github.com/pythonnet/pythonnet
Cloning https://github.com/pythonnet/pythonnet to c:\users\ateam\appdata\local\temp\pip-req-build-z0r5bt1p
Building wheels for collected packages: pythonnet
Running setup.py bdist_wheel for pythonnet: started
Running setup.py bdist_wheel for pythonnet: finished with status 'error'
Complete output from command c:\users\ateam\anaconda\python.exe -u -c "import setuptools, tokenize;file='C:\Users\Ateam\AppData\Local\Temp\pip-req-build-z0r5bt1p\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\Ateam\AppData\Local\Temp\pip-wheel-9rfuysvc --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 4.1.0.
Updating NuGet.exe to 4.7.1.
Update successful.
Cannot find the specified version of msbuild: '14'
MSBuild auto-detection: using msbuild version '15.9.20.62856' from 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\bin'.
Restoring NuGet package UnmanagedExports.1.2.7.
Restoring NuGet package NUnit.ConsoleRunner.3.7.0.
Restoring NuGet package NUnit.3.7.1.
Adding package 'NUnit.3.7.1' to folder 'C:\Users\Ateam\AppData\Local\Temp\pip-req-build-z0r5bt1p\packages'
Adding package 'UnmanagedExports.1.2.7' to folder 'C:\Users\Ateam\AppData\Local\Temp\pip-req-build-z0r5bt1p\packages'
Adding package 'NUnit.ConsoleRunner.3.7.0' to folder 'C:\Users\Ateam\AppData\Local\Temp\pip-req-build-z0r5bt1p\packages'
Added package 'UnmanagedExports.1.2.7' to folder 'C:\Users\Ateam\AppData\Local\Temp\pip-req-build-z0r5bt1p\packages'
Added package 'NUnit.ConsoleRunner.3.7.0' to folder 'C:\Users\Ateam\AppData\Local\Temp\pip-req-build-z0r5bt1p\packages'
Added package 'NUnit.3.7.1' to folder 'C:\Users\Ateam\AppData\Local\Temp\pip-req-build-z0r5bt1p\packages'
NuGet Config files used:
C:\Users\Ateam\AppData\Local\Temp\pip-req-build-z0r5bt1p\NuGet.Config
C:\Users\Ateam\AppData\Roaming\NuGet\NuGet.Config
Feeds used:
C:\Users\Ateam.nuget\packages
https://dotnet.myget.org/F/dotnet-core/api/v3/index.json
https://api.nuget.org/v3/index.json
Installed:
3 package(s) to packages.config projects
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Ateam\AppData\Local\Temp\pip-req-build-z0r5bt1p\setup.py", line 534, in
zip_safe=False,
File "c:\users\ateam\anaconda\lib\site-packages\setuptools_init_.py", line 143, in setup
return distutils.core.setup(**attrs)
File "c:\users\ateam\anaconda\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "c:\users\ateam\anaconda\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "c:\users\ateam\anaconda\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Ateam\AppData\Local\Temp\pip-req-build-z0r5bt1p\setup.py", line 482, in run
return bdist_wheel.bdist_wheel.run(self)
File "c:\users\ateam\anaconda\lib\site-packages\wheel\bdist_wheel.py", line 188, in run
self.run_command('build')
File "c:\users\ateam\anaconda\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\users\ateam\anaconda\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "c:\users\ateam\anaconda\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "c:\users\ateam\anaconda\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\users\ateam\anaconda\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "c:\users\ateam\anaconda\lib\distutils\command\build_ext.py", line 339, in run
self.build_extensions()
File "c:\users\ateam\anaconda\lib\distutils\command\build_ext.py", line 448, in build_extensions
self._build_extensions_serial()
File "c:\users\ateam\anaconda\lib\distutils\command\build_ext.py", line 473, in _build_extensions_serial
self.build_extension(ext)
File "C:\Users\Ateam\AppData\Local\Temp\pip-req-build-z0r5bt1p\setup.py", line 257, in build_extension
manifest = self._get_manifest(dest_dir)
File "C:\Users\Ateam\AppData\Local\Temp\pip-req-build-z0r5bt1p\setup.py", line 274, in _get_manifest
mt = self._find_msbuild_tool("mt.exe", use_windows_sdk=True)
File "C:\Users\Ateam\AppData\Local\Temp\pip-req-build-z0r5bt1p\setup.py", line 399, in _find_msbuild_tool
raise RuntimeError("{0} could not be found".format(tool))
RuntimeError: mt.exe could not be found
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: started
Running setup.py install for pythonnet: finished with status 'error'
Complete output from command c:\users\ateam\anaconda\python.exe -u -c "import setuptools, tokenize;file='C:\Users\Ateam\AppData\Local\Temp\pip-req-build-z0r5bt1p\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\Ateam\AppData\Local\Temp\pip-record-uqkgtmup\install-record.txt --single-version-externally-managed --compile:
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
Command "c:\users\ateam\anaconda\python.exe -u -c "import setuptools, tokenize;file='C:\Users\Ateam\AppData\Local\Temp\pip-req-build-z0r5bt1p\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\Ateam\AppData\Local\Temp\pip-record-uqkgtmup\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\Ateam\AppData\Local\Temp\pip-req-build-z0r5bt1p\
The text was updated successfully, but these errors were encountered: