Skip to main content
Answer

How to set up CSV extractors in Visual Studio [Community Contributed]

  • August 29, 2022
  • 4 replies
  • 120 views

Forum|alt.badge.img+1

Has anyone configured the extractor to use Visual Studio Code? I need a step by step guide.

Best answer by Einar Omang

Assuming 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.

4 replies

  • Practitioner
  • Answer
  • August 30, 2022

Assuming 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.


Forum|alt.badge.img+1
  • Author
  • Inactive
  • August 30, 2022

Einar, 

Thanks for your quick response. I am using Windows and can you help? 


  • Practitioner
  • August 30, 2022

I don’t have a windows setup myself, but it seems like you can find it in
C:\Users\<username>\AppData\Roaming\pypoetry\virtualenvs\your-project-name\bin\python.exe 

same instructions as above.


Stig Harald Gustavsen
Seasoned
Forum|alt.badge.img

I made a video that might help you to setup a python developement enviroment for developing extractors. using WSL, Pyenv and Poetry.