SourceForge logo
SourceForge logo
Menu

matplotlib-users — Discussion related to using matplotlib

You can subscribe to this list here.

2003 Jan
Feb
Mar
Apr
May
(3)
Jun
Jul
Aug
(12)
Sep
(12)
Oct
(56)
Nov
(65)
Dec
(37)
2004 Jan
(59)
Feb
(78)
Mar
(153)
Apr
(205)
May
(184)
Jun
(123)
Jul
(171)
Aug
(156)
Sep
(190)
Oct
(120)
Nov
(154)
Dec
(223)
2005 Jan
(184)
Feb
(267)
Mar
(214)
Apr
(286)
May
(320)
Jun
(299)
Jul
(348)
Aug
(283)
Sep
(355)
Oct
(293)
Nov
(232)
Dec
(203)
2006 Jan
(352)
Feb
(358)
Mar
(403)
Apr
(313)
May
(165)
Jun
(281)
Jul
(316)
Aug
(228)
Sep
(279)
Oct
(243)
Nov
(315)
Dec
(345)
2007 Jan
(260)
Feb
(323)
Mar
(340)
Apr
(319)
May
(290)
Jun
(296)
Jul
(221)
Aug
(292)
Sep
(242)
Oct
(248)
Nov
(242)
Dec
(332)
2008 Jan
(312)
Feb
(359)
Mar
(454)
Apr
(287)
May
(340)
Jun
(450)
Jul
(403)
Aug
(324)
Sep
(349)
Oct
(385)
Nov
(363)
Dec
(437)
2009 Jan
(500)
Feb
(301)
Mar
(409)
Apr
(486)
May
(545)
Jun
(391)
Jul
(518)
Aug
(497)
Sep
(492)
Oct
(429)
Nov
(357)
Dec
(310)
2010 Jan
(371)
Feb
(657)
Mar
(519)
Apr
(432)
May
(312)
Jun
(416)
Jul
(477)
Aug
(386)
Sep
(419)
Oct
(435)
Nov
(320)
Dec
(202)
2011 Jan
(321)
Feb
(413)
Mar
(299)
Apr
(215)
May
(284)
Jun
(203)
Jul
(207)
Aug
(314)
Sep
(321)
Oct
(259)
Nov
(347)
Dec
(209)
2012 Jan
(322)
Feb
(414)
Mar
(377)
Apr
(179)
May
(173)
Jun
(234)
Jul
(295)
Aug
(239)
Sep
(276)
Oct
(355)
Nov
(144)
Dec
(108)
2013 Jan
(170)
Feb
(89)
Mar
(204)
Apr
(133)
May
(142)
Jun
(89)
Jul
(160)
Aug
(180)
Sep
(69)
Oct
(136)
Nov
(83)
Dec
(32)
2014 Jan
(71)
Feb
(90)
Mar
(161)
Apr
(117)
May
(78)
Jun
(94)
Jul
(60)
Aug
(83)
Sep
(102)
Oct
(132)
Nov
(154)
Dec
(96)
2015 Jan
(45)
Feb
(138)
Mar
(176)
Apr
(132)
May
(119)
Jun
(124)
Jul
(77)
Aug
(31)
Sep
(34)
Oct
(22)
Nov
(23)
Dec
(9)
2016 Jan
(26)
Feb
(17)
Mar
(10)
Apr
(8)
May
(4)
Jun
(8)
Jul
(6)
Aug
(5)
Sep
(9)
Oct
(4)
Nov
Dec
2017 Jan
(5)
Feb
(7)
Mar
(1)
Apr
(5)
May
Jun
(3)
Jul
(6)
Aug
(1)
Sep
Oct
(2)
Nov
(1)
Dec
2018 Jan
Feb
Mar
Apr
(1)
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2020 Jan
Feb
Mar
Apr
May
(1)
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2025 Jan
(1)
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
S M T W T F S


1
2
(2)
3
(2)
4
(9)
5
(2)
6
(1)
7
(1)
8
(3)
9
10
11
12
13
(5)
14
(1)
15
16
(2)
17
(2)
18
(1)
19
20
21
(2)
22
23
(1)
24
(1)
25
26
(1)
27
28
(2)
29
(2)
30
(12)
31
(8)


Showing results of 60

