473,472 Members | 1,747 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

distutils on Win32 using .NET Framework SDK

Hi,
I was trying to build a C++ extension on Win32 with
distutils. The extension worked on Cygwin but when I
tried it with the Win32-build python, it complained
that I don't have .NET Framework SDK installed. But
after I installed .NET Framework SDK 2.0, it still
complains
"error: The .NET Framework SDK needs to be installed
before building extensions for Python." (I also did
try restarting my computer)

Does anyone know how to make the .NET Framework SDK
visible to Python?

thanks in advance,

-Jerry

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Aug 15 '05 #1
2 2998
Jerry He wrote:
Hi,
I was trying to build a C++ extension on Win32 with
distutils. The extension worked on Cygwin but when I
tried it with the Win32-build python, it complained
that I don't have .NET Framework SDK installed. But
after I installed .NET Framework SDK 2.0, it still
complains
"error: The .NET Framework SDK needs to be installed
before building extensions for Python." (I also did
try restarting my computer)

Does anyone know how to make the .NET Framework SDK
visible to Python?


It looks in
HKEY_{LOCAL_MACHINE,CURRENT_USER}\Software\Microso ft\.NETFramework\FrameworkSDKDir

This registry key should be set automatically if you choose to
install the SDK that comes with Microsoft Visual Studio 2003.
Not sure why you are trying to install .NET 2.0, though.

Regards,
Martin
Aug 15 '05 #2
Jerry He wrote:
Hi,
I was trying to build a C++ extension on Win32 with
distutils. The extension worked on Cygwin but when I
tried it with the Win32-build python, it complained
that I don't have .NET Framework SDK installed. But
after I installed .NET Framework SDK 2.0, it still
complains
"error: The .NET Framework SDK needs to be installed
before building extensions for Python." (I also did
try restarting my computer)

Does anyone know how to make the .NET Framework SDK
visible to Python?


It looks in
HKEY_{LOCAL_MACHINE,CURRENT_USER}\Software\Microso ft\.NETFramework\FrameworkSDKDir

This registry key should be set automatically if you choose to
install the SDK that comes with Microsoft Visual Studio 2003.
Not sure why you are trying to install .NET 2.0, though.

Regards,
Martin
Aug 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: John Hunter | last post by:
I am using distutils to build a python extension module on win32. I initialize the Extension class with a list of libraries with Extension("_gd", , include_dirs=incdirs, library_dirs=libdirs,...
2
by: Scott David Daniels | last post by:
I'm trying to get distutils in 2.4 happy running mingw32. I've chased a few things down, but now I'm getting: C:\Documents and Settings\daniels\Desktop\Py\block>\python24\python setup.py bui...
15
by: Colin J. Williams | last post by:
The distutils download page has: -------------------------------------------------------- Current stable release The current stable release is Distutils 1.0.2; you can download it as: *...
0
by: Glenn Pierce | last post by:
Hi I have a question about writing a portable setup.py script for distutils. I have a directory structure like this. FreeImage/ |----------Source/ | |------ FreeImage.h |...
3
by: mg | last post by:
Hello I work on an finite element framework and Python bindings have been developped. Actually, we use Boost.Build as build system but we would like to change it. We have two kinds of...
6
by: ajikoe | last post by:
Hello I tried to combine c++ and python together. So I follow from this website: http://kortis.to/radix/python_ext/ I have this code: # prmodule.c static PyObject *pr_isprime(PyObject *self,...
9
by: jtravs | last post by:
Hi all, I suspect that I'm doing something stupid, I would like some other opinions though. I'm getting started with ctypes and am trying to use distutils to help build my module. At the moment...
7
by: Steven Bethard | last post by:
How do I get distutils to include my testing module in just the "sdist" distribution? My current call to setup() looks like:: distutils.core.setup( ... py_modules=, ) If change this to::
7
by: vedrandekovic | last post by:
Hello again, Is there any patch for python "distutils", for this ImportError: cannot import name log Regards, Vedran
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.