MPL on Windows x64 with Python 2.6

Hi,
I’ve successfully compiled NumPy for Python 2.6 on Windows x64 (amd64).
NumPy seems so pass most of the unit tests, except for a few minor ones where it seems nose (the unit testing harness) seems to have problems with python 2.6.

After compiling MPL for 2.6 on x64 (which was a LENGTHY process… phew!) I do get a generally speaking working version but there seem to be quite a few display issues… I have re-occuring cases of “missing data points”, for a lack of a better name.

Feel free to look at a screenshot: http://img101.imageshack.us/my.php?image=badsubloptswy1.png

Is MPL supported on Win x64? I someone working on this?

I would be happy to share my NumPy build and MPL dependencies + MPL build with anyone that perhaps knowing a bit more than me about MPL :slight_smile:

Could you please describe your build environment? I am interested in what compiler you used and what OS you are running.

  • Charlie
···

On Tue, Oct 14, 2008 at 8:23 PM, Dan Shechter <dans@…2344…> wrote:

Hi,
I’ve successfully compiled NumPy for Python 2.6 on Windows x64 (amd64).
NumPy seems so pass most of the unit tests, except for a few minor ones where it seems nose (the unit testing harness) seems to have problems with python 2.6.

After compiling MPL for 2.6 on x64 (which was a LENGTHY process… phew!) I do get a generally speaking working version but there seem to be quite a few display issues… I have re-occuring cases of “missing data points”, for a lack of a better name.

Feel free to look at a screenshot: http://img101.imageshack.us/my.php?image=badsubloptswy1.png

Is MPL supported on Win x64? I someone working on this?

I would be happy to share my NumPy build and MPL dependencies + MPL build with anyone that perhaps knowing a bit more than me about MPL :slight_smile:


This SF.Net email is sponsored by the Moblin Your Move Developer’s challenge

Build the coolest Linux based applications with Moblin SDK & win great prizes

Grand prize is a trip for two to an Open Source event anywhere in the world

http://moblin-contest.org/redirect.php?banner_id=100&url=/


Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Of course... I'll try to be as detailed as I can be...

I'll start off by mentioning that I have created and uploaded and
archive with a snapshot of everything that I've got so far:
http://rapidshare.com/files/154096953/py-64.7z.html

The env. I'm using is:
* VS9 (2008)
* Python 2.6 for amd 64 (compiled with VS9 by the python.org folks)

To compile Numpy I did this:
1. Extract Numpy 1.2
2. Start the Visual Studio 2008 Command prompt
3. Patch "numpy-1.2.0\numpy\core\src\umathmodule.c.src" according to the
instructios here:

http://projects.scipy.org/pipermail/numpy-discussion/2008-October/037981.htm
l

http://projects.scipy.org/pipermail/numpy-discussion/2008-October/037994.htm
l
4. invoke python setup.py build bdist_wininst
5. Install the resulting installer
6. Run numpy.test()... (You'll need a installed nose unit-test framework,
which is in the archive I've attached)

For MPL:
1. Extract matplotlib-0.98.3
2. I downloaded the win32_static package so I can see the "recomended"
   static dependencies and compiled the dependencies as best I could,
   altering the provided ".sln"/".csproj" files as best I could to compile
   for x64 (none of them have pre-made x64 "builds")
   What I compiled out of the win32 packages was:
   libpng / zlib
   freetype
3. I restructures the headers / .lib files in a manner similar to how they
were with
   the win32_static package, and placed it in a "win64" directory
4. Changed setupext.py to use "win64" instead of "win32_static"
5. Compiled with python setup.py build bdist_wininst, installed the
resulting installer
6. Ran a few tests...

That's it.
I'm still "missing" on getting the wxPython headers/static libs compiled,
but I assume this is not a
"critical" part of getting MPL working, but rather required for completeness
sake.

···

From: Charlie Moad [mailto:cwmoad@…287…]
Sent: Wednesday, October 15, 2008 03:11
To: Dan Shechter
Cc: matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] MPL on Windows x64 with Python 2.6

