Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #86824

Re: [Python 3.4.3, pip 6.0.8 ] Error installing Sphinx (on markupsafe install)

Path csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:: [': 0.04; 'from:addr:yahoo.co.uk': 0.04; 'output': 0.05; 'subject:Python': 0.06; 'initialize': 0.07; 'installed.': 0.07; 'skip:" 60': 0.07; 'skip:u 30': 0.07; 'subject:Error': 0.07; '*args,': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'setup.py': 0.09; 'sphinx': 0.09; 'valueerror:': 0.09; 'language.': 0.14; 'windows': 0.15; '**kwargs)': 0.16; '52,': 0.16; 'ext)': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'simplest': 0.16; 'skip:" 70': 0.16; 'subject: \n ': 0.16; 'subject:install': 0.16; 'language': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'install': 0.23; 'installation': 0.23; 'header:User-Agent:1': 0.23; 'error': 0.23; 'tells': 0.24; 'fine': 0.24; 'extension': 0.26; 'skip:" 40': 0.26; 'skip:v 30': 0.26; 'url:edu': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; 'raise': 0.29; "i'm": 0.30; 'skip:q 20': 0.31; 'anyone': 0.31; 'file': 0.32; 'weeks': 0.32; 'run': 0.32; 'running': 0.33; 'skip:b 30': 0.33; 'skip:d 20': 0.34; 'problem': 0.35; 'subject: (': 0.35; 'but': 0.35; 'building': 0.35; 'installing': 0.36; 'problems': 0.38; 'to:addr:python-list': 0.38; 'skip:- 10': 0.38; 'visual': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'ago.': 0.61; 'full': 0.61; 'further': 0.61; "you've": 0.63; 'our': 0.64; 'grab': 0.64; 'charset:windows-1252': 0.65; 'here': 0.66
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: [Python 3.4.3, pip 6.0.8 ] Error installing Sphinx (on markupsafe install)
Date Tue, 03 Mar 2015 07:15:19 +0000
References <sriafa9imbv9nete4ragca05kvuhctv8d2@4ax.com>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host host-78-147-182-46.as13285.net
User-Agent Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
In-Reply-To <sriafa9imbv9nete4ragca05kvuhctv8d2@4ax.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.19
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.6.1425366940.21433.python-list@python.org> (permalink)
Lines 50
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1425366941 news.xs4all.nl 2912 [2001:888:2000:d::a6]:51549
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:86824

Show key headers only | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[Python 3.4.3, pip 6.0.8 ] Error installing Sphinx (on markupsafe install) Mario Figueiredo <marfig@gmail.com> - 2015-03-03 06:55 +0100
  Re: [Python 3.4.3, pip 6.0.8 ] Error installing Sphinx (on markupsafe install) Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-03-03 07:15 +0000
    Re: [Python 3.4.3, pip 6.0.8 ] Error installing Sphinx (on markupsafe install) Mario Figueiredo <marfig@gmail.com> - 2015-03-03 21:39 +0100

csiph-web