Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #91203 > unrolled thread
| Started by | "garyr" <garyr@fidalgo.net> |
|---|---|
| First post | 2015-05-25 08:19 -0700 |
| Last post | 2015-05-25 18:47 -0700 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.lang.python
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
| From | "garyr" <garyr@fidalgo.net> |
|---|---|
| Date | 2015-05-25 08:19 -0700 |
| Subject | cl.exe missing |
| Message-ID | <mjvejo$rmu$1@speranza.aioe.org> |
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?
[toc] | [next] | [standalone]
| From | Tim Golden <mail@timgolden.me.uk> |
|---|---|
| Date | 2015-05-25 16:51 +0100 |
| Message-ID | <mailman.38.1432569064.5151.python-list@python.org> |
| In reply to | #91203 |
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
[toc] | [prev] | [next] | [standalone]
| From | "garyr" <garyr@fidalgo.net> |
|---|---|
| Date | 2015-05-25 18:47 -0700 |
| Message-ID | <mk0jcg$ldc$1@speranza.aioe.org> |
| In reply to | #91204 |
>> Where do I find VS2008? > > Try this: > > https://www.microsoft.com/en-gb/download/details.aspx?id=44266 > > TJG Yes, that's it. Many thanks.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web