compile failed with error code 1
Opened this issue · 0 comments
GoogleCodeExporter commented
running python33 on windows 8
Visual Studio 9 is installed,
SET VS100COMNTOOLS=%VS90COMNTOOLS%
here is the log for
pip install pyv8
C:\Python33\Scripts\pip-script.py run on 03/07/15 21:46:41
Downloading/unpacking pyv8
Getting page https://pypi.python.org/simple/pyv8/
URLs to search for versions for pyv8:
* https://pypi.python.org/simple/pyv8/
Analyzing links from page https://pypi.python.org/simple/pyv8/
Skipping link https://pypi.python.org/packages/2.5/P/PyV8/PyV8-0.5.win32-py2.5.exe#md5=55c81f25b9c3a576e9fa885ab3b2dab3 (from https://pypi.python.org/simple/pyv8/); unknown archive format: .exe
Found link https://pypi.python.org/packages/source/P/PyV8/PyV8-0.5.zip#md5=922d7d66f6e2d03aa949f40395f21b80 (from https://pypi.python.org/simple/pyv8/), version: 0.5
Skipping link http://code.google.com/p/pyv8/ (from https://pypi.python.org/simple/pyv8/); not a file
Skipping link http://code.google.com/p/pyv8/downloads/list (from https://pypi.python.org/simple/pyv8/); not a file
Skipping svn+http://pyv8.googlecode.com/svn/trunk/#egg=pyv8-1.0-dev (from https://pypi.python.org/simple/pyv8/) because it is externally hosted.
Not searching http://code.google.com/p/pyv8/ (from https://pypi.python.org/simple/pyv8/) for files because external urls are disallowed.
Not searching http://code.google.com/p/pyv8/ (from https://pypi.python.org/simple/pyv8/) for files because external urls are disallowed.
Not searching http://code.google.com/p/pyv8/ (from https://pypi.python.org/simple/pyv8/) for files because external urls are disallowed.
Not searching http://code.google.com/p/pyv8/ (from https://pypi.python.org/simple/pyv8/) for files because external urls are disallowed.
Not searching http://code.google.com/p/pyv8/ (from https://pypi.python.org/simple/pyv8/) for files because external urls are disallowed.
Not searching http://code.google.com/p/pyv8/ (from https://pypi.python.org/simple/pyv8/) for files because external urls are disallowed.
Not searching http://code.google.com/p/pyv8/ (from https://pypi.python.org/simple/pyv8/) for files because external urls are disallowed.
Not searching http://code.google.com/p/pyv8/ (from https://pypi.python.org/simple/pyv8/) for files because external urls are disallowed.
Not searching http://code.google.com/p/pyv8/ (from https://pypi.python.org/simple/pyv8/) for files because external urls are disallowed.
Not searching http://code.google.com/p/pyv8/downloads/list (from https://pypi.python.org/simple/pyv8/) for files because external urls are disallowed.
Not searching http://code.google.com/p/pyv8/downloads/list (from https://pypi.python.org/simple/pyv8/) for files because external urls are disallowed.
Not searching http://code.google.com/p/pyv8/downloads/list (from https://pypi.python.org/simple/pyv8/) for files because external urls are disallowed.
Not searching http://code.google.com/p/pyv8/downloads/list (from https://pypi.python.org/simple/pyv8/) for files because external urls are disallowed.
Not searching http://code.google.com/p/pyv8/downloads/list (from https://pypi.python.org/simple/pyv8/) for files because external urls are disallowed.
Not searching http://code.google.com/p/pyv8/downloads/list (from https://pypi.python.org/simple/pyv8/) for files because external urls are disallowed.
Not searching http://code.google.com/p/pyv8/downloads/list (from https://pypi.python.org/simple/pyv8/) for files because external urls are disallowed.
Not searching http://code.google.com/p/pyv8/downloads/list (from https://pypi.python.org/simple/pyv8/) for files because external urls are disallowed.
Not searching http://code.google.com/p/pyv8/downloads/list (from https://pypi.python.org/simple/pyv8/) for files because external urls are disallowed.
Not searching http://code.google.com/p/pyv8/downloads/list (from https://pypi.python.org/simple/pyv8/) for files because external urls are disallowed.
Not searching svn+http://pyv8.googlecode.com/svn/trunk/#egg=pyv8-1.0-dev (from https://pypi.python.org/simple/pyv8/) for files because external urls are disallowed.
Downloading PyV8-0.5.zip
Downloading from URL https://pypi.python.org/packages/source/P/PyV8/PyV8-0.5.zip#md5=922d7d66f6e2d03aa949f40395f21b80 (from https://pypi.python.org/simple/pyv8/)
Running setup.py (path:c:\users\st4\appdata\local\temp\pip_build_st4\pyv8\setup.py) egg_info for package pyv8
running egg_info
creating pip-egg-info\PyV8.egg-info
writing pip-egg-info\PyV8.egg-info\PKG-INFO
writing dependency_links to pip-egg-info\PyV8.egg-info\dependency_links.txt
writing top-level names to pip-egg-info\PyV8.egg-info\top_level.txt
writing manifest file 'pip-egg-info\PyV8.egg-info\SOURCES.txt'
warning: manifest_maker: standard file '-c' not found
reading manifest file 'pip-egg-info\PyV8.egg-info\SOURCES.txt'
writing manifest file 'pip-egg-info\PyV8.egg-info\SOURCES.txt'
Source in c:\users\st4\appdata\local\temp\pip_build_st4\pyv8 has version 0.5, which satisfies requirement pyv8
Installing collected packages: pyv8
Running setup.py install for pyv8
Running command C:\Python33\python.exe -c "import setuptools, tokenize;__file__='c:\\users\\st4\\appdata\\local\\temp\\pip_build_st4\\pyv8\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\st4\appdata\local\temp\pip-283l8q-record\install-record.txt --single-version-externally-managed --compile
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.3
copying PyV8.py -> build\lib.win-amd64-3.3
running build_ext
building '_PyV8' extension
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:\users\st4\appdata\local\temp\pip_build_st4\pyv8\setup.py", line 62, in <module>
'Topic :: Utilities',
File "C:\Python33\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Python33\lib\distutils\dist.py", line 929, in run_commands
self.run_command(cmd)
File "C:\Python33\lib\distutils\dist.py", line 948, in run_command
cmd_obj.run()
File "C:\Python33\lib\site-packages\setuptools\command\install.py", line 54, in run
return _install.run(self)
File "C:\Python33\lib\distutils\command\install.py", line 569, in run
self.run_command('build')
File "C:\Python33\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Python33\lib\distutils\dist.py", line 948, in run_command
cmd_obj.run()
File "C:\Python33\lib\distutils\command\build.py", line 126, in run
self.run_command(cmd_name)
File "C:\Python33\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Python33\lib\distutils\dist.py", line 948, in run_command
cmd_obj.run()
File "C:\Python33\lib\site-packages\setuptools\command\build_ext.py", line 52, in run
_build_ext.run(self)
File "C:\Python33\lib\distutils\command\build_ext.py", line 353, in run
self.build_extensions()
File "C:\Python33\lib\distutils\command\build_ext.py", line 462, in build_extensions
self.build_extension(ext)
File "C:\Python33\lib\site-packages\setuptools\command\build_ext.py", line 186, in build_extension
_build_ext.build_extension(self,ext)
File "C:\Python33\lib\distutils\command\build_ext.py", line 517, in build_extension
depends=ext.depends)
File "C:\Python33\lib\distutils\msvc9compiler.py", line 460, in compile
self.initialize()
File "C:\Python33\lib\distutils\msvc9compiler.py", line 371, in initialize
vc_env = query_vcvarsall(VERSION, plat_spec)
File "C:\Python33\lib\distutils\msvc9compiler.py", line 287, in query_vcvarsall
raise ValueError(str(list(result.keys())))
ValueError: ['lib', 'include', 'path']
Complete output from command C:\Python33\python.exe -c "import setuptools, tokenize;__file__='c:\\users\\st4\\appdata\\local\\temp\\pip_build_st4\\pyv8\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\st4\appdata\local\temp\pip-283l8q-record\install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.3
copying PyV8.py -> build\lib.win-amd64-3.3
running build_ext
building '_PyV8' extension
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:\users\st4\appdata\local\temp\pip_build_st4\pyv8\setup.py", line 62, in <module>
'Topic :: Utilities',
File "C:\Python33\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Python33\lib\distutils\dist.py", line 929, in run_commands
self.run_command(cmd)
File "C:\Python33\lib\distutils\dist.py", line 948, in run_command
cmd_obj.run()
File "C:\Python33\lib\site-packages\setuptools\command\install.py", line 54, in run
return _install.run(self)
File "C:\Python33\lib\distutils\command\install.py", line 569, in run
self.run_command('build')
File "C:\Python33\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Python33\lib\distutils\dist.py", line 948, in run_command
cmd_obj.run()
File "C:\Python33\lib\distutils\command\build.py", line 126, in run
self.run_command(cmd_name)
File "C:\Python33\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Python33\lib\distutils\dist.py", line 948, in run_command
cmd_obj.run()
File "C:\Python33\lib\site-packages\setuptools\command\build_ext.py", line 52, in run
_build_ext.run(self)
File "C:\Python33\lib\distutils\command\build_ext.py", line 353, in run
self.build_extensions()
File "C:\Python33\lib\distutils\command\build_ext.py", line 462, in build_extensions
self.build_extension(ext)
File "C:\Python33\lib\site-packages\setuptools\command\build_ext.py", line 186, in build_extension
_build_ext.build_extension(self,ext)
File "C:\Python33\lib\distutils\command\build_ext.py", line 517, in build_extension
depends=ext.depends)
File "C:\Python33\lib\distutils\msvc9compiler.py", line 460, in compile
self.initialize()
File "C:\Python33\lib\distutils\msvc9compiler.py", line 371, in initialize
vc_env = query_vcvarsall(VERSION, plat_spec)
File "C:\Python33\lib\distutils\msvc9compiler.py", line 287, in query_vcvarsall
raise ValueError(str(list(result.keys())))
ValueError: ['lib', 'include', 'path']
----------------------------------------
Cleaning up...
Removing temporary dir c:\users\st4\appdata\local\temp\pip_build_st4...
Command C:\Python33\python.exe -c "import setuptools,
tokenize;__file__='c:\\users\\st4\\appdata\\local\\temp\\pip_build_st4\\pyv8\\se
tup.py';exec(compile(getattr(tokenize, 'open',
open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install
--record c:\users\st4\appdata\local\temp\pip-283l8q-record\install-record.txt
--single-version-externally-managed --compile failed with error code 1 in
c:\users\st4\appdata\local\temp\pip_build_st4\pyv8
Exception information:
Traceback (most recent call last):
File "C:\Python33\lib\site-packages\pip\basecommand.py", line 122, in main
status = self.run(options, args)
File "C:\Python33\lib\site-packages\pip\commands\install.py", line 279, in run
requirement_set.install(install_options, global_options, root=options.root_path)
File "C:\Python33\lib\site-packages\pip\req.py", line 1380, in install
requirement.install(install_options, global_options, *args, **kwargs)
File "C:\Python33\lib\site-packages\pip\req.py", line 699, in install
cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
File "C:\Python33\lib\site-packages\pip\util.py", line 697, in call_subprocess
% (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command C:\Python33\python.exe -c "import
setuptools,
tokenize;__file__='c:\\users\\st4\\appdata\\local\\temp\\pip_build_st4\\pyv8\\se
tup.py';exec(compile(getattr(tokenize, 'open',
open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install
--record c:\users\st4\appdata\local\temp\pip-283l8q-record\install-record.txt
--single-version-externally-managed --compile failed with error code 1 in
c:\users\st4\appdata\local\temp\pip_build_st4\pyv8
Original issue reported on code.google.com by phelim.m...@gmail.com
on 7 Mar 2015 at 9:30