problems when trying to run Gnuplot.py (Gnuplot-1.5) under Python 2.2.1

Steve Holden sholden at holdenweb.com
Sat May 4 16:52:19 EDT 2002


"Markus Faust" <marfadeu at gmx.de> wrote ...
> Hi,
>
> I'm encountering problems when trying to run Gnuplot.py (Gnuplot-1.5)
under
> Python 2.2.1 on a Windows NT 4.0 system. What could be wrong?
>
> Error message:
> >python demo.py
> demo.py:40: SyntaxWarning: import * only allowed at module level
>   def demo():
> Traceback (most recent call last):
>   File "demo.py", line 36, in ?
>     import funcutils
>   File "funcutils.py", line 29, in ?
>     import Gnuplot, utils
> ImportError: No module named Gnuplot
>
> system:
> Python 2.2.1 (#34, Apr  9 2002, 19:34:33) [MSC 32 bit (Intel)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
>
> G N U P L O T
>         MS-Windows 32 bit version 3.7
>         patchlevel 1
>         last modified Fri Oct 22 18:00:00 BST 1999
>

The most likely problem is that Gnuplot.py isn't in one of the directories
on sys.path.

regards
 Steve
--

Steve Holden: http://www.holdenweb.com/ ; Python Web Programming:
http://pydish.holdenweb.com/pwp/








More information about the Python-list mailing list