<< < 1 2 3 (Page 3 of 3)
From: Benjamin R. <ben...@ou...> - 2014年07月04日 18:35:39
One possibility is that with v1.3, we changed how packaging was done.
Unfortunately, this did cause some transitional issues. The best bet is to
uninstall *all* versions of matplotlib, pylab, and mpl_toolkits first, then
re-install v1.3.1. Note that waiting for the v1.4 release wouldn't
necessarily solve anything as it is the transition *from* older versions of
matplotlib that is the issue rather than transitioning *to* newer versions.
Hopefully this helps,
Ben Root
On Wed, Jul 2, 2014 at 9:35 PM, jw <gw...@ou...> wrote:
> I installed using version 1.3.1 windows binary
> "matplotlib-1.3.1.win32-py2.7.exe" from mathplotlib download. Installation
> went fine, but when using the package, it says "dateutil" and "pyparsing"
> are missing, which are supposed to be bundled according to the installation
> instruction. Is this a bug or expected behavior from now on? I did not have
> this issue for earlier versions of matplotlib.
> My base python is 2.7.8.
>
> If anyone is having the issue, either download the binaries from pythonlibs
> mentioned above, or
> install from the sources, which I did as follows:
> (1) Install setuptools if you don't have it.
> Download source from https://pypi.python.org/pypi/setuptools;
> Unpack and run 'ez_setup.py install'; or 'python ez_setup.py install'
> This will install setuptools.
>
> (2) Install any other package by downloading the source, unpacking, and
> running 'setup.py install'
> e.g., "dateutil" has been installed this way.
> https://pypi.python.org/pypi/python-dateutil, same for pyparsing
>
>
>
> --
> View this message in context:
> http://matplotlib.1069221.n5.nabble.com/installation-problem-tp43325p43606.html
> Sent from the matplotlib - users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
From: Goyo <goy...@gm...> - 2014年07月04日 17:22:58
2014年07月04日 8:30 GMT+02:00 Rachana Katkam <kat...@gm...>:
> Hey, even I had similar issue.
> Later I learnt python2.7 could support matplotlib version1.0.1 only.
>
> So if you want to upgrade your matplotlib, you first need to upgrade your
> python.
matplotlib 1.3.1 works quite well with python 2.7.
Goyo
From: <jos...@gm...> - 2014年07月04日 15:42:14
On Fri, Jul 4, 2014 at 10:07 AM, Dino Bektešević <lj...@gm...> wrote:
> Hello dydy,
>
> If you've never done programing in python I would recommend a book
> "dive into python" any version will do but the latest one is 3 I
> think. Asking this questions in tut...@py... will probably
> get you even further since they mainly deal with general python
> learning.
>
> Whatever you can use through command prompt you can use in python if
> you use import subprocess. Subprocess.call("command") calls whatever
> command you want over the command line. If you can call IDL to run
> files over command line this can be an option. If not you're going to
> have to use a wrapper tool like SWIG is foc c/c++ or another module to
> connect to IDL. A useful module here will usually be os as well.
>
> As for installations of modules under windows platforms, that's always
> tricky, I recommend using a virtualenv with pip, because then
> generally installing a module boils down to using "pip install". But
> even in virtualenv on windows I've had issues with installing i.e.
> matplotlib and found it impossible and I've had to install it
> system-wide by using one of the unofficial binary installers from:
> http://www.lfd.uci.edu/~gohlke/pythonlibs/ and from then I have to
> start start each virtualenv with the option --system-site-packages
> which kind of defeats the purpose of a virtualenv, but such is the
> nature of developing on win's....
> (I've read that you can activate local modules by hand, but I've not
> been able to reproduce it)
>
I never recommend pip to Windows users (at least not until everything is in
wheels).
The last few times I had no problem `easy_install`ing the matplotlib exe
installer in a virtualenv, nor any of the other exe installers.
(pip is for Linux users, I never found anything better than easy_install on
Windows.)
Josef
>
>
> I know this is a bunch of new info, I suggest you read up on it, best of
> luck,
> Dino
>
> 2014年07月04日 3:05 GMT+02:00 dydy2014 <dya...@gm...>:
> > Hello all,
> >
> > I interested in python programming that is why I join in this forum.
> > I want to know how to install new module in my python program?. I use
> python
> > under windows OS.
> > Actually, I interest with PyNio but I don't know how to install it.
> > Another question is how to make other language, for example, IDL, can be
> > read in python?
> > Thank you....
> >
> > Dydy
> >
> >
> >
> > --
> > View this message in context:
> http://matplotlib.1069221.n5.nabble.com/PyNio-tp43610.html
> > Sent from the matplotlib - users mailing list archive at Nabble.com.
> >
> >
> ------------------------------------------------------------------------------
> > Open source business process management suite built on Java and Eclipse
> > Turn processes into business applications with Bonita BPM Community
> Edition
> > Quickly connect people, data, and systems into organized workflows
> > Winner of BOSSIE, CODIE, OW2 and Gartner awards
> > http://p.sf.net/sfu/Bonitasoft
> > _______________________________________________
> > Matplotlib-users mailing list
> > Mat...@li...
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
From: Dino B. <lj...@gm...> - 2014年07月04日 14:08:01
Hello dydy,
If you've never done programing in python I would recommend a book
"dive into python" any version will do but the latest one is 3 I
think. Asking this questions in tut...@py... will probably
get you even further since they mainly deal with general python
learning.
Whatever you can use through command prompt you can use in python if
you use import subprocess. Subprocess.call("command") calls whatever
command you want over the command line. If you can call IDL to run
files over command line this can be an option. If not you're going to
have to use a wrapper tool like SWIG is foc c/c++ or another module to
connect to IDL. A useful module here will usually be os as well.
As for installations of modules under windows platforms, that's always
tricky, I recommend using a virtualenv with pip, because then
generally installing a module boils down to using "pip install". But
even in virtualenv on windows I've had issues with installing i.e.
matplotlib and found it impossible and I've had to install it
system-wide by using one of the unofficial binary installers from:
http://www.lfd.uci.edu/~gohlke/pythonlibs/ and from then I have to
start start each virtualenv with the option --system-site-packages
which kind of defeats the purpose of a virtualenv, but such is the
nature of developing on win's....
(I've read that you can activate local modules by hand, but I've not
been able to reproduce it)
I know this is a bunch of new info, I suggest you read up on it, best of luck,
Dino
2014年07月04日 3:05 GMT+02:00 dydy2014 <dya...@gm...>:
> Hello all,
>
> I interested in python programming that is why I join in this forum.
> I want to know how to install new module in my python program?. I use python
> under windows OS.
> Actually, I interest with PyNio but I don't know how to install it.
> Another question is how to make other language, for example, IDL, can be
> read in python?
> Thank you....
>
> Dydy
>
>
>
> --
> View this message in context: http://matplotlib.1069221.n5.nabble.com/PyNio-tp43610.html
> Sent from the matplotlib - users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
From: Rachana K. <kat...@gm...> - 2014年07月04日 06:30:44
Hey, even I had similar issue.
Later I learnt python2.7 could support matplotlib version1.0.1 only.
So if you want to upgrade your matplotlib, you first need to upgrade your
python.
On Thu, Jul 3, 2014 at 7:05 AM, jw <gw...@ou...> wrote:
> I installed using version 1.3.1 windows binary
> "matplotlib-1.3.1.win32-py2.7.exe" from mathplotlib download. Installation
> went fine, but when using the package, it says "dateutil" and "pyparsing"
> are missing, which are supposed to be bundled according to the installation
> instruction. Is this a bug or expected behavior from now on? I did not have
> this issue for earlier versions of matplotlib.
> My base python is 2.7.8.
>
> If anyone is having the issue, either download the binaries from pythonlibs
> mentioned above, or
> install from the sources, which I did as follows:
> (1) Install setuptools if you don't have it.
> Download source from https://pypi.python.org/pypi/setuptools;
> Unpack and run 'ez_setup.py install'; or 'python ez_setup.py install'
> This will install setuptools.
>
> (2) Install any other package by downloading the source, unpacking, and
> running 'setup.py install'
> e.g., "dateutil" has been installed this way.
> https://pypi.python.org/pypi/python-dateutil, same for pyparsing
>
>
>
> --
> View this message in context:
> http://matplotlib.1069221.n5.nabble.com/installation-problem-tp43325p43606.html
> Sent from the matplotlib - users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
From: dydy2014 <dya...@gm...> - 2014年07月04日 01:05:30
Hello all,
I interested in python programming that is why I join in this forum.
I want to know how to install new module in my python program?. I use python
under windows OS.
Actually, I interest with PyNio but I don't know how to install it.
Another question is how to make other language, for example, IDL, can be
read in python?
Thank you....
Dydy
--
View this message in context: http://matplotlib.1069221.n5.nabble.com/PyNio-tp43610.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
From: Oliver <oli...@gm...> - 2014年07月03日 10:17:54
Adding a caption to a plot inserted with the `plot` directive from mpl's
sphinxextensions does not work for me, even though the [documentation][1]
says it should be possible.
The relevant ReST snippet:
```
.. plot:: /home/oliver/git/lcp2/code/python/plot_scripts/tangent_circles.py
 :align: center
 :alt: 'Schematic drawing of the two solution methods'
 Schematic drawing showing the two possible solution methods discussed.
```
I'm getting the following traceback:
# Sphinx version: 1.1.3
# Python version: 2.7.3
# Docutils version: 0.9.1 release
# Jinja2 version: 2.6
Traceback (most recent call last):
 File
