Re: [Camfr-users] I have problem when running example "tutorial1.py"
Brought to you by:
pbienst
From: 俊毅李 <ggg...@gm...> - 2013-07-22 14:20:47
|
Hi Peter: Does Antonio find any probable reason? Do other people meet the same problem or do they install with this exe file successfully? Thank you for your reply. ChunYi 2013/7/10 下午11:15 於 "Peter Bienstman" <Pet...@ug...> 寫道: > I'm putting Antonio in CC, who created this installer. Hopefully he's > able to sort out the installation issues. > > Cheers, > > Peter > > On 07/10/2013 05:04 PM, 俊毅李 wrote: > > Dear Peter: > > > > Yes, I download camfr-win32_py27.exe**from SourceForge > > "http://sourceforge.net/projects/camfr/files/*< > http://sourceforge.net/projects/camfr/files/latest/download?source=files > >*". > > numpy-1.7.1, scipy-0.12.0 and matplotlib-1.2.1 are also downloaded from > > SourceForge. > > Thank you for your reply. > > > > Best Regards, > > ChunYi > > > > > > 2013/7/10 Peter Bienstman <Pet...@ug... > > <mailto:Pet...@ug...>> > > > > Are you sure you are using the latest installer we posted last year? > > > > Peter > > > > Chu...@au... <mailto:Chu...@au...> wrote: > > > > Hi: > > > > I am new to Python and CAMFR. I have problem when running the > > example tutorial1.py. > > > > This is my settings: > > > > Windows XP > > > > Python 2.7 with numpy-1.7.1, scipy-0.12.0 and matplotlib-1.2.1. > > > > Python is installed in “C:\Python27” and tutorial1.py is copied > > to this directory, too. > > > > When I run tutorial1.py, I get this error message: > > > > ######## error message start ######## > > > > Traceback <most recent call last>: > > > > File “C:\Python27\tutorial1.py”, line 10, in <module> > > > > From camfr import * > > > > File “C:\Python27\lib\site-packages\camfr\__init__.py”, > > line 12, in <module> > > > > From camfr_PIL import * > > > > File > > “C:\Python27\lib\site-packages\camfr\camfr_PIL.py”, line 1268, > > in <module> > > > > Slab.plot = lambda self : > > slab_plot.SlabPlot(self) > > > > NameError: name ‘Slab’ is not defined > > > > ######## error message end ######## > > > > The message says “Slab is not defined”, but I don’t know how to > > define it. I think I shouldn’t modify the file “camfr_PIL.py”. > > > > Any suggestion is welcome. > > > > Thanks you very much! > > > > Best regards, > > > > ChunYi > > > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > Camfr-users mailing list > Cam...@li... > https://lists.sourceforge.net/lists/listinfo/camfr-users > |