octave_kernel icon indicating copy to clipboard operation
octave_kernel copied to clipboard

TypeError: can only concatenate list (not "int") to list

Open centaurarrow opened this issue 5 years ago • 3 comments

I am getting the below error while executing the below commands: a=[1,2,3] b=a+3;

TypeError: can only concatenate list (not "int") to list

image

Commands executed: Conda Base Environment (base) [root@ip-****** ec2-user]# octave-cli bash: octave-cli: command not found

Conda Octave Environment [where octave and octave_kernel is installed] image

Looks like Jupyter notebook kernel is unable to use octave. Could you please through some tips to resolve this issue ?

centaurarrow avatar May 20 '19 19:05 centaurarrow

@centaurarrow The error you are seeing is a Python error, so that means that you are executing the commands with a Python kernel. Can you verify that you are using an octave kernel?

dsblank avatar May 20 '19 23:05 dsblank

@dsblank : Yes I am using octave kernel.

centaurarrow avatar May 29 '19 14:05 centaurarrow

Hi @centaurarrow, can you post a full screenshot showing the kernel name and the above error? Here's what I'm seeing:

image

blink1073 avatar May 30 '19 20:05 blink1073