On 03/03/2015 05:55, Mario Figueiredo wrote:
Anyone else having problems installing Sphinx as of late? It installed
perfectly fine for me under windows just a few weeks ago. But
currently I get an error when trying to install it:
I'm including the full error output.
$ pip install -U sphinx --no-cache-dir
Running setup.py install for markupsafe
building 'markupsafe._speedups' extension
File "C:\Python34\lib\distutils\command\build_ext.py", line 339,
in run
self.build_extensions()
File "C:\Python34\lib\distutils\command\build_ext.py", line 448,
in build_extensions
self.build_extension(ext)
File
"C:\Users\Mario\AppData\Local\Temp\pip-build-ahunetv5\markupsafe\setup.py",
line 47, in build_extension
build_ext.build_extension(self, ext)
File "C:\Python34\lib\distutils\command\build_ext.py", line 503,
in build_extension
depends=ext.depends)
File "C:\Python34\lib\distutils\msvc9compiler.py", line 460, in
compile
self.initialize()
File "C:\Python34\lib\distutils\msvc9compiler.py", line 371, in
initialize
vc_env = query_vcvarsall(VERSION, plat_spec)
File
"C:\Python34\lib\site-packages\setuptools\msvc9_support.py", line 52,
in query_vcvarsall
return unpatched['query_vcvarsall'](version, *args, **kwargs)
File "C:\Python34\lib\distutils\msvc9compiler.py", line 287, in
query_vcvarsall
raise ValueError(str(list(result.keys())))
ValueError: []
The problem is actually with the installation of the markupsafe
dependancy. Further the output above tells me that you've not got
Visual Studio 2010 installed. Simplest solution is to grab it from here
http://www.lfd.uci.edu/~gohlke/pythonlibs/#markupsafe
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list