title: How to get Spyder to automatically change python interpreter/env when opening an existing project?
body: <p><strong>Summary</strong></p>
  <p>Goal - I want to assign a particular conda enviroment/python interpreter to individual Spyder projects such that when I open said projects, the the appropriate corresponding interpreter is automatically changed in Spyder preferences &gt; python interperter (Similar to creating projects in other IDEs e.g. PyCharm).</p>
  <p>Problem - Dispite my best efforts, I have to always manually change Spyder's preferences in order to set the correct interpreter (work in different environments). This is tedious and may cause issues in the future if I every forget which is the correct environment corresponding to a project</p>
  <p><strong>What I've tried so far</strong></p>
  <p>Setup - First, I create a new environment via conda with python and spyder-kernels installed using the following command <code>conda create --name project1 python spyder-kernels</code>. Next, I open Spyder in my base environment and create a new project called &quot;project1&quot; and set the python interpreter path to <code>...envs\project1\python.exe</code>. At this point everything is working as expected. Now, I repeat this process for a new project2 and again everything works great. The issue comes up when I move back to project1, the interpreter will still be set to <code>...envs\project2\python.exe</code> rather than switch automatically to <code>...envs\project1\python.exe</code>.</p>
  <p>This post seems to suggest that there would be a full environment manager in Spyder 4 but I can't seem to find it anywhere <a href="https://www.spyder-ide.org/blog/release-spyder-330/" rel="noreferrer">https://www.spyder-ide.org/blog/release-spyder-330/</a>.</p>
  <p>Reference for setting up spyder-kernels: <a href="https://github.com/spyder-ide/spyder/wiki/Working-with-packages-and-environments-in-Spyder" rel="noreferrer">https://github.com/spyder-ide/spyder/wiki/Working-with-packages-and-environments-in-Spyder</a></p>
  <p><strong>Background</strong></p>
  <p>Python 3, Windows 10, Miniconda Distribution</p>
  <p>Many thanks in advance for your help!</p>