The renaming of the pylab.py file fixed it! Thanks for the help!

Cheers,

Yun.

On Fri, Mar 23, 2012 at 6:22 AM, Daniel Wheeler
<[email protected]>wrote:

>
>
> On Thu, Mar 22, 2012 at 6:54 PM, Yun Tao <[email protected]> wrote:
>
>>
>>     188         _Viewer.__init__(self, vars=vars, title=title, **kwlimits)
>>>     189
>>> --> 190         import pylab
>>>     191
>>>     192         pylab.ion()
>>> /Users/yuntao/Desktop/modules/pylab.py in <module>()
>>>
>> pect, cmap, colorbar, axes, log, **kwlimits)
>>
>
> You have a file named pylab.py in /Users/yuntao/Desktop/modules, which is
> obviously being imported instead of the regular matplotlib version of
> pylab.py. Do you have your PYTHONPATH set? Maybe if the PYTHONPATH doesn't
> have "." in it then it might work, but maybe just rename the pylab.py file
> to something else assuming it is a file that you created that happens to
> have a name clash.
>
> Cheers
>
> --
> Daniel Wheeler
>
> _______________________________________________
> fipy mailing list
> [email protected]
> http://www.ctcms.nist.gov/fipy
>  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
>
>


-- 
Graduate Group of Ecology Doctoral Candidate
Department of Environmental Science and Policy
Center for Population Biology
University of California, Davis
_______________________________________________
fipy mailing list
[email protected]
http://www.ctcms.nist.gov/fipy
  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]

Reply via email to