"/usr/local/lib/python2.7/dist-packages/Sphinx-1.1.3-py2.7.egg/sphinx/cmdline.py",
line 189, in main
 app.build(force_all, filenames)
 File
"/usr/local/lib/python2.7/dist-packages/Sphinx-1.1.3-py2.7.egg/sphinx/application.py",
line 204, in build
 self.builder.build_update()
 File
"/usr/local/lib/python2.7/dist-packages/Sphinx-1.1.3-py2.7.egg/sphinx/builders/__init__.py",
line 196, in build_update
 'out of date' % len(to_build))
 File
"/usr/local/lib/python2.7/dist-packages/Sphinx-1.1.3-py2.7.egg/sphinx/builders/__init__.py",
line 216, in build
 purple, length):
 File
"/usr/local/lib/python2.7/dist-packages/Sphinx-1.1.3-py2.7.egg/sphinx/builders/__init__.py",
line 120, in status_iterator
 for item in iterable:
 File
"/usr/local/lib/python2.7/dist-packages/Sphinx-1.1.3-py2.7.egg/sphinx/environment.py",
line 613, in update_generator
 self.read_doc(docname, app=app)
 File
"/usr/local/lib/python2.7/dist-packages/Sphinx-1.1.3-py2.7.egg/sphinx/environment.py",
line 761, in read_doc
 pub.publish()
 File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/core.py",
