distutils on Win32 using .NET Framework SDK

Discussion in 'Python' started by Jerry He, Aug 15, 2005.

  1. Jerry He

    Jerry He Guest

    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
     
    Jerry He, Aug 15, 2005
    #1
    1. Advertisements

  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\Microsoft\.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
     
    =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=, Aug 15, 2005
    #2
    1. Advertisements

  3. 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\Microsoft\.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
     
    =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=, Aug 15, 2005
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Angus Lepper

    DX9 SDK Error with the .NET Framework?

    Angus Lepper, Oct 31, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    682
    Angus Lepper
    Oct 31, 2003
  2. Sohail Khan

    Do I need .NET Framework SDK?

    Sohail Khan, Jan 26, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    629
    Gaurav Khanna [C# MVP]
    Jan 27, 2004
  3. Green Start Button

    ASP.NET / SDK dotNET Framework v1.1

    Green Start Button, Jul 20, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    2,490
    Ferret Face
    Jul 21, 2005
  4. Juan T. Llibre
    Replies:
    1
    Views:
    714
    S. Justin Gengo
    Oct 27, 2005
  5. vj
    Replies:
    1
    Views:
    558
    Claudio Grondi
    Sep 23, 2005
  6. timw.google
    Replies:
    1
    Views:
    753
    Serge Orlov
    May 11, 2006
  7. Replies:
    0
    Views:
    608
  8. Mogomotsi Masege

    Problems with Microsoft.Net Framework SDK

    Mogomotsi Masege, Sep 26, 2003, in forum: ASP General
    Replies:
    2
    Views:
    153
    Tom Kaminski [MVP]
    Sep 26, 2003
Loading...