Hi All,
I tried the example of embedding python inside a clr application.
using (Py.GIL())
{
dynamic np = Py.Import("numpy");
Console.WriteLine(np.cos(np.pi * 2));
dynamic sin = np.sin;
Console.WriteLine(sin(5));
Hello,
Is it possible to create a python repl from within a Windows application. I
know it is possible from a Windows console application. However everytime I
run Runtime.Py_Main from within a WPF app it just exits. Any suggestions on
how to get an interactive version working or troubleshoot why
i
Hi All,
I get a bunch of
Exception thrown: 'System.IO.FileLoadException' in mscorlib.dll
and the call never returns after
PythonEngine.Initialize();
PythonEngine.Exec("import IPython");
Any suggestions on how to debug it? If run import IPython from the Console
app that comes with solution i
Hi All,
I new to to Python and PythonDotNet. However, I am able to embed it in a
clr application. Should the PythonEngine be treated as sigleton? When does
it make sense to create an instance of the PythonEngine versus just calling
the static methods?
Thanks,
Phat
___
Hi All,
I am embedding Python in a clr application. Do I need to
include Python.Runtime.dll as an Embedded Resource? If so why? It does seem
to work with just a reference to the Python.Runtime Assembly. Also do I
also need to create an AssemblyLoader like the one in the Console
application in the
Hi All,
I want to be able to use the Runtime Callable Wrapper for the Excel
application as I would in the CLR from C#. Maybe I am missing something
because it does work partially. If I get reference to Runtime Callable
Wrapper for an Excel Application COM object then I can call its methods and
pro
Hi All,
I was expecting the code below to work. Basically I casting a
System.__ComObject into a Range Interface (
https://msdn.microsoft.com/en-us/library/microsoft.office.interop.excel.range_members(v=office.14).aspx).
There should be an indexer but I can't seem to get it to work?
Thanks,
Phat
Forget the last previous error. I running anaconda and there is a different
setup process. Thanks!
From: Phat Loc
Sent: Wednesday, October 10, 2018 9:29 AM
To: 'pythondotnet@python.org'
Subject: Pip Install Pythonnet error
Hi All,
I am trying do a pip install of pythonnet.
Hi All,
I am trying do a pip install of pythonnet. I get the following build errors.
Any suggestions on how to fix it?
(base) C:\Users\ploc>pip install pythonnet
Collecting pythonnet
Using cached https://files.pythonhosted.org/packages/89/3b/a22cd45b591d6cf490e
e8b24d52b9db1f30b4b478b64a9b23