"Install Spyder in an environment created by pip" - yes, I have one copy installed that way, but I have dozens of other virtual environments; are you saying I need to install dozens of copies of Spyder - that's just not not workable. I am sure I am misunderstanding something here. I am looking for a way to install one copy of Spyder and for it to understand what virtual environment my **current** project is running in, and be able to read/access all the packages installed in *that* environment (so that, for example, PEP8 does not complain about missing packages).
On Mon, 6 Apr 2020 at 03:21, Michael Currin <[email protected]> wrote: > 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 > <https://groups.google.com/d/msgid/spyderlib/CAD_ULjnEcwx6m1hXRqy1ud1gTbUKKkwwMS8m9%3DjeQ2g9EBBJog%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/CAF1Wu3PytRuybbUY-5hivUZmWKz%2BaKGpFyNhgjxvX48vx5k8Rw%40mail.gmail.com.