Could you please describe your build environment? I am interested in what
compiler you used and what OS you are running.

- Charlie
On Tue, Oct 14, 2008 at 8:23 PM, Dan Shechter <dans@...2344...> wrote:
Hi,
I've successfully compiled NumPy for Python 2.6 on Windows x64 (amd64).
NumPy seems so pass most of the unit tests, except for a few minor ones
where it seems nose (the unit testing harness) seems to have problems with
python 2.6.

After compiling MPL for 2.6 on x64 (which was a LENGTHY process... phew!) I
do get a generally speaking working version but there seem to be quite a few
display issues... I have re-occuring cases of "missing data points", for a
lack of a better name.
Feel free to look at a screenshot:
http://img101.imageshack.us/my.php?image=badsubloptswy1.png

Is MPL supported on Win x64? I someone working on this?

I would be happy to share my NumPy build and MPL dependencies + MPL build
with anyone that perhaps knowing a bit more than me about MPL :slight_smile:

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

An interesting data point would be if anyone is successfully running matplotlib on another amd64 platform...? (I'm running 32-bit Linux, so I can't help.) That might help rule our 64-bit non-safety in general vs. something specific to the Windows toolchain.

Mike

Dan Shechter wrote:

···

Of course... I'll try to be as detailed as I can be...

I'll start off by mentioning that I have created and uploaded and archive with a snapshot of everything that I've got so far:
http://rapidshare.com/files/154096953/py-64.7z.html

The env. I'm using is:
* VS9 (2008)
* Python 2.6 for amd 64 (compiled with VS9 by the python.org folks)

To compile Numpy I did this:
1. Extract Numpy 1.2
2. Start the Visual Studio 2008 Command prompt
3. Patch "numpy-1.2.0\numpy\core\src\umathmodule.c.src" according to the
instructios here:
http://projects.scipy.org/pipermail/numpy-discussion/2008-October/037981.htm
l
http://projects.scipy.org/pipermail/numpy-discussion/2008-October/037994.htm
l
4. invoke python setup.py build bdist_wininst
5. Install the resulting installer
6. Run numpy.test()... (You'll need a installed nose unit-test framework,
which is in the archive I've attached)

For MPL:
1. Extract matplotlib-0.98.3
2. I downloaded the win32_static package so I can see the "recomended" static dependencies and compiled the dependencies as best I could, altering the provided ".sln"/".csproj" files as best I could to compile for x64 (none of them have pre-made x64 "builds")
   What I compiled out of the win32 packages was:
   libpng / zlib
   freetype
3. I restructures the headers / .lib files in a manner similar to how they
were with
   the win32_static package, and placed it in a "win64" directory
4. Changed setupext.py to use "win64" instead of "win32_static"
5. Compiled with python setup.py build bdist_wininst, installed the
resulting installer
6. Ran a few tests...

That's it.
I'm still "missing" on getting the wxPython headers/static libs compiled,
but I assume this is not a "critical" part of getting MPL working, but rather required for completeness
sake.

From: Charlie Moad [mailto:cwmoad@…287…] Sent: Wednesday, October 15, 2008 03:11
To: Dan Shechter
Cc: matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] MPL on Windows x64 with Python 2.6

Could you please describe your build environment? I am interested in what
compiler you used and what OS you are running.

- Charlie
On Tue, Oct 14, 2008 at 8:23 PM, Dan Shechter <dans@...2344...> wrote:
Hi,
I've successfully compiled NumPy for Python 2.6 on Windows x64 (amd64).
NumPy seems so pass most of the unit tests, except for a few minor ones
where it seems nose (the unit testing harness) seems to have problems with
python 2.6.

After compiling MPL for 2.6 on x64 (which was a LENGTHY process... phew!) I
do get a generally speaking working version but there seem to be quite a few
display issues... I have re-occuring cases of "missing data points", for a
lack of a better name.
Feel free to look at a screenshot:
http://img101.imageshack.us/my.php?image=badsubloptswy1.png

Is MPL supported on Win x64? I someone working on this?

