Re: [Python.NET] Error in calling Python class method from C#

2018-05-02 Thread Stefan Schukat
will work with this way but i need to create multiple instance of same class.If you see other function (@Execute() ) with static was working. Please give me hint of doing without static. Thanks On Thu, Apr 26, 2018 at 4:54 PM, Stefan Schukat mailto:sschu...@dspace.de>> wrote: Hello,

Re: [Python.NET] Error in calling Python class method from C#

2018-04-26 Thread Stefan Schukat
Hello, you missed either @staticmethod decorator or the self argument for the Initialize method. Stefan From: PythonDotNet [mailto:pythondotnet-bounces+sschukat=dspace...@python.org] On Behalf Of techi eth Sent: Wednesday, April 25, 2018 2:38 PM To: A list for users and developers of Pytho

Re: [Python.NET] PythonEngine.Initialize() exception

2016-02-22 Thread Stefan Schukat
Hi Kresimir, the pip version is based on the source in GIT. Hence you are using the solution I suggested. Regards Stefan From: PythonDotNet [mailto:pythondotnet-bounces+sschukat=dspace...@python.org] On Behalf Of Simunic,Kresimir Sent: Monday, February 22,

Re: [Python.NET] PythonEngine.Initialize() exception

2016-02-22 Thread Stefan Schukat
Hello, use the version from GitHub https://github.com/pythonnet/pythonnet Starting with the 4.5.X runtime there are types which do not have a namespace. Hence the original code which uses the namespace of a type internal static void Register(Type t) { Dictionary> nsmap = null;