Jupyter notebook fails to start - jupyter-notebook

While trying to open jupyter notebook through terminal on macos, it shows:
"from markupsafe import soft_unicode
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/Applications/anaconda3/lib/python3.9/site-packages/markupsafe/init.py)"
So I tried to open through anaconda navigator but it fails to open stating:
/Users/hiraltalati/opt/anaconda3/bin/jupyter_mac.command ; exit;
(base) hiraltalati#Hirals-MacBook-Air ~ % /Users/hiraltalati/opt/anaconda3/bin/jupyter_mac.command ; exit;
INTEL MKL ERROR: dlopen(/Users/hiraltalati/opt/anaconda3/lib/libmkl_core.1.dylib, 9): image not found.
Intel MKL FATAL ERROR: Cannot load libmkl_core.1.dylib.
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]

Related

Jupyter Notebook loading error. After installing Anaconda 3

ImportError: DLL load failed while importing _sqlite3: The specified procedure could not be found. jupyter notebook.
I have solved the problem by Coping the sqlite3.dll file from C:\Users\anaconda3\Library\bin and pasting in the C:\Users\anaconda3\DLLs

How to install Jupyter Lab/Notebook on Windows 10?

I have been using R/Python and Jupyter Lab/Notebook on Macbook. In my new job, I need to install and run these applications on Windows 10.
I have Python, pip, Jupyter, R4.1 & RStudio installed manually (not through Anaconda). I try to execute step 2/3: Making the kernel available to Jupyter based on installation guide. I got error message in R Console.
> IRkernel::installspec()
Error in IRkernel::installspec() :
jupyter-client has to be installed but “jupyter kernelspec --version” exited with code 127.
In addition: Warning message:
In system2("jupyter", c("kernelspec", "--version"), FALSE, FALSE) :
'"jupyter"' not found
Appreciate your advice.
Please check if jupyter is in your user/system path. A quick way to check is by running jupyter in the command line, you could use powershell commandline:
Get-Command jupyter
CommandType Name Version Source
----------- ---- ------- ------
Application jupyter.exe 0.0.0.0 C:\Users\youruser\AppData\Local\Programs\...
If it's not there, then you can add to your system/user path and check with new instance of commandline again.

Error when trying to run jupyter notebook: Import error: no module named jupyter_core.command

I am running Ubuntu Linux on my laptop, Anaconda 3 with python version 3.6. Jupyter notebook worked fine for me the last time I used it on this computer, but that was 3 months ago. So today I turn it on and try to run jupyter notebook, and I get this error:
john#john-Satellite-L55Dt-B:~$ jupyter notebook
Traceback (most recent call last):
File "/home/john/anaconda3/bin/jupyter", line 7, in <module>
from jupyter_core.command import main
ImportError: No module named jupyter_core.command
I'll admit I'm completely lost and a little rusty with my LINUX, so what do I need to do to make it work?
Try to export the below path and take jupyter noteboo again.Hope this helps.
export PATH= /home/john/anaconda3/bin:$PATH
You can create a conda environment using the below command:
conda create -n env_sample -c intel python=3.6
To activate the environment use the below command:
source activate env_sample
env_sample is the environment name

Error while running R from commandlne ubuntu : error while loading shared libraries: libpcre.so.1: cannot open shared object file

Hi I am running R on Ubuntu : Getting this error:
/home/user/anaconda3/lib/R/bin/exec/R: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
I have installed anaconda recently, I have tried
$echo $LD_LIBRARY_PATH
It shows nothing. I also tried
$sudo find / lib | grep libpcre.so.1
I want to run R on Ubuntu. It was running fine before; any hints?

Fatal error in launcher: Unable to create process using '"'

I'm working on win7 using git-bash. I'm using anaconda with python 2.7.13. I want to run a jupyter server:
(myenv)
$ jupyter notebook
Fatal error in launcher: Unable to create process using '"'
(myenv)
$ ipython notebook
Fatal error in launcher: Unable to create process using '"'
How can I make this work?
I too faced same issue when invoking jupyter, but only difference is invoked jupyter from windows cmd prompt.
I uninstalled jupyter, updated pip and installed jupyter. Once installed and invoked, It worked perfectly.
Check If something like this can be done from your end as I see you are invoking from virtual env.
* I have Python 3.5 64bit running in my system*

Resources