• Register
0 votes
549 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.

6 5 3
7,540 points

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.

9 7 4
38,600 points

Related questions

0 votes
1 answer 56 views
56 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
1 vote
1 answer 53 views
53 views
Problem: Hello Kodlogs, I just joined this forum. I found you people knowledgeable and friendly alongside. Well, I am a new python developer. Well, it could be exaggerative if I address me as a developer, I am a new student perhaps. I have to learn a lot ... The above open command producing an error of filenotfounderror: [errno 2] no such file or directory: But why? Could you identify the problem?
asked Jun 29 adamSw 11.3k points
0 votes
2 answers 64 views
64 views
Problem : I have recently installed the cuda 8.0 and cuda 9.0 in the Gpu support system. I encountered the below error while importing from the keras module. It says it is unable to load the native tensorflow runtime. I have received the error log as below: Traceback ... is, Cuda compilation tools, release 8.0, V8.0.61 Is it the clash between two cuda versions? Have anyone solved this before?
asked Feb 18 mphil 2.3k points
2 votes
2 answers 5K views
5K views
Problem : I am very new to Jupyter. I have already installed the Jupyter on my PC. My Configuration is as follows: Windows 10, python 3.x I used below command to install Jupyter. $ pip install jupyter The installation process completed without any issues. But ... “'jupyter' is not recognized as an internal or external command, operable program or batch file.” How to fix above error?
asked Feb 13 mphil 2.3k points
2 votes
1 answer 1.4K views
1.4K views
Problem: When I try to run the below command on my command prompt: python get-pip.py It shows the following message: C:\Users\ASUS>python get-pip.py python: can't open file 'get-pip.py': [Errno 2] No such file or directory How can I have pip installed in my system. Then why am I getting this error message and why I can not open this file. Thanks in advance.
asked May 6 samhaz 5k points