Visual Studio Code - How to add multiple paths to python path?

前端 未结 7 705
我在风中等你
我在风中等你 2020-12-04 12:40

I am experimenting with Visual Studio Code and so far, it seems great (light, fast, etc).

I am trying to get one of my Python apps running that uses a virtual enviro

相关标签:
7条回答
  • 2020-12-04 13:12

    You could add a .pth file to your virtualenv's site-packages directory.

    This file should have an absotute path per line, for each module or package to be included in the PYTHONPATH.

    https://docs.python.org/2.7/install/index.html#modifying-python-s-search-path

    0 讨论(0)
提交回复
热议问题