Repository navigation
Closed
Description
When I try running setup.py on my machine I get the following error:
(dotnettest) c:\work\git\pythonnet>python setup.py bdist_wheel
running bdist_wheel
running build
running build_ext
All packages listed in packages.config are already installed.
Traceback (most recent call last):
File "setup.py", line 354, in <module>
setup_requires=setup_requires
File "C:\WinPython27\python-2.7.10\Lib\distutils\core.py", line 151, in setup
dist.run_commands()
File "C:\WinPython27\python-2.7.10\Lib\distutils\dist.py", line 953, in run_commands
self.run_command(cmd)
File "C:\WinPython27\python-2.7.10\Lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "C:\Users\rnestler\Envs\dotnettest\lib\site-packages\wheel\bdist_wheel.py", line 175, in run
self.run_command('build')
File "C:\WinPython27\python-2.7.10\Lib\distutils\cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "C:\WinPython27\python-2.7.10\Lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "C:\WinPython27\python-2.7.10\Lib\distutils\command\build.py", line 127, in run
self.run_command(cmd_name)
File "C:\WinPython27\python-2.7.10\Lib\distutils\cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "C:\WinPython27\python-2.7.10\Lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "C:\WinPython27\python-2.7.10\Lib\distutils\command\build_ext.py", line 337, in run
self.build_extensions()
File "C:\WinPython27\python-2.7.10\Lib\distutils\command\build_ext.py", line 446, in build_extensions
self.build_extension(ext)
File "setup.py", line 180, in build_extension
manifest = self._get_manifest(dest_dir)
File "setup.py", line 194, in _get_manifest
mt = _find_msbuild_tool("mt.exe", use_windows_sdk=True)
File "setup.py", line 95, in _find_msbuild_tool
raise RuntimeError("%s could not be found" % tool)
RuntimeError: mt.exe could not be found
Apparently it can't find mt.exe. I have VS2012 installed and mt.exe does exist on my system.
Metadata
Metadata
Assignees
Labels
No labels
Activity
Use msbuild tools from PATH
Use msbuild tools from PATH
rnestler commentedon Apr 20, 2016
More system information:
den-run-ai commentedon Apr 20, 2016
related:
#194
Use msbuild tools from PATH
Use msbuild tools from PATH (#208)