[IronPython] No module named wpf - VS2010

Chris phatfish at gmail.com
Sat Apr 2 23:51:23 CEST 2011


Hey thanks Dave,

I installed the new beta tools and this solved the import problem. The
template code now runs fine from the interactive interpreter.

I will check out the walk throughs too.

On 2 April 2011 19:58, Dave Wald <davew252 at tx.rr.com> wrote:

> Hi Chris,
> See what happens if you just set the Interpreter Path explicitly in the
> project properties page.
> That's all I've been doing.
> In Solution Explorer, right click the project file and select "Properties"
> to open the properties page.
> Set the "Interpreter Path" field to the actual path of your ipy.exe or
> ipyw.exe.
> E.g., mine is set to  "c:/IronPython 2.7/ipy.exe", without quotes.  (I
> don't like using "Program Files..." folders - ACL issues.)
>
> 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.)
> http://pytools.codeplex.com/
> 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.
> And there is a really good walkthrough for it.
> (In the new tools, you also have Tools>Options>Python Tools with several
> settings tabs for more options.)
>
> 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.
> But I've had no trouble with it.
>
> BTW, did I mention the new tools ARE GREAT!. Thanks, y'all.
>
> Dave
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20110402/959af968/attachment.html>


More information about the Ironpython-users mailing list