3

I've been teaching myself the basics of programming using Python 3 and now want to delve into more mathematical/graphical stuff (e.g. plotting fractals).

Everything I find for graphs (e.g. pyLab, matplotlib) seems to be incompatible with Python 3, though I did find a version of numpy I could install. Does anyone know of modules that are compatible with version 3, or know when pylab might become compatible?

Should I go back and learn/install an earlier version of Python?

agf
  • 171,228
  • 44
  • 289
  • 238
Noah
  • 51
  • 1
  • 5
  • for imaging: http://stackoverflow.com/questions/3896286/image-library-for-python-3. I once used tkinter for a mandelbrot generator but it was awful slow. – jcomeau_ictx Aug 28 '11 at 20:48
  • 3
    Not everything has been ported to 3. You're probably better off with 2.7 and keeping aware of the differences so that everything you do can be run in 3.2 as well – Ben Aug 28 '11 at 20:49
  • 1
    @Ben That's a wrong thought. People should be using only Python 3 to make a pressure on software developers. – JBernardo Aug 28 '11 at 21:03
  • If you want to "make a pressure on software developers", then use Python 3. If you want to write working code, you may have to use Python 2. Not many people come to SO complaining that their code doesn't put enough pressure on the developers of third party libraries. – RoundTower Aug 28 '11 at 21:08
  • 1
    @JBernardo, it's a fair point but until the specific modules one needs have been ported it's not always viable to use Python 3. And if you're unable to do the porting yourself you have no choice but to use what is currently available and remembering to use `!=` not `<>` etc. – Ben Aug 28 '11 at 21:10

1 Answers1

3

Since April I'm using matplotlib with Python 3 (without problems).

It's about time to libraries update themselves to Python3.

Check this link

JBernardo
  • 32,262
  • 10
  • 90
  • 115
  • Thanks! I had a problem with the 64 bit version of matplotlib. I had to uninstall the 64 bit versions of Python 3 and numpy and install the 32 bit versions of them and matplotlib, but now it all works. – Noah Aug 30 '11 at 21:29