line 221, in publish
 self.settings)
 File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/readers/__init__.py",
line 69, in read
 self.parse()
 File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/readers/__init__.py",
line 75, in parse
 self.parser.parse(self.input, document)
 File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/__init__.py",
line 162, in parse
 self.statemachine.run(inputlines, document, inliner=self.inliner)
 File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/states.py",
line 174, in run
 input_source=document['source'])
 File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/statemachine.py",
line 239, in run
 context, state, transitions)
 File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/statemachine.py",
line 460, in check_line
 return method(match, context, next_state)
 File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/states.py",
line 2706, in underline
 self.section(title, source, style, lineno - 1, messages)
 File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/states.py",
line 331, in section
 self.new_subsection(title, lineno, messages)
 File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/states.py",
line 399, in new_subsection
 node=section_node, match_titles=True)
 File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/states.py",
line 286, in nested_parse
 node=node, match_titles=match_titles)
 File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/states.py",
line 199, in run
 results = StateMachineWS.run(self, input_lines, input_offset)
 File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/statemachine.py",
line 239, in run
 context, state, transitions)
 File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/statemachine.py",
line 460, in check_line
 return method(match, context, next_state)
 File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/states.py",
line 2706, in underline
 self.section(title, source, style, lineno - 1, messages)
 File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/states.py",
line 331, in section
 self.new_subsection(title, lineno, messages)
 File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/states.py",
line 399, in new_subsection
 node=section_node, match_titles=True)
 File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/states.py",
line 286, in nested_parse
 node=node, match_titles=match_titles)
 File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/states.py",
line 199, in run
 results = StateMachineWS.run(self, input_lines, input_offset)
 File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/statemachine.py",
line 239, in run
 context, state, transitions)
 File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/statemachine.py",
line 460, in check_line
 return method(match, context, next_state)
 File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/states.py",
line 2279, in explicit_markup
 nodelist, blank_finish = self.explicit_construct(match)
 File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/states.py",
line 2291, in explicit_construct
 return method(self, expmatch)
 File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/states.py",
line 2034, in directive
 directive_class, match, type_name, option_presets)
 File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/states.py",
line 2083, in run_directive
 result = directive_instance.run()
 File
"/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg/docutils/parsers/rst/__init__.py",
line 387, in run
 self.state, self.state_machine)
 File
"/usr/lib/pymodules/python2.7/matplotlib/sphinxext/plot_directive.py", line
210, in plot_directive
 return run(arguments, content, options, state_machine, state, lineno)
 File
"/usr/lib/pymodules/python2.7/matplotlib/sphinxext/plot_directive.py", line
598, in run
 raise RuntimeError("plot:: directive can't have both args and content")
