python with gnuplot

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bartonc
    Recognized Expert Expert
    • Sep 2006
    • 6478

    #16
    This seems to work well and doesn't require original source code mods:

    In your site-packages directory, create a file called "Numeric.py " (remember that python IS case sensitive). Two lines in that file should be all it takes to allow importers of the Numeric package to function properly:
    Code:
    from numpy import oldnumeric
    globals().update(oldnumeric.__dict__)
    To test this I used
    Code:
    import Numeric
    help(Numeric)

    Comment

    • Glenton
      Recognized Expert Contributor
      • Nov 2008
      • 391

      #17
      Hi

      The chances are that this is not to do with your numpy installation, but your environmental variables.

      I'm afraid that I don't use windows anymore, but I remember there's a readme file in gnuplot.py that gives step-by-step for the set up, which involves fiddling with environmental variables and perhaps something else.

      Apologies for the vagueness of the response. It's been a couple of years!

      Comment

      Working...