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

Justin Regele jregele23 at gmail.com
Wed May 27 03:45:10 CEST 2009


thanks. that did the trick.

it was the one I assumed wasn't needed, since modules sounded like it would
be, well, just python modules.

On Tue, May 26, 2009 at 2:00 PM, Dody Gunawinata <empirebuilder at gmail.com>wrote:

> 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
>
>
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20090526/4cae68d3/attachment.html>


More information about the Ironpython-users mailing list