[Python.NET] Python for .net and python 3.2

Kyle Rocha kyle.rocha at gmail.com
Sun Nov 10 23:48:35 CET 2013


Ya, much of the documentation is old and needs to be cleaned up no doubt.

I've been using it with .net4 x64 and python 3.3.

You'll need to set the define for with version of python you want to define
PYTHON32.


On 10 November 2013 14:38, Kieran Love <klove at iress.com.au> wrote:

> Thanks. Is this fork successfully compiling against Python 3.x?
>
> The readme seems to talk about PYTHON24 and PYTHON25 environment variables.
>
>
>
> *From:* Kyle Rocha [mailto:kyle.rocha at gmail.com]
> *Sent:* Sunday, 10 November 2013 3:29 AM
> *To:* Kieran Love
> *Cc:* pythondotnet at python.org
> *Subject:* Re: [Python.NET] Python for .net and python 3.2
>
>
>
> The source forge work seems to have gone a bit stale. I've found that
> https://github.com/renshawbay/pythonnet/ has been the most active and
> stable fork.
>
>
>
> On 5 November 2013 22:16, Kieran Love <klove at iress.com.au> wrote:
>
> I’ve downloaded “pythonnet-2.0-Beta0-clr4.0_140_py27_UCS2_x86.zip”
>
> and unzipped its contents to my python32/DLLs folder.
>
>
>
> Then when I try to use it I get the following error:-
>
>
>
> *>>> import clr*
>
> *Traceback (most recent call last):*
>
> *  File "<stdin>", line 1, in <module>*
>
> *ImportError: dynamic module does not define init function (PyInit_clr)*
>
>
>
> Three questions:
>
> 1.       I’m assuming this release was for use with .net4 and python
> version 2.7, is that correct?
>
>
>
> 2.       Is there an official release of python for .net that works with
> python 3.2? Currently I’m using these beta builds (
> http://www.pyxll.com/pythonnet/) that I found from reading the mailing
> lists.
>
>
>
> 3.       Is there a different reason why my python code example isn’t
> working with the official release?
>
>
>
> Thanks for your time.
>
>
> **********************************************************************************************
> Important Note
> This email (including any attachments) contains information which is
> confidential and may be subject to legal privilege.  If you are not the
> intended recipient you must not use, distribute or copy this email.  If you
> have received this email in error please notify the
> sender immediately and delete this email. Any views expressed in this
> email are not necessarily the views of IRESS Limited.
>
> It is the duty of the recipient to virus scan and otherwise test the
> information provided before loading onto any computer system.
> IRESS Limited does not warrant that the information is free of a virus or
> any other defect or error.
>
> **********************************************************************************************
>
>
> _________________________________________________
> Python.NET mailing list - PythonDotNet at python.org
> https://mail.python.org/mailman/listinfo/pythondotnet
>
>
>
> **********************************************************************************************
> Important Note
> This email (including any attachments) contains information which is
> confidential and may be subject to legal privilege.  If you are not the
> intended recipient you must not use, distribute or copy this email.  If you
> have received this email in error please notify the
> sender immediately and delete this email. Any views expressed in this
> email are not necessarily the views of IRESS Limited.
>
> It is the duty of the recipient to virus scan and otherwise test the
> information provided before loading onto any computer system.
> IRESS Limited does not warrant that the information is free of a virus or
> any other defect or error.
>
> **********************************************************************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythondotnet/attachments/20131110/68ce7440/attachment-0001.html>


More information about the PythonDotNet mailing list