Problem using Anaconda

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












I have installed Anaconda, but every time I open Terminal I have to go give the command:



export PATH=~/anaconda3/bin:$PATH 


How can I fix this issue?










share|improve this question









New contributor




user254087 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • Save the above command in your ~/.bashrc file and after that reload .bashrc file by using source ~/.bashrc command.
    – Syed Nauyan Rashid
    2 days ago














up vote
2
down vote

favorite












I have installed Anaconda, but every time I open Terminal I have to go give the command:



export PATH=~/anaconda3/bin:$PATH 


How can I fix this issue?










share|improve this question









New contributor




user254087 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • Save the above command in your ~/.bashrc file and after that reload .bashrc file by using source ~/.bashrc command.
    – Syed Nauyan Rashid
    2 days ago












up vote
2
down vote

favorite









up vote
2
down vote

favorite











I have installed Anaconda, but every time I open Terminal I have to go give the command:



export PATH=~/anaconda3/bin:$PATH 


How can I fix this issue?










share|improve this question









New contributor




user254087 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I have installed Anaconda, but every time I open Terminal I have to go give the command:



export PATH=~/anaconda3/bin:$PATH 


How can I fix this issue?







anaconda






share|improve this question









New contributor




user254087 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




user254087 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 2 days ago









Stephen Rauch

1,29541128




1,29541128






New contributor




user254087 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 days ago









user254087

132




132




New contributor




user254087 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





user254087 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






user254087 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











  • Save the above command in your ~/.bashrc file and after that reload .bashrc file by using source ~/.bashrc command.
    – Syed Nauyan Rashid
    2 days ago
















  • Save the above command in your ~/.bashrc file and after that reload .bashrc file by using source ~/.bashrc command.
    – Syed Nauyan Rashid
    2 days ago















Save the above command in your ~/.bashrc file and after that reload .bashrc file by using source ~/.bashrc command.
– Syed Nauyan Rashid
2 days ago




Save the above command in your ~/.bashrc file and after that reload .bashrc file by using source ~/.bashrc command.
– Syed Nauyan Rashid
2 days ago










3 Answers
3






active

oldest

votes

















up vote
2
down vote



accepted










You can make sure that command is executed for every terminal (meaning Anaconda will be found) by adding it to your user's bash profile.



Open a terminal and follow these steps:



  1. open the terminal profile: gedit ~/.bashrc


  2. at the end of the file, add: export PATH=~/anaconda3/bin:$PATH


  3. save the file (control+s) and close it


  4. load the changed profile: source ~/.bashrc


Now this terminal window (and any new ones) should find Anaconda! See which version of Python is now the default, using which -a python. First in the list should be something like /home/username/anaconda3/bin/python



The Anaconda setup/installation usually asks you if you want to prepend Anaconda to start of your path, so whoever installed it must have said no or skipped that step.






