0

I'm using visual studio for macOS Big Sur. Trying to work with virtual environments for the first time. So I've created one virtual environment using the following command:

python3 -m venv <name>

Then I did activate it:

source meuvirtual1/bin/activate

And I've installed some data science packages through terminal. Everything works fine, however, when I try to use this virtual environment at Visual Studio, it can't detect.

Environments

Tried to select "enter interpreter path" located the folder, clicked on python3 icon:

selecting path

But it does nothing. It still can't detect the virtual environment. The virtual environment is installed at:

/Users/rodrigolira/meuvirtual1/bin/python3

Can someone please help me? I've been stuck at this for hours.

martineau
  • 119,623
  • 25
  • 170
  • 301
digolira2
  • 391
  • 4
  • 13
  • 2
    Following link my help to you: [How to setup virtual environment for Python in VS Code?](https://stackoverflow.com/questions/54106071/how-to-setup-virtual-environment-for-python-in-vs-code) – Shmn Nov 18 '20 at 15:34
  • wow, it worked! thank you! =) – digolira2 Nov 18 '20 at 16:22

0 Answers0