Has anyone configured the extractor to use Visual Studio Code? I need a step by step guide.
Best answer by Einar Omang
View originalHas anyone configured the extractor to use Visual Studio Code? I need a step by step guide.
Best answer by Einar Omang
View originalAssuming you have set up and installed a poetry environment for your project:
Install the official python extension for VSCode.
Press
View > Command Palette
then select “Python: Select Interpreter”
Enter Interpreter Path
Find…
Then navigate to where your poetry environment is, on linux this is going to be ~/.cache/pypoetry/virtualenvs/your-project-name/bin/python
, it is different for other operating systems, you will need to look up where to find your virtualenv if you’re on windows or mac.
Now VSCode should be configured to use your poetry environment for that project.
Einar,
Thanks for your quick response. I am using Windows and can you help?
I don’t have a windows setup myself, but it seems like you can find it inC:\Users\<username>\AppData\Roaming\pypoetry\virtualenvs\your-project-name\bin\python.exe
same instructions as above.
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.