I would be happy to share my NumPy build and MPL dependencies + MPL build
with anyone that perhaps knowing a bit more than me about MPL :slight_smile:

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
  
--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA

Yeap...
I also forgot to mention this in response to Charlie's question.

MPL + NumPy work seemlessly on Linux amd64, and have been so for at least
the two years I've been
using them.
Having said that, I have only used them with Python 2.5 amd64 and not with
2.6 on Linux.

I've compiled the packaged I linked to before on Vista x64 with VS 2008 SP1.

I've been able to reproduce the impaired visual effects on Vista x64 AND
Windows XP x64 so far.

So I would say that this definitely rules out 64-bit non-safety as a general
issue and this is either a problem with
the dependencies on x64 or MPL itself.

···

-----Original Message-----
From: Michael Droettboom [mailto:mdroe@…86…]
Sent: Wednesday, October 15, 2008 4:02 PM
To: Dan Shechter
Cc: 'Charlie Moad'; matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] MPL on Windows x64 with Python 2.6

An interesting data point would be if anyone is successfully running
matplotlib on another amd64 platform...? (I'm running 32-bit Linux, so
I can't help.) That might help rule our 64-bit non-safety in general
vs. something specific to the Windows toolchain.

Mike

Dan Shechter wrote:

Of course... I'll try to be as detailed as I can be...

I'll start off by mentioning that I have created and uploaded and
archive with a snapshot of everything that I've got so far:
http://rapidshare.com/files/154096953/py-64.7z.html

The env. I'm using is:
* VS9 (2008)
* Python 2.6 for amd 64 (compiled with VS9 by the python.org folks)

To compile Numpy I did this:
1. Extract Numpy 1.2
2. Start the Visual Studio 2008 Command prompt
3. Patch "numpy-1.2.0\numpy\core\src\umathmodule.c.src" according to the
instructios here:

http://projects.scipy.org/pipermail/numpy-discussion/2008-October/037981.htm

l

http://projects.scipy.org/pipermail/numpy-discussion/2008-October/037994.htm

l
4. invoke python setup.py build bdist_wininst
5. Install the resulting installer
6. Run numpy.test()... (You'll need a installed nose unit-test framework,
which is in the archive I've attached)

For MPL:
1. Extract matplotlib-0.98.3
2. I downloaded the win32_static package so I can see the "recomended"
   static dependencies and compiled the dependencies as best I could,
   altering the provided ".sln"/".csproj" files as best I could to compile

   for x64 (none of them have pre-made x64 "builds")
   What I compiled out of the win32 packages was:
   libpng / zlib
   freetype
3. I restructures the headers / .lib files in a manner similar to how they
were with
   the win32_static package, and placed it in a "win64" directory
4. Changed setupext.py to use "win64" instead of "win32_static"
5. Compiled with python setup.py build bdist_wininst, installed the
resulting installer
6. Ran a few tests...

That's it.
I'm still "missing" on getting the wxPython headers/static libs compiled,
but I assume this is not a
"critical" part of getting MPL working, but rather required for

completeness

sake.

From: Charlie Moad [mailto:cwmoad@…287…]
Sent: Wednesday, October 15, 2008 03:11
To: Dan Shechter
Cc: matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] MPL on Windows x64 with Python 2.6

Could you please describe your build environment? I am interested in what
compiler you used and what OS you are running.

- Charlie
On Tue, Oct 14, 2008 at 8:23 PM, Dan Shechter <dans@...2344...> wrote:
Hi,
I've successfully compiled NumPy for Python 2.6 on Windows x64 (amd64).
NumPy seems so pass most of the unit tests, except for a few minor ones
where it seems nose (the unit testing harness) seems to have problems with
python 2.6.

After compiling MPL for 2.6 on x64 (which was a LENGTHY process... phew!)

I

do get a generally speaking working version but there seem to be quite a

few

display issues... I have re-occuring cases of "missing data points", for a
lack of a better name.
Feel free to look at a screenshot:
http://img101.imageshack.us/my.php?image=badsubloptswy1.png

Is MPL supported on Win x64? I someone working on this?

I would be happy to share my NumPy build and MPL dependencies + MPL build
with anyone that perhaps knowing a bit more than me about MPL :slight_smile:

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's

challenge

Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the

world

http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's

challenge

Build the coolest Linux based applications with Moblin SDK & win great

prizes

Grand prize is a trip for two to an Open Source event anywhere in the

world

http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
  
--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA

Thanks for the notes. I suspect many people are in the same boat as me and just do not have access to the environment you do.

  • Charlie
···

On Wed, Oct 15, 2008 at 3:07 AM, Dan Shechter <dans@…2344…> wrote:

Of course… I’ll try to be as detailed as I can be…

I’ll start off by mentioning that I have created and uploaded and

archive with a snapshot of everything that I’ve got so far:

http://rapidshare.com/files/154096953/py-64.7z.html

The env. I’m using is:

  • VS9 (2008)

  • Python 2.6 for amd 64 (compiled with VS9 by the python.org folks)

To compile Numpy I did this:

  1. Extract Numpy 1.2

  2. Start the Visual Studio 2008 Command prompt

  3. Patch “numpy-1.2.0\numpy\core\src\umathmodule.c.src” according to the

instructios here:

http://projects.scipy.org/pipermail/numpy-discussion/2008-October/037981.htm

l

http://projects.scipy.org/pipermail/numpy-discussion/2008-October/037994.htm

l

  1. invoke python setup.py build bdist_wininst

  2. Install the resulting installer

  3. Run numpy.test()… (You’ll need a installed nose unit-test framework,

which is in the archive I’ve attached)

For MPL:

  1. Extract matplotlib-0.98.3

  2. I downloaded the win32_static package so I can see the “recomended”

    static dependencies and compiled the dependencies as best I could,

    altering the provided “.sln”/".csproj" files as best I could to compile

    for x64 (none of them have pre-made x64 “builds”)

    What I compiled out of the win32 packages was:

    libpng / zlib

    freetype

  3. I restructures the headers / .lib files in a manner similar to how they

were with

the win32_static package, and placed it in a “win64” directory

  1. Changed setupext.py to use “win64” instead of “win32_static”

  2. Compiled with python setup.py build bdist_wininst, installed the

resulting installer

  1. Ran a few tests…

That’s it.

I’m still “missing” on getting the wxPython headers/static libs compiled,

but I assume this is not a

“critical” part of getting MPL working, but rather required for completeness

sake.

From: Charlie Moad [mailto:cwmoad@…287…]

Sent: Wednesday, October 15, 2008 03:11

To: Dan Shechter

Cc: matplotlib-users@lists.sourceforge.net

Subject: Re: [Matplotlib-users] MPL on Windows x64 with Python 2.6

Could you please describe your build environment? I am interested in what

compiler you used and what OS you are running.

  • Charlie

On Tue, Oct 14, 2008 at 8:23 PM, Dan Shechter <dans@…2344…> wrote:

Hi,

I’ve successfully compiled NumPy for Python 2.6 on Windows x64 (amd64).

NumPy seems so pass most of the unit tests, except for a few minor ones

where it seems nose (the unit testing harness) seems to have problems with

python 2.6.

After compiling MPL for 2.6 on x64 (which was a LENGTHY process… phew!) I

do get a generally speaking working version but there seem to be quite a few

display issues… I have re-occuring cases of “missing data points”, for a

lack of a better name.

Feel free to look at a screenshot:

http://img101.imageshack.us/my.php?image=badsubloptswy1.png

Is MPL supported on Win x64? I someone working on this?

I would be happy to share my NumPy build and MPL dependencies + MPL build

with anyone that perhaps knowing a bit more than me about MPL :slight_smile:


This SF.Net email is sponsored by the Moblin Your Move Developer’s challenge

Build the coolest Linux based applications with Moblin SDK & win great

prizes

Grand prize is a trip for two to an Open Source event anywhere in the world

http://moblin-contest.org/redirect.php?banner_id=100&url=/


Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users