0

I've created a virtualenv for my django project. And i want to use vscode. But 'workon env_name' is not working in vscode terminal, but its working fine on my command prompt.

  • 1
    Need more information. What was the error in vscode's terminal? What other research was done on this issue? This might be helpful https://code.visualstudio.com/docs/python/environments – jmp Oct 19 '19 at 04:38
  • See https://stackoverflow.com/questions/37642045/use-virtualenv-with-python-with-visual-studio-code-in-ubuntu – Yugandhar Chaudhari Oct 19 '19 at 05:03
  • Possible duplicate of [Use Virtualenv with Python with Visual Studio Code in Ubuntu](https://stackoverflow.com/questions/37642045/use-virtualenv-with-python-with-visual-studio-code-in-ubuntu) – Yugandhar Chaudhari Oct 19 '19 at 05:04

1 Answers1

0

do you add "python.pythonPath": "<your env path>/bin/python3.6" in settings.json of your vscode?

Amax
  • 75
  • 1
  • 10