[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[python #ELA-547928]: error with metpy example



HP,

I had a feeling it was something like that. I'm glad it's working for you.

Ryan

> Ryan -
> 
> Thanks for the hint. Rapid answer from the community that let me
> discover that my backend_agg.py was missing a piece of code. No idea how
> this happened.
> 
> HP
> 
> 
> On 31/01/2018 20:35, Unidata Python Support wrote:
> > HP,
> >
> > Ok, so it seems this is a problem purely with your matplotlib install, so I 
> > think it'd be better for you to either open an issue at:
> >
> > https://github.com/matplotlib/matplotlib/issues/new
> >
> > or send a message to the matplotlib-users mailing list (you'll need to 
> > subscribe):
> >
> > https://mail.python.org/mailman/listinfo/matplotlib-users
> >
> > That way we can involve more people with knowledge of matplotlib, since I'm 
> > about out of ideas.
> >
> > Ryan
> >
> >> Ryan -
> >>
> >> Importing bv itself comes up with the same error (attached).
> >>
> >> HP
> >>
> >>
> >> On 29/01/2018 22:18, Unidata Python Support wrote:
> >>> HP,
> >>>
> >>> Let's see if MetPy is involved at all here. Can you try doing:
> >>>
> >>> import matplotlib.pyplot as plt
> >>>
> >>> by itself?
> >>>
> >>> Ryan
> >>>
> >>>
> >>>> Ryan -
> >>>>
> >>>> I have tried this already, but nothing changes. And as I already said on
> >>>> my other W10-64 notebook this error does not occur.
> >>>>
> >>>> HP
> >>>>
> >>>>
> >>>> On 26/01/2018 00:36, Unidata Python Support wrote:
> >>>>> HP,
> >>>>>
> >>>>> What if you try:
> >>>>>
> >>>>> conda install -c conda-forge matplotlib
> >>>>>
> >>>>> ?
> >>>>>
> >>>>> Ryan
> >>>>>
> >>>>>> Ryan, I forgot to mention on the same notebook Ihave laso McIDAS-V
> >>>>>> installed. It does not look like this has caused the problem, though?
> >>>>>> HP
> >>>>>>
> >>>>>> Ryan -
> >>>>>>
> >>>>>> The complete  installation is done with conda - no pip. Just to see
> >>>>>> whehter something changes, I have re-installed the whole lot, this time
> >>>>>> with admin rights for multiple users (though me being the only one).
> >>>>>> Nothing changes - matlib still is the issue.
> >>>>>>
> >>>>>> HP
> >>>>>>
> >>>>>>
> >>>>>> On 17/01/2018 19:15, Unidata Python Support wrote:
> >>>>>>> HP,
> >>>>>>>
> >>>>>>> I would have expected to see matplotlib in 
> >>>>>>> "Anaconda3\lib\site-packages" rather than 
> >>>>>>> "AppData\Roaming\Python\Python36\site-packages\".
> >>>>>>>
> >>>>>>> I don't think that's the problem, though. My guess is your 
> >>>>>>> installation of matplotlib is somehow corrupted, so hopefully 
> >>>>>>> reinstalling will help. Did you install matplotlib (and metpy) using 
> >>>>>>> conda or pip?
> >>>>>>>
> >>>>>>> If you used conda, try:
> >>>>>>>
> >>>>>>> conda install --force matplotlib
> >>>>>>>
> >>>>>>> If you used pip:
> >>>>>>>
> >>>>>>> conda uninstall matplotlib
> >>>>>>> conda install matplotlib
> >>>>>>>
> >>>>>>> Ryan
> >>>>>>>
> >>>>>>>> Ryan -
> >>>>>>>>
> >>>>>>>> Correct, I have an install of Anaconda 3 for the user hproe_000, and 
> >>>>>>>> I
> >>>>>>>> followed the metpy installation recipe. I have now compared the 
> >>>>>>>> location
> >>>>>>>> of the matplotlib files with the one on my less performant notebook
> >>>>>>>> where the error does not occur. I cannot see any difference. What
> >>>>>>>> location would you expect?
> >>>>>>>>
> >>>>>>>> HP
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> On 16/01/2018 22:17, Unidata Python Support wrote:
> >>>>>>>>> HP,
> >>>>>>>>>
> >>>>>>>>> That seems really odd. It looks like the problem is actually coming 
> >>>>>>>>> from matplotlib. How are you installing it? From the log, it looks 
> >>>>>>>>> like you have an install of Anaconda 3, but then the location of 
> >>>>>>>>> the matplotlib files looks...odd.
> >>>>>>>>>
> >>>>>>>>> Ryan
> >>>>>>>>>
> >>>>>>>>>> Hi -
> >>>>>>>>>>
> >>>>>>>>>> I have installed metpy 0.7 under Windows10 64-bit. In some of the 
> >>>>>>>>>> metpy
> >>>>>>>>>> examples I get the error message as per attached text file. I have 
> >>>>>>>>>> a
> >>>>>>>>>> second Wndows10 64-bit installation on a second, much less 
> >>>>>>>>>> performant
> >>>>>>>>>> notebook where the example runs fine. Any clue?
> >>>>>>>>>>
> >>>>>>>>>> many thanks, HP aka HansPeter Roesli
> >>>>>>>>> Ticket Details
> >>>>>>>>> ===================
> >>>>>>>>> Ticket ID: ELA-547928
> >>>>>>>>> Department: Support Python
> >>>>>>>>> Priority: Low
> >>>>>>>>> Status: Closed
> >>>>>>>>> ===================
> >>>>>>>>> NOTE: All email exchanges with Unidata User Support are recorded in 
> >>>>>>>>> the Unidata inquiry tracking system and then made publicly 
> >>>>>>>>> available through the web.  If you do not want to have your 
> >>>>>>>>> interactions made available in this way, you must let us know in 
> >>>>>>>>> each email you send to us.
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>> Ticket Details
> >>>>>>> ===================
> >>>>>>> Ticket ID: ELA-547928
> >>>>>>> Department: Support Python
> >>>>>>> Priority: Low
> >>>>>>> Status: Closed
> >>>>>>> ===================
> >>>>>>> NOTE: All email exchanges with Unidata User Support are recorded in 
> >>>>>>> the Unidata inquiry tracking system and then made publicly available 
> >>>>>>> through the web.  If you do not want to have your interactions made 
> >>>>>>> available in this way, you must let us know in each email you send to 
> >>>>>>> us.
> >>>>>>>
> >>>>>>>
> >>>>> Ticket Details
> >>>>> ===================
> >>>>> Ticket ID: ELA-547928
> >>>>> Department: Support Python
> >>>>> Priority: Low
> >>>>> Status: Closed
> >>>>> ===================
> >>>>> NOTE: All email exchanges with Unidata User Support are recorded in the 
> >>>>> Unidata inquiry tracking system and then made publicly available 
> >>>>> through the web.  If you do not want to have your interactions made 
> >>>>> available in this way, you must let us know in each email you send to 
> >>>>> us.
> >>>>>
> >>>>>
> >>> Ticket Details
> >>> ===================
> >>> Ticket ID: ELA-547928
> >>> Department: Support Python
> >>> Priority: Low
> >>> Status: Closed
> >>> ===================
> >>> NOTE: All email exchanges with Unidata User Support are recorded in the 
> >>> Unidata inquiry tracking system and then made publicly available through 
> >>> the web.  If you do not want to have your interactions made available in 
> >>> this way, you must let us know in each email you send to us.
> >>>
> >>>
> >>
> >>
> > Ticket Details
> > ===================
> > Ticket ID: ELA-547928
> > Department: Support Python
> > Priority: Low
> > Status: Closed
> > ===================
> > NOTE: All email exchanges with Unidata User Support are recorded in the 
> > Unidata inquiry tracking system and then made publicly available through 
> > the web.  If you do not want to have your interactions made available in 
> > this way, you must let us know in each email you send to us.
> >
> >
> 
> 


Ticket Details
===================
Ticket ID: ELA-547928
Department: Support Python
Priority: Low
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.