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


Groups > comp.lang.python > #91204

Re: cl.exe missing

Path csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <mail@timgolden.me.uk>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'compiler': 0.05; 'error:': 0.05; 'setup.py': 0.07; 'skip:/ 10': 0.07; 'subject:missing': 0.07; 'failed:': 0.09; 'mentions': 0.09; 'python': 0.11; '2.7': 0.13; '/nologo': 0.16; 'build_ext': 0.16; 'from:addr:timgolden.me.uk': 0.16; 'from:name:tim golden': 0.16; 'message-id:@timgolden.me.uk': 0.16; 'received:74.55.86': 0.16; 'received:74.55.86.74': 0.16; 'received:smtp.webfaction.com': 0.16; 'received:webfaction.com': 0.16; 'tjg': 0.16; 'wrote:': 0.16; 'extension': 0.20; 'fix': 0.21; 'trying': 0.22; 'setup,': 0.22; 'posted': 0.23; 'this:': 0.23; "haven't": 0.24; 'import': 0.24; 'header:In-Reply-To:1': 0.24; 'url:download': 0.24; 'header :User-Agent:1': 0.26; 'installed': 0.26; 'error': 0.27; 'module.': 0.27; 'turns': 0.27; 'command': 0.28; "i'm": 0.29; 'skip:/ 40': 0.29; "skip:' 10": 0.30; 'initially': 0.31; 'run': 0.32; 'running': 0.34; 'file': 0.34; 'to:addr:python-list': 0.35; 'but': 0.36; 'visual': 0.36; 'subject:: ': 0.37; 'missing': 0.37; 'building': 0.38; 'url:microsoft': 0.39; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'skip:e 20': 0.39; 'build': 0.40; 'where': 0.40; 'charset:windows-1252': 0.65; 'url:en-us': 0.66; 'from:addr:mail': 0.70; 'answer.': 0.72; 'site:': 0.75; 'gotten': 0.76; '2.7.': 0.84; 'url:en-gb': 0.91; '2013': 0.98
Date Mon, 25 May 2015 16:51:03 +0100
From Tim Golden <mail@timgolden.me.uk>
User-Agent Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version 1.0
To python-list@python.org
Subject Re: cl.exe missing
References <mjvejo$rmu$1@speranza.aioe.org>
In-Reply-To <mjvejo$rmu$1@speranza.aioe.org>
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
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.38.1432569064.5151.python-list@python.org> (permalink)
Lines 43
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1432569064 news.xs4all.nl 2850 [2001:888:2000:d::a6]:50193
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:91204

Show key headers only | View raw


On 25/05/2015 16:19, garyr wrote:
> I posted this on the Anaconda NG but haven't gotten an answer.
>
> I recently installed Python 2.7 using Miniconda. I'm now trying to build a
> Python extension module. My setup.py file is:
>
> from distutils.core import setup, Extension
>      module1 = Extension('pyssound',
>      sources=['ssound.cpp', 'pyssound.cpp'])
>      setup(name="pyssound",
>           version=1.0,
>           ext_modules = [module1])
>
> Initially I got the vcvarsall.bat missing error and I found the fix for
> that:
>      set MSSDK=1
>      set DISTUTILS_USE_SDK=1
>
> Now when I run setup I get:
>
> python setup.py build
> running build
> running build_ext
> building 'pyssound' extension
> cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-IC:\Documents and
> Settings\Owner\M
> iniconda\include" "-IC:\Documents and Settings\Owner\Miniconda\PC"
> /Tpssound.cpp
>   /Fobuild\temp.win32-2.7\Release\ssound.obj
> error: command 'cl.exe' failed: No such file or directory
>
> cl.exe is the Visual Studio VS2008 compiler which is the one used to compile
> Python 2.7. A search for VS2008 turns up this site:
> http://www.microsoft.com/en-us/download/details.aspx?id=10986 which mentions
> vs2010, 2012 and 2013 but not 2008.
>
> Where do I find VS2008?

Try this:

   https://www.microsoft.com/en-gb/download/details.aspx?id=44266

TJG

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


Thread

cl.exe missing "garyr" <garyr@fidalgo.net> - 2015-05-25 08:19 -0700
  Re: cl.exe missing Tim Golden <mail@timgolden.me.uk> - 2015-05-25 16:51 +0100
    Re: cl.exe missing "garyr" <garyr@fidalgo.net> - 2015-05-25 18:47 -0700

csiph-web