[IronPython] 'Python' does not exist in current context

Dody Gunawinata empirebuilder at gmail.com
Tue May 26 23:00:21 CEST 2009


Make sure you refer to the following assemblies.

Microsoft.Scripting.dllMicrosoft.Scripting.Core.dll
IronPython.dll
IronPython.Modules.dll

On Tue, May 26, 2009 at 11:47 PM, Justin Regele <jregele23 at gmail.com> wrote:

> Trying to embed IPy in C#, and after digging all over the web and the
> archives of this list, I can't figure out why the Python object won't load.
> Here is the basic line where it goes wrong:
>
> ScriptEngine eng = Python.CreateEngine();
>
> All the other typical Objects are loading fine, just not the Python object.
>
> I've tried a handful of different assemblies, and still nothing works. The
> embedding example from Iron Python in Action DOES work though, and I added
> assembly reflection code and can see that those assemblies were locale to
> that solutions folder.
>
> EZ quick fix, I thought was to copy those older assemblies over into the
> Iron Python assemblies (after backing them up). But still no luck.
>
> Pretty new to .NET and Visual Studio, but been dealing with CPython for
> years. Anyone have any ideas on what I could be doing wrong? Running Vis
> Studio 2008, Iron Python Studio Integrated, .NET 3.5
>
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
>


-- 
nomadlife.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20090527/4bd1c989/attachment.html>


More information about the Ironpython-users mailing list