Spyder Anaconda - select Python interpreter(Python) Spyder not startinginstalling Anaconda, errno 2 no such file or directoryGetting started with iPython notebookTrouble with python 3 and spyder 2.3 on Ubuntu 12.04Call native python interpreter instead of anacondaAnaconda python keeps using 2.7Python spyder is not starting on ubuntuCan't Change the default python 3.5 to 3.7 in ubuntu 16.04

Is it possible to trap yourself in the Nether?

Which device is violating the 802.11n Wi-Fi standard?

Grammar and Meaning in Context of EIUS

Why is this negated with nicht and not kein?

How much would we learn from observing an FTL starship fly by?

Is "You are influencing your negative behavior over me" grammatically well-formed and natural-sounding to native speakers?

Why should interrupts be short in a well configured system?

What are the possible punishments for an impeached USA president?

I've got an error "This site is blocked due to content filtering."

Multiple pdf outputs from one single .tex file

Could a chess engine do retro analysis?

How many flight hours do the first retiring A380s have?

Is it possible to remove the trash icon from the dock on macOS Catalina?

Is it normal to not be able to work 8 hours a day?

How much time does it take for a complete Earth revolution around the Sun

Clockwise matrix rotation

Which titled players (IM or GM) have also been successful politicians?

Quick test of quality of an econometrics textbook

Are there parts of a SHA-512 hash that occur more often then others?

Can a transcendent matrix have an algebraic spectrum?

Find the determinant of A

Is there a guide/reference for possible character hairstyles in D&D Forgotten Realms universe?

Was X17 predicted before it was observed?

What did Rex Kramer mean by routing the plane in Lake Michigan?



Spyder Anaconda - select Python interpreter


(Python) Spyder not startinginstalling Anaconda, errno 2 no such file or directoryGetting started with iPython notebookTrouble with python 3 and spyder 2.3 on Ubuntu 12.04Call native python interpreter instead of anacondaAnaconda python keeps using 2.7Python spyder is not starting on ubuntuCan't Change the default python 3.5 to 3.7 in ubuntu 16.04






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









0




















I have installed Anaconda (x64 Linux) and I am running its Python 3.



When I type which python, I get



/home/hinckelbc/anaconda3/bin/python


Now to display the version, I type python -V, and I get



Python 3.6.4 :: Anaconda, Inc.


Which is normal, since I am running Python 3 from Anaconda



If I launch Spyder from the terminal by simply typing spyder, it will launch and I see that the Python interpreter is indeed the Python 3 from Anaconda, as shown below:



Python 3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 18:10:19)
Type "copyright", "credits" or "license" for more information.

IPython 6.2.1 -- An enhanced Interactive Python.

!which python
/home/hinckelbc/anaconda3/bin/python

! python -V
Python 3.6.4 :: Anaconda, Inc.


The Spyder running on my machine is the following:



hinckelbc@BCArg:~$ which spyder
/home/hinckelbc/anaconda3/bin/spyder


In order to avoid opening the terminal all the time and typing spyder, I have created the following spyder.desktop file ~/.local/share/applications/spyder.desktop, which looks like this:



[Desktop Entry]
Type=Application
Name=Spyder
Exec=/home/hinckelbc/anaconda3/bin/spyder
Icon=/home/hinckelbc/anaconda3/pkgs/spyder-3.2.6-py36_0/info/icon.png
Terminal=false


I then could find Spyder with the Super key, which was then added to by launcher, by dragging and dropping (Gnome 3, Ubuntu 17.10)



However, when I open Spyder by clicking on the icon, now on my favorites, I get:



Python 3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 18:10:19)
Type "copyright", "credits" or "license" for more information.

IPython 6.2.1 -- An enhanced Interactive Python.

! which python
/usr/bin/python

! python -V
Python 2.7.14


Which does not agree with the python interpreter I set manually on Spyder, as shown below:



Spyder preferences screenshot



Does anyone know how to solve this, i.e. to get Python 3 running on Spyder with the desktop icon I have created and added to my favourites?










