help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I am trying to get pyeval to work.


From: Mike Miller
Subject: Re: I am trying to get pyeval to work.
Date: Tue, 28 May 2019 11:42:57 -0700
User-agent: Mutt/1.10.1 (2018-07-13)

On Tue, May 28, 2019 at 13:59:48 -0400, Doug Stewart wrote:
> when I try your code in octave 5.1.1
> I get
> error: 'py' undefined near line 1 column 8
> error: called from
>     email2 at line 1 column 6

Ok, I thought you already had the package installed and loaded.

Add `pkg load pythonic` to the top of the script file.

If you don't have it installed, install it with `pkg`. See
https://gitlab.com/mtmiller/octave-pythonic/blob/master/README.md

If you have `pyeval` but not `py`, then you may have some old code
floating in your environment that you should clean out.

-- 
mike

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]