Jupyter notebook and other application launch issue - python

I have installed anaconda from its official website but I am not able to access launch jupyter notebook or any other application using the anaconda navigator. First, the navigator shows me to install, when I click on the install option it gives me an environment location not found error(check attached image).
after clicking ok on the error, it shows the option to launch but doesn't work, loads for some time and then nothing happens. I can access the jupyter notebook using the command prompt but I wanna know that why its not working through the navigator. Also, I am not able to change the theme of the notebook even after installing jupyterthemes using pip. I wanna that work too.
1the opening page of the navigator
2the error after clicking on launch.

Related

"Failed to find a kernelspec to use for ipykernel launch" error happens when I run on virtual studio

Hi I am using virtual studio and running the command on Jupiter notebook.
But this error happens.
"Failed to find a kernelspec to use for ipykernel launch"
Why can't I execute the command this time?
I had a similar situation. I was trying to switch from Anaconda to VS Code to run jupyter notebooks. Installed the extension for jupyter notebook and every time I tried creating an empty notebook and basic commands failed to run. On the top right corner, I noticed that the kernel just showed Busy. If you click on that it would ask for a kernel.
I was able to get it working after I installed the python extension on vscode.. not sure if this is the best approach though!!
You need to install the Python libraries Jupyter and ipykernel. On my VS Code editor, a prompt came up saying that ipykernel is missing, and clicking the "install" button would solve it.

Unable to launch Jupyter notebook from Anaconda Navigator but notebook is opening from command prompt in Win 10 Pro

I have the lat4est version of Anaconda, Python v3.8 installed on my system running on Windows 10 Pro. I have not installed Anaconda in the default drive but set the path for Python, conda to the installed drive. But in spite of doing everything right as it seems, the Jupyter notebook is not opening when launched from the Anaconda Navigator but opens fine when I type the command from the Windows command prompt. None of the applications displayed in the Anaconda Navigator open and remain stuck as seen in the screenshot attached. But these applications do open when executed independently from the Windows Start menu.
Hope you understand the issue and respond to what may be the issue that makes the Navigator work improperly. I have already reinstalled many times but the issue persists.
Not sure about the applications not launching, but you can try going to Environments in the navigator, then click launch (looks like a play button) and "Open with Jupyter Notebook". This one works for me.
P.s. choose the environment you are looking for. If you did not create any additional envs, choose 'base'.

Jupyter Notebook opens a blank page for all environments except base(root)

I am trying to follow the TensorFlow API documentation. I have done all the steps and activated my tensorflow_gpu environment. In the C:\TensorFlow\models\research\object_detection I typed "jupyter notebook" and it opens me a blank page http://localhost:8889/tree.
I tried to open the Jupyter Notebook in my base(root) and it opens the dashboard but for the other environments it only gives me a blank page.
How can I avoid that? Thank you.
I tried to delete and re-install jupyter notebook for that specific environments. I tried to upgrade and downgrade the version of it. Nothing worked yet.
You can still run the Jupyter Notebook in your base environment and make the notebook run with a different kernel (like if you are running the notebook in a different environment). In order to do so you need to install these packages in all of your environment:
conda install nb_conda nb_conda_kernels ipykernel
By doing so you will be able to see the kernels of all of your environments directly in base.
You will be able to start jupyter notebook in base, and once the notebook is running in your browser you can decide which kernel to use.
In the above picture I started Jupyter Notebook in my base environment, and having installed those packages in all the environments let me run any notebook with any kernel.
NB: My other environments are tf_lite1.13, tf_lite2, tf_night. Root will run the base kernel.

Windows 10 not opening jupyter notebook in Command Prompt

I tried to open the jupyter notebook using Command Prompt on Windows 10. Instead of it opening in the browser as it should, nothing happens.
I have downloaded jupyter using
pip install jupyter
pip install jupyter notebook
All this worked fine but when I type this in Command Prompt only a new line forms and nothing happens.
C:\Users\meena\OneDrive\Desktop\New folder>jupyter notebook
C:\Users\meena\OneDrive\Desktop\New folder>
I have tried to install jupyter many times but it doesn't work.
I only have python and not anaconda. So if someone else has the same problem and has tried anaconda please tell me so I can download it.
Have you tried typing jupyter-notebook and see if it works? I upgraded Anaconda recently, and typing jupyter notebook stopped working for some of my files, but I solved the problem by typing jupyter-notebook.

Jupyter Notebook Opening but no contents are visible

Screenshot of Jupyter Notebook Session:
I am trying to launch a Jupyter notebook using anaconda prompt. The browser session opens but no contents are visible on the page.
Does anyone have any idea how to mitigate this?
Screenshot of Anaconda Prompt:
Please refer to https://github.com/jupyter/notebook/issues/4467
I encounter similar trouble. So I just do 3 steps:
(1) uninstall Jupyter Notebook 5.7.6
conda uninstall notebook
(2) install old version
conda install notebook=5.7.4
(3) After lauching Jupyter Notebook 5.7.4
Press CTRL+R or CTRL+Shift+R to clear the cache
Then Jupyter Notebook works normally now.
Hope it's helpful to you.

Categories

Resources