share|improve this question

































    0




















    I have installed Anaconda (x64 Linux) and I am running its Python 3.



    When I type which python, I get



    /home/hinckelbc/anaconda3/bin/python


    Now to display the version, I type python -V, and I get



    Python 3.6.4 :: Anaconda, Inc.


    Which is normal, since I am running Python 3 from Anaconda



    If I launch Spyder from the terminal by simply typing spyder, it will launch and I see that the Python interpreter is indeed the Python 3 from Anaconda, as shown below:



    Python 3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 18:10:19)
    Type "copyright", "credits" or "license" for more information.

    IPython 6.2.1 -- An enhanced Interactive Python.

    !which python
    /home/hinckelbc/anaconda3/bin/python

    ! python -V
    Python 3.6.4 :: Anaconda, Inc.


    The Spyder running on my machine is the following:



    hinckelbc@BCArg:~$ which spyder
    /home/hinckelbc/anaconda3/bin/spyder


    In order to avoid opening the terminal all the time and typing spyder, I have created the following spyder.desktop file ~/.local/share/applications/spyder.desktop, which looks like this:



    [Desktop Entry]
    Type=Application
    Name=Spyder
    Exec=/home/hinckelbc/anaconda3/bin/spyder
    Icon=/home/hinckelbc/anaconda3/pkgs/spyder-3.2.6-py36_0/info/icon.png
    Terminal=false


    I then could find Spyder with the Super key, which was then added to by launcher, by dragging and dropping (Gnome 3, Ubuntu 17.10)



    However, when I open Spyder by clicking on the icon, now on my favorites, I get:



    Python 3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 18:10:19)
    Type "copyright", "credits" or "license" for more information.

    IPython 6.2.1 -- An enhanced Interactive Python.

    ! which python
    /usr/bin/python

    ! python -V
    Python 2.7.14


    Which does not agree with the python interpreter I set manually on Spyder, as shown below:



    Spyder preferences screenshot



    Does anyone know how to solve this, i.e. to get Python 3 running on Spyder with the desktop icon I have created and added to my favourites?










    share|improve this question





























      0













      0









      0


      1








      I have installed Anaconda (x64 Linux) and I am running its Python 3.



      When I type which python, I get



      /home/hinckelbc/anaconda3/bin/python


      Now to display the version, I type python -V, and I get



      Python 3.6.4 :: Anaconda, Inc.


      Which is normal, since I am running Python 3 from Anaconda



      If I launch Spyder from the terminal by simply typing spyder, it will launch and I see that the Python interpreter is indeed the Python 3 from Anaconda, as shown below:



      Python 3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 18:10:19)
      Type "copyright", "credits" or "license" for more information.

      IPython 6.2.1 -- An enhanced Interactive Python.

      !which python
      /home/hinckelbc/anaconda3/bin/python

      ! python -V
      Python 3.6.4 :: Anaconda, Inc.


      The Spyder running on my machine is the following:



      hinckelbc@BCArg:~$ which spyder
      /home/hinckelbc/anaconda3/bin/spyder


      In order to avoid opening the terminal all the time and typing spyder, I have created the following spyder.desktop file ~/.local/share/applications/spyder.desktop, which looks like this:



      [Desktop Entry]
      Type=Application
      Name=Spyder
      Exec=/home/hinckelbc/anaconda3/bin/spyder
      Icon=/home/hinckelbc/anaconda3/pkgs/spyder-3.2.6-py36_0/info/icon.png
      Terminal=false


      I then could find Spyder with the Super key, which was then added to by launcher, by dragging and dropping (Gnome 3, Ubuntu 17.10)



      However, when I open Spyder by clicking on the icon, now on my favorites, I get:



      Python 3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 18:10:19)
      Type "copyright", "credits" or "license" for more information.

      IPython 6.2.1 -- An enhanced Interactive Python.

      ! which python
      /usr/bin/python

      ! python -V
      Python 2.7.14


      Which does not agree with the python interpreter I set manually on Spyder, as shown below:



      Spyder preferences screenshot



      Does anyone know how to solve this, i.e. to get Python 3 running on Spyder with the desktop icon I have created and added to my favourites?










      share|improve this question


















      I have installed Anaconda (x64 Linux) and I am running its Python 3.



      When I type which python, I get



      /home/hinckelbc/anaconda3/bin/python


      Now to display the version, I type python -V, and I get



      Python 3.6.4 :: Anaconda, Inc.


      Which is normal, since I am running Python 3 from Anaconda



      If I launch Spyder from the terminal by simply typing spyder, it will launch and I see that the Python interpreter is indeed the Python 3 from Anaconda, as shown below:



      Python 3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 18:10:19)
      Type "copyright", "credits" or "license" for more information.

      IPython 6.2.1 -- An enhanced Interactive Python.

      !which python
      /home/hinckelbc/anaconda3/bin/python

      ! python -V
      Python 3.6.4 :: Anaconda, Inc.


      The Spyder running on my machine is the following:



      hinckelbc@BCArg:~$ which spyder
      /home/hinckelbc/anaconda3/bin/spyder


      In order to avoid opening the terminal all the time and typing spyder, I have created the following spyder.desktop file ~/.local/share/applications/spyder.desktop, which looks like this:



      [Desktop Entry]
      Type=Application
      Name=Spyder
      Exec=/home/hinckelbc/anaconda3/bin/spyder
      Icon=/home/hinckelbc/anaconda3/pkgs/spyder-3.2.6-py36_0/info/icon.png
      Terminal=false


      I then could find Spyder with the Super key, which was then added to by launcher, by dragging and dropping (Gnome 3, Ubuntu 17.10)



      However, when I open Spyder by clicking on the icon, now on my favorites, I get:



      Python 3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 18:10:19)
      Type "copyright", "credits" or "license" for more information.

      IPython 6.2.1 -- An enhanced Interactive Python.

      ! which python
      /usr/bin/python

      ! python -V
      Python 2.7.14


      Which does not agree with the python interpreter I set manually on Spyder, as shown below:



      Spyder preferences screenshot



      Does anyone know how to solve this, i.e. to get Python 3 running on Spyder with the desktop icon I have created and added to my favourites?







      python 17.10 configuration anaconda spyder






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 8 '18 at 19:45









      wjandrea

      10.8k4 gold badges34 silver badges70 bronze badges




      10.8k4 gold badges34 silver badges70 bronze badges










      asked Mar 8 '18 at 19:05









      BCArgBCArg

      3474 silver badges12 bronze badges




      3474 silver badges12 bronze badges























          1 Answer
          1






          active

          oldest

          votes


















          0



















          Your environment is different.



          The spyder terminal inherits the PATH variable from its parent, the Spyder process, who has different env:
          - When launching spyder from PATH is the one of shell, which includes .../conda/bin because of your .bashrc / .zshrc
          - When launching from .desktop, the env is the one with /etc/profile (and maybe .profile ?)



          In short, one solution is to launch through your shell:



          Exec='bash -c .../spyder'


          ...and make sure that you add conda/bin to your PATH in .bash_profile, or see [How to load .bashrc from “bash -c”][1].






          share|improve this answer


























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            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/4.0/"u003ecc by-sa 4.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%2faskubuntu.com%2fquestions%2f1013200%2fspyder-anaconda-select-python-interpreter%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown


























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0



















            Your environment is different.



            The spyder terminal inherits the PATH variable from its parent, the Spyder process, who has different env:
            - When launching spyder from PATH is the one of shell, which includes .../conda/bin because of your .bashrc / .zshrc
            - When launching from .desktop, the env is the one with /etc/profile (and maybe .profile ?)



            In short, one solution is to launch through your shell:



            Exec='bash -c .../spyder'


            ...and make sure that you add conda/bin to your PATH in .bash_profile, or see [How to load .bashrc from “bash -c”][1].






            share|improve this answer





























              0



















              Your environment is different.



              The spyder terminal inherits the PATH variable from its parent, the Spyder process, who has different env:
              - When launching spyder from PATH is the one of shell, which includes .../conda/bin because of your .bashrc / .zshrc
              - When launching from .desktop, the env is the one with /etc/profile (and maybe .profile ?)



              In short, one solution is to launch through your shell:



              Exec='bash -c .../spyder'


              ...and make sure that you add conda/bin to your PATH in .bash_profile, or see [How to load .bashrc from “bash -c”][1].






              share|improve this answer



























                0















                0











                0









                Your environment is different.



                The spyder terminal inherits the PATH variable from its parent, the Spyder process, who has different env:
                - When launching spyder from PATH is the one of shell, which includes .../conda/bin because of your .bashrc / .zshrc
                - When launching from .desktop, the env is the one with /etc/profile (and maybe .profile ?)



                In short, one solution is to launch through your shell:



                Exec='bash -c .../spyder'


                ...and make sure that you add conda/bin to your PATH in .bash_profile, or see [How to load .bashrc from “bash -c”][1].






                share|improve this answer














                Your environment is different.



                The spyder terminal inherits the PATH variable from its parent, the Spyder process, who has different env:
                - When launching spyder from PATH is the one of shell, which includes .../conda/bin because of your .bashrc / .zshrc
                - When launching from .desktop, the env is the one with /etc/profile (and maybe .profile ?)



                In short, one solution is to launch through your shell:



                Exec='bash -c .../spyder'


                ...and make sure that you add conda/bin to your PATH in .bash_profile, or see [How to load .bashrc from “bash -c”][1].







                share|improve this answer













                share|improve this answer




                share|improve this answer










                answered Sep 20 at 14:10









                eddygeekeddygeek

                5765 silver badges7 bronze badges




                5765 silver badges7 bronze badges































                    draft saved

                    draft discarded















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • 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%2faskubuntu.com%2fquestions%2f1013200%2fspyder-anaconda-select-python-interpreter%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

                    Tamil (spriik) Luke uk diar | Nawigatjuun

                    Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                    Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?