Reputation: 23
I have issues with the oct2py package ( I think...)
trying to import octave from oct2py.
from oct2py import Oct2Py
does work.
I get the error:
ImportError: cannot import name 'octave' from 'oct2py'
trying to do:
from piwavelet.piwavelet import wcoherence, wcross, plotWavelet
I've installed octave through the link: [https://octave.org/download#ms-windows][1]
I've tried from one of the comments from oct2py isn't seeing OCTAVE_EXECUTABLE environment variable (Windows):
and
import os
pathToExecutable = (
'D:\\wherever\\you\\put\\this\\octave-cli.exe'
)
os.environ['OCTAVE_EXECUTABLE'] = pathToExecutable
from oct2py import octave
I've tried changing the import and path in the _init_
and core
files in the oct2py
module folder.
But so far none of the options I can find work...
any idea on how to solve this? Many thanks
Upvotes: 1
Views: 142