SourceForge logo
SourceForge logo
Menu

matplotlib-users

From: jamgood96 <jam...@gm...> - 2010年02月26日 21:30:17
Each time I try to run a script, it just keeps printing, "The time is: The
time is: Fri Feb 26 13:27:08 2010". over and over. I believe I installed all
the packages correctly, but honesty was a bit overwhelmed. I've tried
attaching a screen shot of what is happening.
Thanks in advance!
http://old.nabble.com/file/p27723602/Screen%2Bshot%2B2010-02-26%2Bat%2B1.27.18%2BPM.jpeg 
-- 
View this message in context: http://old.nabble.com/The-time-is%3A-....-tp27723602p27723602.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
From: Friedrich R. <fri...@gm...> - 2010年02月28日 14:17:40
2010年2月26日 jamgood96 <jam...@gm...>:
>
> Each time I try to run a script, it just keeps printing, "The time is: The
> time is: Fri Feb 26 13:27:08 2010". over and over. I believe I installed all
> the packages correctly, but honesty was a bit overwhelmed. I've tried
> attaching a screen shot of what is happening.
I wonder why in your py2.6 lib/.../calendar.py on line 6 there is a statement:
if prev_time != the_time:
In my calendar.py the file starts:
"""Calendar printing functions
Note when comparing these calendars to the ones printed by cal(1): By
default, these calendars have Monday as the first day of the week, and
Sunday as the last (the European convention). Use setfirstweekday() to
set the first day of the week (0=Monday, 6=Sunday)."""
import sys
import datetime
import locale as _locale
__all__ = ["IllegalMonthError", "IllegalWeekdayError", "setfirstweekday",
 "firstweekday", "isleap", "leapdays", "weekday", "monthrange",
 "monthcalendar", "prmonth", "month", "prcal", "calendar",
 "timegm", "month_name", "month_abbr", "day_name", "day_abbr"]
?
The thing happens when you import matplotlib.pyplot, which imports
matplotlib's cores, which imports calendar from lib/.../site-packages.
 I can only guess that this calendar.py has been placed there for some
reason, overwriting Python's original calendar.py?
Friedrich
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 によって変換されたページ (->オリジナル) /