: Re: [Python.NET] Deprecation warnings
Hi John,
I've just checked in a fix for this.
You should be able to try it out by getting the latest from the develop branch
of https://github.com/pythonnet/pythonnet and building it locally using
setup.py, eg:
>python setup.py install
cheers,
may be an issue on
> my end.
>
>
>
> John
>
>
>
> *From:* PythonDotNet [mailto:pythondotnet-bounces+jgill=
> tokiomillennium@python.org] *On Behalf Of *Tony Roberts
> *Sent:* Wednesday, April 09, 2014 8:59 AM
> *To:* A list for users and developers of Pyth
[mailto:pythondotnet-bounces+jgill=tokiomillennium@python.org] On Behalf Of
Tony Roberts
Sent: Wednesday, April 09, 2014 8:59 AM
To: A list for users and developers of Python for .NET
Subject: Re: [Python.NET] Deprecation warnings
Hi Jon,
add clr.AddReference("System.Collections") to your code
Hi Jon,
add clr.AddReference("System.Collections") to your code before the import.
I'll take a look at why that warning message doesn't have the correct
assembly name.
cheers,
Tony
On Wed, Apr 9, 2014 at 12:36 PM, John Gill wrote:
> I just upgraded to pythonnet 2.0 - thanks to "pip install -p
I just upgraded to pythonnet 2.0 - thanks to "pip install -pre pythonnet"
Thanks for making that work.
I am now getting these deprecation warnings:
The module was found, but not in a referenced namespace.
Implicit loading is deprecated. Please use
clr.AddReference("System.Collections.Generic.Li