ImportError: No module named mplot3d

ImportError: No module named mplot3d
Dear List,

I tried running examples of 3D plots given from the matplotlib webpage, but encountered the following error:

from mpl_toolkits.mplot3d import Axes3D

ImportError: No module named mplot3d

I am using the enthought package with matplotlib version 0.98.5.2

Any help on how to recover mplot 3d would be appreciated.

Thanks,

david

David Paulsen, M.S.

Graduate Student

Department of Psychology & Neuroscience

Duke University

mplot3d still lives only under SVN and was not released yet (note that
there is a new version of matplotlib, 0.98.5.3).

So either you take the version from SVN (there's a guide on
matplotlib.sf.net) or wait for the next release :slight_smile:

Regards,

···

On Wed, Jul 1, 2009 at 16:55, David Paulsen<david.paulsen@...2664...> wrote:

from mpl\_toolkits\.mplot3d import Axes3D

ImportError: No module named mplot3d

I am using the enthought package with matplotlib version 0.98.5.2

Any help on how to recover mplot 3d would be appreciated.

--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

Hello,

mplot3d module is in the svn codebase. You will have to check-out the
sources and make a manual installation.

If you are on linux, it is a very easy process:

First a check-out with svn

svn co https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/trunk/matplotlib
matplotlib

and then

python setup.py install

Tadaa, the examples should work without any problems.

Gökhan

···

On Wed, Jul 1, 2009 at 9:55 AM, David Paulsen<david.paulsen@...2664...> wrote:

Dear List,

I tried running examples of 3D plots given from the matplotlib webpage, but
encountered the following error:

from mpl\_toolkits\.mplot3d import Axes3D

ImportError: No module named mplot3d

I am using the enthought package with matplotlib version 0.98.5.2

Any help on how to recover mplot 3d would be appreciated.

Thanks,
david

David Paulsen, M.S.
Graduate Student
Department of Psychology & Neuroscience
Duke University

------------------------------------------------------------------------------

_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users