From: Sandy Y. <cd...@li...> - 2010-05-18 16:45:38
|
it is what I got error: Setup script exited with 1 pls see below C:\start_Feb_8\programs\liveplots-0.3>python setup.py install running install running bdist_egg running egg_info writing requirements to liveplots.egg-info\requires.txt writing liveplots.egg-info\PKG-INFO writing top-level names to liveplots.egg-info\top_level.txt writing dependency_links to liveplots.egg-info\dependency_links.txt reading manifest file 'liveplots.egg-info\SOURCES.txt' writing manifest file 'liveplots.egg-info\SOURCES.txt' installing library code to build\bdist.win32\egg running install_lib running build_py creating build creating build\lib creating build\lib\liveplots copying liveplots\filemonitor.py -> build\lib\liveplots copying liveplots\xmlrpcserver.py -> build\lib\liveplots copying liveplots\__init__.py -> build\lib\liveplots creating build\bdist.win32 creating build\bdist.win32\egg creating build\bdist.win32\egg\liveplots copying build\lib\liveplots\filemonitor.py -> build\bdist.win32\egg\liveplots copying build\lib\liveplots\xmlrpcserver.py -> build\bdist.win32\egg\liveplots copying build\lib\liveplots\__init__.py -> build\bdist.win32\egg\liveplots byte-compiling build\bdist.win32\egg\liveplots\filemonitor.py to filemonitor.pyc byte-compiling build\bdist.win32\egg\liveplots\xmlrpcserver.py to xmlrpcserver.p yc byte-compiling build\bdist.win32\egg\liveplots\__init__.py to __init__.pyc creating build\bdist.win32\egg\EGG-INFO copying liveplots.egg-info\PKG-INFO -> build\bdist.win32\egg\EGG-INFO copying liveplots.egg-info\SOURCES.txt -> build\bdist.win32\egg\EGG-INFO copying liveplots.egg-info\dependency_links.txt -> build\bdist.win32\egg\EGG-INF O copying liveplots.egg-info\requires.txt -> build\bdist.win32\egg\EGG-INFO copying liveplots.egg-info\top_level.txt -> build\bdist.win32\egg\EGG-INFO copying liveplots.egg-info\zip-safe -> build\bdist.win32\egg\EGG-INFO creating dist creating 'dist\liveplots-0.3-py2.6.egg' and adding 'build\bdist.win32\egg' to it removing 'build\bdist.win32\egg' (and everything under it) Processing liveplots-0.3-py2.6.egg Copying liveplots-0.3-py2.6.egg to c:\python26\lib\site-packages Adding liveplots 0.3 to easy-install.pth file Installed c:\python26\lib\site-packages\liveplots-0.3-py2.6.egg Processing dependencies for liveplots==0.3 Searching for pyinotify>=0.8.9 Reading http://pypi.python.org/simple/pyinotify/ Reading http://trac.dbzteam.org/pyinotify Reading http://git.dbzteam.org/?p=pyinotify.git;a=snapshot;h=HEAD;sf=tgz Best match: pyinotify 0.8.9 Downloading http://seb.dbzteam.org/pub/pyinotify/releases/pyinotify-0.8.9.tar.gz Processing pyinotify-0.8.9.tar.gz Running pyinotify\setup.py -q bdist_egg --dist-dir c:\users\sandy~1.ste\appdata\ local\temp\easy_install-c0zkyw\pyinotify\egg-dist-tmp-ks2kj8 inotify is not available under win32 error: Setup script exited with 1 C:\start_Feb_8\programs\liveplots-0.3> From: fcc...@gm... Date: Tue, 18 May 2010 17:15:22 +0100 Subject: Re: [Gnuplot-py-users] is it possible to continue to Debug when figure is created?? To: cd...@li... CC: gnu...@li... I use Linux, but I'll give it a try: on a command prompt go to the liveplots source diretory, the one with setup.py in it and type c:\python2.6.exe setup.py install on the line above use the actual path of your python executable. That line should install liveplots, assuming you have all the pre-requisites: (numpy, gnuplot, etc...) and an internet connection so that it can download extra dependencies. However, it strikes me that since you don't know much about Python, Liveplots will not be of immediate use to you since it is supposed to be called from within Python programs. good luck, Flávio On Tue, May 18, 2010 at 5:03 PM, Sandy Ydnas <cd...@li...> wrote: good thank yuo very much but now I have all files in C:\start_Feb_8\programs\liveplots-0.3 and I use Vista what I should do? From: fcc...@gm... Date: Tue, 18 May 2010 16:43:41 +0100 Subject: Re: [Gnuplot-py-users] is it possible to continue to Debug when figure is created?? To: cd...@li... You are supposed to use mercurial to checkout the source code tree... to make things easier, I have just added an archive with the source in the featured downloads. http://code.google.com/p/liveplots/downloads/detail?name=liveplots-0.3.tar.gz cheers, Flávio On Tue, May 18, 2010 at 4:27 PM, Sandy Ydnas <cd...@li...> wrote: ok but first I should download liveplots all files one by one or package? but way in http://code.google.com/p/liveplots/downloads/list there are no files to download Sandy From: fcc...@gm... Date: Tue, 18 May 2010 14:58:12 +0100 Subject: Re: [Gnuplot-py-users] is it possible to continue to Debug when figure is created?? To: cd...@li... CC: gnu...@li... Hi Sandy, You error is due to the fact that you have not imported Gnuplot as you should. So that snippet would become: import Gnuplot Gnuplot.GnuplotOpts.prefer_inline_data = 1 Gnuplot.GnuplotOpts.prefer_fifo_data = 0 Liveplots is free-software and you are welcome to use it if you find it suits your needs. To install it, if you have setuptools installed, you write: easy_install liveplots otherwise, just checkout the code, as explained here https://code.google.com/p/liveplots/source/checkout, and run: python setup.py install these commands may be sligthly different depending on which operating system you use. Flávio On Tue, May 18, 2010 at 2:47 PM, Sandy Ydnas <cd...@li...> wrote: Hi Flávio thank you very much for help if we use from numpy import * g = Gnuplot.Gnuplot(persist=0) then NameError: name 'Gnuplot' is not defined File "C:\start_Feb_8\my_PY_code\May_18__gnuplot_answer_test_1.py", line 3, in <module> g = Gnuplot.Gnuplot(persist=0) as I mentioned I am very new in Python may I use you project [1]http://code.google.com/p/liveplots/ but how to install it?? Thank you very much in advance Sandy From: fcc...@gm... Date: Tue, 18 May 2010 10:25:18 +0100 To: gnu...@li... Subject: Re: [Gnuplot-py-users] is it possible to continue to Debug when figure is created?? Sandy, Like Michael said, You can turn off fifo data transfer and use inline with these lines: Gnuplot.GnuplotOpts.prefer_inline_data = 1 Gnuplot.GnuplotOpts.prefer_fifo_data = 0 I do this in Liveplots[1] and found that inlining data improved the performance enormously. Besides, since I use Python's multiprocessing module to plot data from children processes, FIFO did not work for me. Flávio [1]http://code.google.com/p/liveplots/ On Tue, May 18, 2010 at 8:17 AM, Benny Malengier <ben...@gm...> wrote: 2010/5/18 Michael Haggerty <mh...@al...> Sandy Ydnas wrote: > I am staring now to use Gnuplot under Python, since Matplotlib has > problem - it gets stuck during debugging after show(). > > pls help understand is Gnuplot debugging friendly, it means is it > possible to continue to Debug when figure is created?? I personally don't use pdb, but I don't know of any reason why it should be difficult to debug code that uses Gnuplot.py. The only thing that occurs to me is that the use of FIFOs to communicate data to gnuplot currently requires the use of additional threads that write the data to the FIFO, and debugging multithreaded code might be tricky. But the use of FIFOs is optional; you could configure Gnuplot.py to use temporary files or inline data instead. Please tell us what you find out! Use g = Gnuplot.Gnuplot(persist=0) The persist=0 should allow you to easily jump over the code that does the figure. Benny Michael ------------------------------------------------------------------------------ _______________________________________________ Gnuplot-py-users mailing list Gnu...@li... https://lists.sourceforge.net/lists/listinfo/gnuplot-py-users ------------------------------------------------------------------------------ _______________________________________________ Gnuplot-py-users mailing list Gnu...@li... https://lists.sourceforge.net/lists/listinfo/gnuplot-py-users -- Flávio Codeço Coelho Hotmail: Powerful Free email with security by Microsoft. Get it now. -- Flávio Codeço Coelho Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. Sign up now. -- Flávio Codeço Coelho Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. Sign up now. -- Flávio Codeço Coelho _________________________________________________________________ Hotmail: Trusted email with Microsoft’s powerful SPAM protection. https://signup.live.com/signup.aspx?id=60969 |