RuntimeError: plot:: directive can't have both args and content
I don't see a reference in the documentation saying it's a feature that was
added in a newer version of mpl.
What am I doing wrong?
[1]:
http://matplotlib.org/devel/documenting_mpl.html#module-matplotlib.sphinxext.plot_directive
From: jw <gw...@ou...> - 2014年07月03日 01:35:54
I installed using version 1.3.1 windows binary
"matplotlib-1.3.1.win32-py2.7.exe" from mathplotlib download. Installation
went fine, but when using the package, it says "dateutil" and "pyparsing"
are missing, which are supposed to be bundled according to the installation
instruction. Is this a bug or expected behavior from now on? I did not have
this issue for earlier versions of matplotlib.
My base python is 2.7.8.
If anyone is having the issue, either download the binaries from pythonlibs
mentioned above, or
install from the sources, which I did as follows:
(1) Install setuptools if you don't have it. 
 Download source from https://pypi.python.org/pypi/setuptools;
 Unpack and run 'ez_setup.py install'; or 'python ez_setup.py install'
 This will install setuptools.
 
(2) Install any other package by downloading the source, unpacking, and 
 running 'setup.py install'
 e.g., "dateutil" has been installed this way.
 https://pypi.python.org/pypi/python-dateutil, same for pyparsing
--
View this message in context: http://matplotlib.1069221.n5.nabble.com/installation-problem-tp43325p43606.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
On 7/2/2014 11:46 AM, Alan Ezust wrote:
> I am still trying to build matplotlib on windows. The instructions on
> 1717 were very helpful, I managed to build the
> prerequisites manually based on the instructions in the dep_build.cmd
> that came from matplotlib-winbuild project.
>
> But when I try to run it I get this error message:
>
>>>> import matplotlib.pyplot as plt
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File
> "C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\pyplot.py",
> line 27, in <module>
> import matplotlib.colorbar
> File
> "C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\colorbar.py",
> line 34, in <module>
> import matplotlib.collections as collections
> File
> "C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\collections.py",
> line 27, in <module>
> import matplotlib.backend_bases as backend_bases
> File
> "C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\backend_bases.py",
> line 56, in <module>
> import matplotlib.textpath as textpath
> File
> "C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\textpath.py",
> line 22, in <module>
> from matplotlib.mathtext import MathTextParser
> File
> "C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\mathtext.py",
> line 63, in <module>
> import matplotlib._png as _png
> ImportError: DLL load failed: The specified module could not be found.
>
> I am guessing it doesn't like the filename of the png16.dll file, but
> how do I know what filename it is looking for?
> I noticed I had to rename a bunch of .lib files in order to build
> matplotlib from source, but that was OK since the error message
> said what file it was looking for. How do I determine the correct
> filename to use from here?
>
It's better to use the static libraries for libpng, zlib, and freetype 
(unless you have reasons not to). Rename the .lib files as in the build 
script:
<https://github.com/jbmohler/matplotlib-winbuild/blob/master/build_dep.cmd#L236>
<https://github.com/jbmohler/matplotlib-winbuild/blob/master/build_dep.cmd#L214>
<https://github.com/jbmohler/matplotlib-winbuild/blob/master/build_dep.cmd#L247>
Christoph
I am still trying to build matplotlib on windows. The instructions on 1717
were very helpful, I managed to build the
prerequisites manually based on the instructions in the dep_build.cmd that
came from matplotlib-winbuild project.
But when I try to run it I get this error message:
>>> import matplotlib.pyplot as plt
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File
"C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\pyplot.py",
line 27, in <module>
 import matplotlib.colorbar
 File
"C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\colorbar.py",
line 34, in <module>
 import matplotlib.collections as collections
 File
"C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\collections.py",
line 27, in <module>
 import matplotlib.backend_bases as backend_bases
 File
"C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\backend_bases.py",
line 56, in <module>
 import matplotlib.textpath as textpath
 File
"C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\textpath.py",
line 22, in <module>
 from matplotlib.mathtext import MathTextParser
 File
"C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\mathtext.py",
line 63, in <module>
 import matplotlib._png as _png
ImportError: DLL load failed: The specified module could not be found.
I am guessing it doesn't like the filename of the png16.dll file, but how
do I know what filename it is looking for?
I noticed I had to rename a bunch of .lib files in order to build
matplotlib from source, but that was OK since the error message
said what file it was looking for. How do I determine the correct filename
to use from here?

Showing results of 60

<< < 1 2 3 (Page 3 of 3)
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /