Solved

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

  • 29 August 2022
  • 4 replies
  • 100 views

Userlevel 1
Badge +1

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

icon

Best answer by Einar Omang 30 August 2022, 13:48

View original

4 replies

Userlevel 2

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.

Userlevel 1
Badge +1

Einar, 

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

Userlevel 2

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.

Userlevel 3
Badge

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

 

Reply