share|improve this answer



























    up vote
    1
    down vote













    Write your command in your .bashrc (access at ~/.bashrc )



    It will be executed each time you call a terminal.






    share|improve this answer



























      up vote
      1
      down vote













      the file .bashrc (hidden file), located in the home directory, runs codes every time a new terminal is opened.
      Then add a line on it:



      export PATH=~/anaconda3/bin:$PATH


      Some other solutions are also provided here.






      share|improve this answer




















        Your Answer




        StackExchange.ifUsing("editor", function ()
        return StackExchange.using("mathjaxEditing", function ()
        StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
        StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
        );
        );
        , "mathjax-editing");

        StackExchange.ready(function()
        var channelOptions =
        tags: "".split(" "),
        id: "557"
        ;
        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',
        convertImagesToLinks: false,
        noModals: false,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: null,
        bindNavPrevention: true,
        postfix: "",
        noCode: true, onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        );



        );






        user254087 is a new contributor. Be nice, and check out our Code of Conduct.









         

        draft saved


        draft discarded


















        StackExchange.ready(
        function ()
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f38032%2fproblem-using-anaconda%23new-answer', 'question_page');

        );

        Post as a guest






























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes








        up vote
        2
        down vote



        accepted










        You can make sure that command is executed for every terminal (meaning Anaconda will be found) by adding it to your user's bash profile.



        Open a terminal and follow these steps:



        1. open the terminal profile: gedit ~/.bashrc


        2. at the end of the file, add: export PATH=~/anaconda3/bin:$PATH


        3. save the file (control+s) and close it


        4. load the changed profile: source ~/.bashrc


        Now this terminal window (and any new ones) should find Anaconda! See which version of Python is now the default, using which -a python. First in the list should be something like /home/username/anaconda3/bin/python



        The Anaconda setup/installation usually asks you if you want to prepend Anaconda to start of your path, so whoever installed it must have said no or skipped that step.






        share|improve this answer
























          up vote
          2
          down vote



          accepted










          You can make sure that command is executed for every terminal (meaning Anaconda will be found) by adding it to your user's bash profile.



          Open a terminal and follow these steps:



          1. open the terminal profile: gedit ~/.bashrc


          2. at the end of the file, add: export PATH=~/anaconda3/bin:$PATH


          3. save the file (control+s) and close it


          4. load the changed profile: source ~/.bashrc


          Now this terminal window (and any new ones) should find Anaconda! See which version of Python is now the default, using which -a python. First in the list should be something like /home/username/anaconda3/bin/python



          The Anaconda setup/installation usually asks you if you want to prepend Anaconda to start of your path, so whoever installed it must have said no or skipped that step.






          share|improve this answer






















            up vote
            2
            down vote



            accepted







            up vote
            2
            down vote



            accepted






            You can make sure that command is executed for every terminal (meaning Anaconda will be found) by adding it to your user's bash profile.



            Open a terminal and follow these steps:



            1. open the terminal profile: gedit ~/.bashrc


            2. at the end of the file, add: export PATH=~/anaconda3/bin:$PATH


            3. save the file (control+s) and close it


            4. load the changed profile: source ~/.bashrc


            Now this terminal window (and any new ones) should find Anaconda! See which version of Python is now the default, using which -a python. First in the list should be something like /home/username/anaconda3/bin/python



            The Anaconda setup/installation usually asks you if you want to prepend Anaconda to start of your path, so whoever installed it must have said no or skipped that step.






            share|improve this answer












            You can make sure that command is executed for every terminal (meaning Anaconda will be found) by adding it to your user's bash profile.



            Open a terminal and follow these steps:



            1. open the terminal profile: gedit ~/.bashrc


            2. at the end of the file, add: export PATH=~/anaconda3/bin:$PATH


            3. save the file (control+s) and close it


            4. load the changed profile: source ~/.bashrc


            Now this terminal window (and any new ones) should find Anaconda! See which version of Python is now the default, using which -a python. First in the list should be something like /home/username/anaconda3/bin/python



            The Anaconda setup/installation usually asks you if you want to prepend Anaconda to start of your path, so whoever installed it must have said no or skipped that step.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered 2 days ago









            n1k31t4

            3,8221216




            3,8221216




















                up vote
                1
                down vote













                Write your command in your .bashrc (access at ~/.bashrc )



                It will be executed each time you call a terminal.






                share|improve this answer
























                  up vote
                  1
                  down vote













                  Write your command in your .bashrc (access at ~/.bashrc )



                  It will be executed each time you call a terminal.






                  share|improve this answer






















                    up vote
                    1
                    down vote










                    up vote
                    1
                    down vote









                    Write your command in your .bashrc (access at ~/.bashrc )



                    It will be executed each time you call a terminal.






                    share|improve this answer












                    Write your command in your .bashrc (access at ~/.bashrc )



                    It will be executed each time you call a terminal.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered 2 days ago









                    alexandre_d

                    1087




                    1087




















                        up vote
                        1
                        down vote













                        the file .bashrc (hidden file), located in the home directory, runs codes every time a new terminal is opened.
                        Then add a line on it:



                        export PATH=~/anaconda3/bin:$PATH


                        Some other solutions are also provided here.






                        share|improve this answer
























                          up vote
                          1
                          down vote













                          the file .bashrc (hidden file), located in the home directory, runs codes every time a new terminal is opened.
                          Then add a line on it:



                          export PATH=~/anaconda3/bin:$PATH


                          Some other solutions are also provided here.






                          share|improve this answer






















                            up vote
                            1
                            down vote










                            up vote
                            1
                            down vote









                            the file .bashrc (hidden file), located in the home directory, runs codes every time a new terminal is opened.
                            Then add a line on it:



                            export PATH=~/anaconda3/bin:$PATH


                            Some other solutions are also provided here.






                            share|improve this answer












                            the file .bashrc (hidden file), located in the home directory, runs codes every time a new terminal is opened.
                            Then add a line on it:



                            export PATH=~/anaconda3/bin:$PATH


                            Some other solutions are also provided here.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered 2 days ago









                            ebrahimi

                            5421418




                            5421418




















                                user254087 is a new contributor. Be nice, and check out our Code of Conduct.









                                 

                                draft saved


                                draft discarded


















                                user254087 is a new contributor. Be nice, and check out our Code of Conduct.












                                user254087 is a new contributor. Be nice, and check out our Code of Conduct.











                                user254087 is a new contributor. Be nice, and check out our Code of Conduct.













                                 


                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function ()
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f38032%2fproblem-using-anaconda%23new-answer', 'question_page');

                                );

                                Post as a guest













































































                                Comments

                                Popular posts from this blog

                                What does second last employer means? [closed]

                                List of Gilmore Girls characters

                                Confectionery