<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hi Chris,<br>
    See what happens if you just set the Interpreter Path explicitly in
    the project properties page.<br>
    That's all I've been doing.<br>
    In Solution Explorer, right click the project file and select
    "Properties" to open the properties page.<br>
    Set the "Interpreter Path" field to the actual path of your ipy.exe
    or ipyw.exe. <br>
    E.g., mine is set to&nbsp; "c:/IronPython 2.7/ipy.exe", without quotes.&nbsp;
    (I don't like using "Program Files..." folders - ACL issues.)<br>
    <br>
    Also, it sounds you are still using the "old" tools. (Not that it
    matters in this case, but if you have haven't switched to the "new"
    tools yet, I highly recommend it.)<br>
    <a class="moz-txt-link-freetext" href="http://pytools.codeplex.com/">http://pytools.codeplex.com/</a><br>
    Caveat: You WILL have to uninstall IronPython 2.7 and re-install it
    WITHOUT the bundled tools, and THEN install the new tools. They
    cannot be installed sxs. But I think the effort is well worth it.<br>
    And there is a really good walkthrough for it.<br>
    (In the new tools, you also have Tools&gt;Options&gt;Python Tools
    with several settings tabs for more options.)<br>
    <br>
    I just finished converting my IPyScratchPad app (gen-purpose utility
    UI) to WPF from WinForms and switched to the new tools mid-stream,
    just for extra fun.<br>
    But I've had no trouble with it.<br>
    <br>
    BTW, did I mention the new tools ARE GREAT!. Thanks, y'all.<br>
    <br>
    Dave<br>
    <br>
    On 4/2/2011 12:20 PM, Chris wrote:
    <blockquote
      cite="mid:BANLkTimcW3Y15=nw4Vrt_DfLsEOsh-Z29A@mail.gmail.com"
      type="cite">Hi all,<br>
      <br>
      I get this Exception when trying to run a "Hello World"
      application from the base WPF Template in VS2010 with IronPython
      Tools:<br>
      <br>
      Exception: IronPython.Runtime.Exceptions.ImportException: No
      module named wpf<br>
      <br>
      I guess the search paths for modules need modifying, but im not
      sure how to do that.<br>
      <br>
      Seems a bit weird as i would expect basic template code to run
      without tweaking, so maybe i messed something up with the install.<br>
      <br>
      Any suggestions welcome.<br>
      <br>
      Thanks<br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.ironpython.com">Users@lists.ironpython.com</a>
<a class="moz-txt-link-freetext" href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>