env: ‘jupyter’: No such file or directory












2















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 ??










share|improve this question



























    2















    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 ??










    share|improve this question

























      2












      2








      2








      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 ??










      share|improve this question














      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 9 '17 at 23:56









      HISIHISI

      1,49511023




      1,49511023
























          3 Answers
          3






          active

          oldest

          votes


















          2














          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!!!






          share|improve this answer































            0














            Shell cannot find juptyerin 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






            share|improve this answer

































              0














              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.






              share|improve this answer























                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
                });


                }
                });














                draft saved

                draft discarded


















                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









                2














                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!!!






                share|improve this answer




























                  2














                  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!!!






                  share|improve this answer


























                    2












                    2








                    2







                    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!!!






                    share|improve this answer













                    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!!!







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Nov 10 '17 at 1:35









                    HISIHISI

                    1,49511023




                    1,49511023

























                        0














                        Shell cannot find juptyerin 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






                        share|improve this answer






























                          0














                          Shell cannot find juptyerin 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






                          share|improve this answer




























                            0












                            0








                            0







                            Shell cannot find juptyerin 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






                            share|improve this answer















                            Shell cannot find juptyerin 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







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Nov 10 '17 at 9:03

























                            answered Nov 10 '17 at 8:58









                            MaFFMaFF

                            3,4261516




                            3,4261516























                                0














                                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.






                                share|improve this answer




























                                  0














                                  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.






                                  share|improve this answer


























                                    0












                                    0








                                    0







                                    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.






                                    share|improve this answer













                                    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.







                                    share|improve this answer












                                    share|improve this answer



                                    share|improve this answer










                                    answered Nov 13 '18 at 22:06









                                    jovanchohanjovanchohan

                                    693




                                    693






























                                        draft saved

                                        draft discarded




















































                                        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.




                                        draft saved


                                        draft discarded














                                        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





















































                                        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







                                        Popular posts from this blog

                                        Florida Star v. B. J. F.

                                        Danny Elfman

                                        Retrieve a Users Dashboard in Tumblr with R and TumblR. Oauth Issues