octave 4.4.0 on jupyter notebook for windows 10 dies - python-3.x

On bringing up octave 4.4.0 for anaconda 3 Jupyter Notebook on windows 10
the 1st octave-gui.exe system error is:
The code execution cannot proceed becuase liboctave-5.dll was not found. Reinstalling the program may fix this problem.
Octave 4.4.0 runs in the gui by itself but not with jupyter Notebook.
Using Python 3.6.5 which runs in Jupyter Notebook.
I was able to run Octave 4.0.1 in Jupyter Notebook.

Related

How can i upgrade to python 3.11 on ubuntu 22.04?

I have recently shifted from windows 10 to linux (ubuntu 22.04). I have recently installed anaconda + fastai using terminal to learn ML. I want to upgrade my python (3.9) to python 3.11.
What are the steps to follow (considering , i am a beginner in linux ) ?
Also It should not cause bad issues to my fastai library.
Thankyou.
I tried this method :
python-3-11-released-how-install-ubuntu /
At last , my terminal shows this , after i selected python3.11 auto mode.
But after this, when i run jupyter notebook and checked the python version , it shows python 3.9
What should i do ? please Help.
If juypter notebook was installed using conda, then you can run:
conda install ipython jupyter
and restart juypter notebook for it to take effect.

Jupyter notebok kernel keeps dying while terminal logs "Could not open static file"

Jupyter notebook takes ~5 seconds to import pandas and kernel is dying every time it's running a get_dummies or a train_test_split on a small dataset.
The issue appeared after I made a copy of a notebook and started working out of the copy, forcing the notebook to Trust the kernel. I've since reinstalled conda and OS, restarted computer, cleared cache and tried every other little hack discussed on developer forums.
This is what the terminal error logs look like:
[E 18:15:37.956 NotebookApp] Could not open static file ''
[W 18:15:38.024 NotebookApp] 404 GET /static/components/react/react-dom.production.min.js (::1) 17.00ms referer=http://localhost:8888/tree?token=6b3d
This is the jupyter packages I have:
jupyter --version
jupyter core : 4.5.0
jupyter-notebook : 6.0.0
qtconsole : 4.5.1
ipython : 7.6.1
ipykernel : 5.1.1
jupyter client : 5.3.1
jupyter lab : 1.0.2
nbconvert : 5.5.0
ipywidgets : 7.5.0
nbformat : 4.4.0
traitlets : 4.3.2
You have reinstalled conda but you haven't updated your jupyter. Try using following command:
conda update jupyter
I also faced similar issue and after updating using above command my notebook was back to normal.

How can we run code under python 3.7 with jupyter notebook?

My default python version in jupyter notebook is 3.6.5
I want to run code under python 3.7.1 in my jupyter notebook.
Can it be possible?

Anaconda prompt: running python in prompt vs jupyter notebook

I am running into some issues with packages I can access in anaconda prompt vs what is available in Jupyter Notebook.
I recently created an environment for python 3.6. I installed a few packages, including pandas, using:
conda install pandas
And all is well:
When I check conda list, I also see pandas installed for py36.
conda list
Now, I run the following line to start my jupyter notebook from this same location:
jupyter notebook
I then run into an error when I try to import pandas. I then try to install pandas with no luck.
My guess is this stems from having downloaded anaconda for python 2.7, but I assume there is a way to get things working in both versions of python for jupyter notebook.
To add, I am able to use pandas when I use python 2.7 (referred to as "root"):
activate root
jupyter notebook
Any help would be greatly appreciated!

Jupyter kernel crash after installing anaconda

My Jupyter kernel always crashes after installing anaconda.
Without anaconda, jupyter notebook works fine.
After installation of conda,
No module named ipykernel_launcher
is the terminal error, and kernel keeps restarting.
I tried looking at some other solutions, but they were not helpful.

Resources