[Python] How to run virtual environment in Spyder without Anconda?

Discussão em 'Python' iniciado por Stack, Novembro 23, 2025.

  1. Stack

    Stack Membro Participativo

    I want to run virtual environment in Spyder without Anconda or miniconda. When I change the interpreter for default to my virtual environment,there is a error like this:

    Your Python environment or installation doesn't have the spyder‑kernels module or the right version of it installed (>= 2.2.0 and < 2.3.0). Without this module is not possible for Spyder to create a console for you.

    You can install it by running in a system terminal:

    conda install spyder‑kernels=2.2

    or

    pip install spyder‑kernels==2.2.*


    But how can I install the package in this virtual environment? Actually, there is little information about how to use virtual env in Spyder. Does everyone provide more info to me? Thanks.

    Continue reading...

Compartilhe esta Página