Comments (39)
Try this commend: python -m IPython notebook
from jupyter_core.
I had this issue. Finally got the solution.ie simply execute the following command..
sudo apt install jupyter-notebook
After finishing installing then run the command
jupyter-notebook
from jupyter_core.
Does jupyter-notebook
work instead of jupyter notebook
?
from jupyter_core.
It seems to me as though the installation has messed up somehow. Try running:
For Python 2
pip install --upgrade --force-reinstall --no-cache-dir jupyter
For Python 3
pip3 install --upgrade --force-reinstall --no-cache-dir jupyter
This should reinstall everything from PyPi. This should solve the problem as I think running pip install "ipython[notebook]" messed things up.
from jupyter_core.
I'm having the same issue.
Error executing Jupyter command 'notebook': [Errno 2] No such file or directory
from jupyter_core.
Please try: pip3 install jupyter --force
or pip install jupyter --force
from jupyter_core.
On Fedora 27 I had to install python3-notebook
dnf install python3-notebook
from jupyter_core.
We don't recommend installing through apt, because that will almost always be out of date. Even in Ubuntu 18.04, which was released a couple of days ago, it's not up to date.
from jupyter_core.
python -m IPython notebook
- worked for me. however I got the following output while executing jupyter-notebook
or jupyter notebook
:
mcbk:machine-learning todor$ jupyter-notebook
-bash: /usr/local/bin/jupyter-notebook: /usr/local/opt/python/bin/python3.7: bad interpreter: No such file or directory
mcbk:machine-learning todor$ jupyter notebook
Error executing Jupyter command 'notebook': [Errno 2] No such file or directory
from jupyter_core.
@ksr11 Thanks! I had the same problem, and your solution worked for me.
from jupyter_core.
it's ok. thanks for the help.
I figured it out and fixed it.
I just opened the excel file and saved it as CSV( Comma delimited).
from jupyter_core.
Can you check that file does actually exist and is executable?
ls -l /usr/local/Python/bin/
from jupyter_core.
@takluyver Thank you for your reply, I check that file is exist and is executable.
[root@linux-59 ipykernel]# ls -l /usr/local/Python/bin/ | grep jupyter
-rwxr-xr-x 1 root root 145 Aug 17 10:35 jupyter
-rwxrwxr-x 1 root root 107 Aug 16 11:49 jupyter-console
-rwxr-xr-x 1 root root 173 Aug 17 10:33 jupyter-kernelspec
-rwxr-xr-x 1 root root 155 Aug 17 10:35 jupyter-migrate
-rwxrwxr-x 1 root root 112 Aug 16 11:49 jupyter-nbconvert
-rwxr-xr-x 1 root root 107 Aug 17 10:28 jupyter-nbextension
-rwxr-xr-x 1 root root 106 Aug 17 10:28 jupyter-notebook
-rwxrwxr-x 1 root root 111 Aug 16 11:49 jupyter-qtconsole
-rwxr-xr-x 1 root root 181 Aug 17 10:36 jupyter-serverextension
-rwxr-xr-x 1 root root 168 Aug 17 10:35 jupyter-trust
You have mail in /var/spool/mail/root
[root@linux-59 ipykernel]# chmod 777 /usr/local/Python/bin/*
[root@linux-59 ipykernel]# /usr/local/Python/bin/jupyter
: No such file or directory
[root@linux-59 ipykernel]# ls -l /usr/local/Python/bin/ | grep jupyter
-rwxrwxrwx 1 root root 145 Aug 17 10:35 jupyter
-rwxrwxrwx 1 root root 107 Aug 16 11:49 jupyter-console
-rwxrwxrwx 1 root root 173 Aug 17 10:33 jupyter-kernelspec
-rwxrwxrwx 1 root root 155 Aug 17 10:35 jupyter-migrate
-rwxrwxrwx 1 root root 112 Aug 16 11:49 jupyter-nbconvert
-rwxrwxrwx 1 root root 107 Aug 17 10:28 jupyter-nbextension
-rwxrwxrwx 1 root root 106 Aug 17 10:28 jupyter-notebook
-rwxrwxrwx 1 root root 111 Aug 16 11:49 jupyter-qtconsole
-rwxrwxrwx 1 root root 181 Aug 17 10:36 jupyter-serverextension
-rwxrwxrwx 1 root root 168 Aug 17 10:35 jupyter-trust
[root@linux-59 ipykernel]# /usr/local/Python/bin/jupyter
: No such file or directory
from jupyter_core.
Weird. What does the file contain? Does the first line start with #!
?
from jupyter_core.
yes. the file content is
#!/usr/bin/env python
"""Launch the root jupyter command"""
from jupyter_core.command import main
if __name__ == '__main__':
main()
from jupyter_core.
And can you run /usr/bin/env python
? I'm clutching at straws here, it all looks completely normal.
from jupyter_core.
from jupyter_core.
from jupyter_core.
@takluyver Yes , I open a new shell terminal. but it's the same error.
from jupyter_core.
Weird. What if you try:
/usr/bin/env python /usr/local/Python/bin/jupyter
from jupyter_core.
If I try ``/usr/bin/env python /usr/local/Python/bin/jupyter` it works fine.
from jupyter_core.
Weird. Sorry, I'm all out of ideas for now.
from jupyter_core.
Getting the same thing, right from a fresh Anaconda install. Running jupyter-notebook
works, as do jupyter --help
, jupyter --version
, jupyter --paths
…
from jupyter_core.
@Milannju I had the same issue python -m IPython notebook
worked for me - thanks.
from jupyter_core.
@Milannju thaaaanks.
python -m IPython notebook did work well for me in High Sierra 10.13.3.
from jupyter_core.
Had the same issue on Ubuntu 17.10. python3 -m IPython notebook
works, sudo apt install jupyter-notebook
didn't change a thing for me.
from jupyter_core.
my jupyter path is
jupyter --paths
config:
/root/.jupyter
/usr/etc/jupyter
/usr/local/etc/jupyter
/etc/jupyter
data:
/root/.local/share/jupyter
/usr/local/share/jupyter
/usr/share/jupyter
runtime:
/root/.local/share/jupyter/runtime
i can c d version of jupyter. but am getting d error as
python_lib_contents = listdir("{0}/python/lib".format(self.spark_home))
FileNotFoundError: [Errno 2] No such file or directory: '/python/lib'
and checked the path /usr/local/python/bin but i dont have the python folder. /usr/local/bin itself.
from jupyter_core.
in linux,
first install jupyter via sudo apt install jupyter-notebook
and use jupyter-notebook to run it
from jupyter_core.
I faced similar issue. This is what I did to fix the issue (on Ubuntu 16.04) :
sudo apt-get remove ipython
sudo apt-get purge ipython
sudo apt-get autoremove
pip install jupyter
ipython seemed to be the problem, hence removing it fixed the issue.
I'm now able to run jupyter notebook
from jupyter_core.
@slonak79, I also encountered this problem eventually; for me it was easily solved by doing
mkdir ~/.jupyter
before executing other jupyter-related commands.
from jupyter_core.
I was getting this issue. I did following steps-
- Reset your configuration file.
- try command jupyter notebook --allow-root (Remember to give space after notebook)
It worked!
from jupyter_core.
open ur terminal type: # -r
after that type jupyter notebook
This will fix ur problem
from jupyter_core.
@takluyver it works for Ubuntu 18.04
from jupyter_core.
IPython
python -m IPython notebook
It works for me too.
from jupyter_core.
Try this commend: python -m IPython notebook
Ahh...this command worked for me. I was searched a lot on this and finally to uninstall everything and want to do it again with installation of Anaconda. But saved! Thanks a lot.
from jupyter_core.
python -m IPython notebook
Where to use it?
from jupyter_core.
python -m IPython notebook
Where to use it?
You would use this from a terminal window - although I don't think that answers your question. Please note that use of IPython
to run a notebook is a bit outdated and the more current command would be python -m jupyter notebook
.
Are you asking because you're getting No such file
issues when running jupyter
?
Could you provide information relative to your issue?
Could you provide the output of jupyter troubleshoot
?
from jupyter_core.
python -m jupyter notebook
Greetings,
Thank you for your concern.
I tried to write this code" python -m jupyter notebook " in the terminal but with no solution, I still have the same results.
yes, I am asking about the no file issue when running in jupytur.
Please see the 2 attachments below regarding the issue whenever I run the code.
from jupyter_core.
Hey there, I'm going through old issues and it seems to me that it makes sense to close this one. Other than the unrelated simple FileNotFound error posted within the last month, this issue did not have any activity for the past 2 years. It looks like most folks who ran into this were using a mix of packages that shipped with their distribution or conda and pip. Hopefully anyone who runs into this can try some of the workarounds proposed here.
Thanks everyone and happy hacking!
from jupyter_core.
Related Issues (20)
- 5.0 changelog HOT 1
- ModuleNotFoundError: No module named 'jupyter_core' HOT 3
- Current working directory not anymore in config_dir HOT 1
- 6.0: Change Default for JUPYTER_PLATFORM_DIRS to "true" HOT 3
- Deprecation warning for platform dirs affecting downstream CI tests HOT 1
- Feature request: do not prefer env path if it is not writeable HOT 6
- uncaught error in directory ownership check HOT 2
- Jupyter in pyenv can't find subcommand when python is called directly HOT 3
- paths: option to exclude user directories HOT 1
- jupyter_core package requires invalid pywin32 version HOT 1
- There are conflicts between the modules of the dependencies.
- migrated marker may seem not to exist if os.stat not allowed
- FAILED tests/test_troubleshoot.py::test_troubleshoot HOT 1
- Draft7Validator(TyperError: create.<locals>.Validator.__init__() got an unexpected keyword argument 'registry' HOT 23
- Regression: Error when config dir is readonly (Worked before) HOT 2
- 0.5.6 causes "This event loop is already running" Error HOT 2
- `__version__` attribute no longer available HOT 8
- win32api Paths.py
- `jupyter_data_dir` usage outside of JupyterApp
- DeprecationWarning on a fresh install on CI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jupyter_core.