• Register
0 votes
1.4k views

Problem :

When I am trying to execute jupyter notebook in the virtual environment in my Arch Linux, the below error occurred.

“Error executing Jupyter command 'notebook': [Errno 2] No such file or directory”

The python version is 3.6, and the jupyter version is 4.3.0

I have researched a lot, but I am just unable to find anything relevant to above issue.

7.5k points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

It seems to me as if your installation has messed up completely. Try running below commands :

# For the Python 2
pip install --upgrade --force-reinstall --no-cache-dir jupyter
# For the Python 3
pip3 install --upgrade --force-reinstall --no-cache-dir jupyter

Above commands should reinstall everything from the PyPi. This should also solve your problem as I guess by running pip install "ipython[notebook]" messed things up for you.

 OR

As both your pip and pip 3.6 were installed and the pip command was failing:

pip install --upgrade --force-reinstall jupyter

So I tried to use the pip3.6 command as below:

pip3.6 install --upgrade --force-reinstall jupyter

And the above pip3.6 command just worked for me. Running the jupyter notebook also worked after the installation.

Hope my solution helps you in resolving all your issues.

38.6k points

Related questions

0 votes
1 answer 15 views
15 views
Problem: Jupyter notebook no such file or directory.
asked Jul 14 Florina Gulnar 106k points
0 votes
1 answer 2 views
2 views
Problem: Error executing jupyter command 'notebook'.
asked Jul 14 Florina Gulnar 106k points
0 votes
1 answer 128 views
128 views
Problem : I have recently installed my "Anaconda3-4.3.1-Windows-x86_64" in the desktop but I am facing following error when I try to run the command as "jupyter notebook" from my CMD as shown below : The Detailed Error Message: C:\Users\my pc>jupyter notebook Traceback ( ... .py", line 150, in _execvp raise OSError('%r not found' % cmd, errno.ENOENT) OSError: [Errno 'jupyter-notebook' not found] 2
asked Dec 19, 2019 alecxe 7.5k points
0 votes
1 answer 21 views
21 views
Problem: Please give me an answer to this >Python3 is not recognized as an internal or external command.
asked May 8 Rada Gracelynn 104k points
0 votes
1 answer 21 views
21 views
Problem: Do you have solution of > Python3' is not recognized as an internal or external command,
asked May 5 sumaiya simi 43.9k points
0 votes
1 answer 15 views
15 views
Problem: Run jupyter notebook from command line.
asked Jul 24 Isac Christiaan 103k points
0 votes
1 answer 18 views
18 views
Problem: No module named 'tensorflow' jupyter notebook
asked Jul 8 nila 121k points
0 votes
1 answer 11 views
11 views
Problem: Asked few friends but no solution, please help : How to read csv file in jupyter notebook?
asked Jun 3 Chi Omega 168k points
0 votes
1 answer 31 views
31 views
Problem: Does anyone know the solution of it? So kindly let me know .. dict_keys does not support indexing
asked Apr 6 Ifra 43.4k points
0 votes
1 answer 159 views
159 views
Problem: Please help me … how can I solve it? typeerror: 'dict_items' object does not support indexing
asked Apr 6 Ifra 43.4k points