octave_kernel
octave_kernel copied to clipboard
TypeError: can only concatenate list (not "int") to list
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
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]
Looks like Jupyter notebook kernel is unable to use octave. Could you please through some tips to resolve this issue ?
@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 : Yes I am using octave kernel.
Hi @centaurarrow, can you post a full screenshot showing the kernel name and the above error? Here's what I'm seeing: