Set up environment in VSC

  1. Open VSCode in your repository folder

  2. Use Ctrl+Shift+P to open command entry

  3. Enter >Python: Select Interpreter and click Enter

    Image title

  4. Select option "Enter interpreter path..."

    Image title

  5. Select option "Find..."

    Image title

  6. Navigate to

    • Windows: async_py_octocat/.tox/devenv/Scripts/python.exe
    • Linux: async_py_octocat/.tox/devenv/bin/python
  7. Select file python.exe

  8. Use Ctrl+Shift+P to open command entry

  9. Enter >Developer: Reload Window and click Enter

    Image title

  10. Open terminal by pulling from edge of status bar

    Image title

  11. Use trash can icon to kill it

    Image title

  12. Repeat step 11.

  13. Now you should have (devenv) prefix before your command prompt

    Image title

  14. If you don't have this prefix, manually activate environment:

    - Windows: ".tox/devenv/Script/activate"

    - Linux: source ".tox/devenv/bin/activate"

    - for more see this


Last update: July 3, 2022
Created: July 3, 2022