env: ‘jupyter’: No such file or directory
I'm trying to apply this tuto in my ubuntu, and this is what i did:
1-install spark 2.2.... (pyspark)+ java(1.8) + anaconda (Python2.7)
2-edit the .bachrc (adding 2 lines):
export PYSPARK_DRIVER_PYTHON=jupyter
export PYSPARK_DRIVER_PYTHON_OPTS="notebook"
3-lanch Pyspark: $sudo Pyspark
it works fine
4-lanch jupyter: $sudo jupyther notebook
it works fine
when i run PYSPARK_DRIVER_PYTHON="jupyter" PYSPARK_DRIVER_PYTHON_OPTS="notebook" spark-2.2.0-bin-hadoop2.7/bin/pyspark
the command to launch Pyspark with Jupyter notebook i get this:
env: ‘jupyter’: No such file or directory
what should i do ??
python python-2.7 apache-spark pyspark jupyter-notebook
add a comment |
I'm trying to apply this tuto in my ubuntu, and this is what i did:
1-install spark 2.2.... (pyspark)+ java(1.8) + anaconda (Python2.7)
2-edit the .bachrc (adding 2 lines):
export PYSPARK_DRIVER_PYTHON=jupyter
export PYSPARK_DRIVER_PYTHON_OPTS="notebook"
3-lanch Pyspark: $sudo Pyspark
it works fine
4-lanch jupyter: $sudo jupyther notebook
it works fine
when i run PYSPARK_DRIVER_PYTHON="jupyter" PYSPARK_DRIVER_PYTHON_OPTS="notebook" spark-2.2.0-bin-hadoop2.7/bin/pyspark
the command to launch Pyspark with Jupyter notebook i get this:
env: ‘jupyter’: No such file or directory
what should i do ??
python python-2.7 apache-spark pyspark jupyter-notebook
add a comment |
I'm trying to apply this tuto in my ubuntu, and this is what i did:
1-install spark 2.2.... (pyspark)+ java(1.8) + anaconda (Python2.7)
2-edit the .bachrc (adding 2 lines):
export PYSPARK_DRIVER_PYTHON=jupyter
export PYSPARK_DRIVER_PYTHON_OPTS="notebook"
3-lanch Pyspark: $sudo Pyspark
it works fine
4-lanch jupyter: $sudo jupyther notebook
it works fine
when i run PYSPARK_DRIVER_PYTHON="jupyter" PYSPARK_DRIVER_PYTHON_OPTS="notebook" spark-2.2.0-bin-hadoop2.7/bin/pyspark
the command to launch Pyspark with Jupyter notebook i get this:
env: ‘jupyter’: No such file or directory
what should i do ??
python python-2.7 apache-spark pyspark jupyter-notebook
I'm trying to apply this tuto in my ubuntu, and this is what i did:
1-install spark 2.2.... (pyspark)+ java(1.8) + anaconda (Python2.7)
2-edit the .bachrc (adding 2 lines):
export PYSPARK_DRIVER_PYTHON=jupyter
export PYSPARK_DRIVER_PYTHON_OPTS="notebook"
3-lanch Pyspark: $sudo Pyspark
it works fine
4-lanch jupyter: $sudo jupyther notebook
it works fine
when i run PYSPARK_DRIVER_PYTHON="jupyter" PYSPARK_DRIVER_PYTHON_OPTS="notebook" spark-2.2.0-bin-hadoop2.7/bin/pyspark
the command to launch Pyspark with Jupyter notebook i get this:
env: ‘jupyter’: No such file or directory
what should i do ??
python python-2.7 apache-spark pyspark jupyter-notebook
python python-2.7 apache-spark pyspark jupyter-notebook
asked Nov 9 '17 at 23:56
HISIHISI
1,49511023
1,49511023
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
When i type which jupyter
not thing is displayed on my terminal so i fixed the issue by Uninstalling anaconda and installing it again from anaconda official site, now it works fine!!!
add a comment |
Shell cannot find juptyer
in your environment in any of the directories listed in $PATH
. If you have followed the tutorial and installed Anaconda
distribution, you should have added the path to $PATH
in .bashrc
:
echo 'export PATH="~/anaconda/bin:$PATH"' >> ~/.bashrc
Also check that jupyter
is present in ~/anaconda/bin"
. Note that ~
refers to $HOME
so you should adapt the path if your installation is located elsewhere
add a comment |
When I got this error, I uninstalled anaconda by removing the anaconda directory. I then installed it from the anaconda website and updated my bash profile to reflect on the new location of anaconda in my "/" (root) directory. Then it worked fine.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f47213631%2fenv-jupyter-no-such-file-or-directory%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
When i type which jupyter
not thing is displayed on my terminal so i fixed the issue by Uninstalling anaconda and installing it again from anaconda official site, now it works fine!!!
add a comment |
When i type which jupyter
not thing is displayed on my terminal so i fixed the issue by Uninstalling anaconda and installing it again from anaconda official site, now it works fine!!!
add a comment |
When i type which jupyter
not thing is displayed on my terminal so i fixed the issue by Uninstalling anaconda and installing it again from anaconda official site, now it works fine!!!
When i type which jupyter
not thing is displayed on my terminal so i fixed the issue by Uninstalling anaconda and installing it again from anaconda official site, now it works fine!!!
answered Nov 10 '17 at 1:35
HISIHISI
1,49511023
1,49511023
add a comment |
add a comment |
Shell cannot find juptyer
in your environment in any of the directories listed in $PATH
. If you have followed the tutorial and installed Anaconda
distribution, you should have added the path to $PATH
in .bashrc
:
echo 'export PATH="~/anaconda/bin:$PATH"' >> ~/.bashrc
Also check that jupyter
is present in ~/anaconda/bin"
. Note that ~
refers to $HOME
so you should adapt the path if your installation is located elsewhere
add a comment |
Shell cannot find juptyer
in your environment in any of the directories listed in $PATH
. If you have followed the tutorial and installed Anaconda
distribution, you should have added the path to $PATH
in .bashrc
:
echo 'export PATH="~/anaconda/bin:$PATH"' >> ~/.bashrc
Also check that jupyter
is present in ~/anaconda/bin"
. Note that ~
refers to $HOME
so you should adapt the path if your installation is located elsewhere
add a comment |
Shell cannot find juptyer
in your environment in any of the directories listed in $PATH
. If you have followed the tutorial and installed Anaconda
distribution, you should have added the path to $PATH
in .bashrc
:
echo 'export PATH="~/anaconda/bin:$PATH"' >> ~/.bashrc
Also check that jupyter
is present in ~/anaconda/bin"
. Note that ~
refers to $HOME
so you should adapt the path if your installation is located elsewhere
Shell cannot find juptyer
in your environment in any of the directories listed in $PATH
. If you have followed the tutorial and installed Anaconda
distribution, you should have added the path to $PATH
in .bashrc
:
echo 'export PATH="~/anaconda/bin:$PATH"' >> ~/.bashrc
Also check that jupyter
is present in ~/anaconda/bin"
. Note that ~
refers to $HOME
so you should adapt the path if your installation is located elsewhere
edited Nov 10 '17 at 9:03
answered Nov 10 '17 at 8:58
MaFFMaFF
3,4261516
3,4261516
add a comment |
add a comment |
When I got this error, I uninstalled anaconda by removing the anaconda directory. I then installed it from the anaconda website and updated my bash profile to reflect on the new location of anaconda in my "/" (root) directory. Then it worked fine.
add a comment |
When I got this error, I uninstalled anaconda by removing the anaconda directory. I then installed it from the anaconda website and updated my bash profile to reflect on the new location of anaconda in my "/" (root) directory. Then it worked fine.
add a comment |
When I got this error, I uninstalled anaconda by removing the anaconda directory. I then installed it from the anaconda website and updated my bash profile to reflect on the new location of anaconda in my "/" (root) directory. Then it worked fine.
When I got this error, I uninstalled anaconda by removing the anaconda directory. I then installed it from the anaconda website and updated my bash profile to reflect on the new location of anaconda in my "/" (root) directory. Then it worked fine.
answered Nov 13 '18 at 22:06
jovanchohanjovanchohan
693
693
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f47213631%2fenv-jupyter-no-such-file-or-directory%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown