Install Spyder in an environment created by pip and activated using source command rather than command. The reason being when you switch conda envs, spyder becomes unavailable.
Then start spyder using that env activated. Or add the env's site packages to your PATH. And make sure you start this and not a conda installed spyder. Now inside Spyder, update Python Path Manager Add paths for your conda envs. Based on my earlier answer above in 2017. Unfortunately this will give issues where two different versions of a package are in different envs and the one at the top of the Python paths list is used. Regards, Michael Sent from mobile On Sun, 05 Apr 2020, 9:06 PM Derek, <[email protected]> wrote: > Is there an easier way to do this without having to install Spyder into > every virtual environment? > > On Sat, 4 Apr 2020 at 18:33, Gastón García González < > [email protected]> wrote: > >> Hi, >> >> in conda prompt: >> >> >> - *conda activate env_name* >> - >> - *conda install spyder* >> - >> - *spyder* >> >> then you have running spyder in your environment. >> >> >> >> El lunes, 26 de octubre de 2015, 14:30:21 (UTC+1), Sayth Renshaw escribió: >>> >>> Hi all >>> >>> Is there an easy way to switch between python virtual environments in >>> spyder? >>> >>> I am on windows and using anaconda with python 3.4, I do create envs in >>> both python2 and python3 and wondering if there was an obvious way to >>> achieve this? >>> >>> Cheers >>> >>> Sayth >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "spyder" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/spyderlib/2a84d146-439c-4b75-9ba3-aabbd9c41dd3%40googlegroups.com >> <https://groups.google.com/d/msgid/spyderlib/2a84d146-439c-4b75-9ba3-aabbd9c41dd3%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "spyder" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/spyderlib/NWGlu7r7xxo/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/spyderlib/CAF1Wu3NgDOzQOMKp_YwmosSNOyu_dUj3Xpw%2Bycsd%2BLhAvzXEuQ%40mail.gmail.com > <https://groups.google.com/d/msgid/spyderlib/CAF1Wu3NgDOzQOMKp_YwmosSNOyu_dUj3Xpw%2Bycsd%2BLhAvzXEuQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/spyderlib/CAD_ULjnEcwx6m1hXRqy1ud1gTbUKKkwwMS8m9%3DjeQ2g9EBBJog%40mail.gmail.com.
