Hello, I'm trying to get my code to work in VSCode...
# troubleshooting
p
Hello, I'm trying to get my code to work in VSCode. I'm creating a Tap. I typed in 'cookiecutter https://gitlab.com/meltano/sdk --directory="cookiecutter/tap-template"'. I input the fields source_name, admin_name, etc. I'm getting this error 'Import "singer_sdk" could not be resolved'. Please can someone help me?
j
p
@josh_lloyd yes, I did. Everything worked fine in the Linux command line. When I opened VSCode, it started to show me the error.
j
hmmm, I don’t use VSCode, so I’m probably not going to be the best help on this one then.
p
@josh_lloyd what do you use? Maybe I could try to use that.
j
I use the MacOS terminal
you could always try a
pipx install singer-sdk
and see if that solves the issue
p
hmm okay. I'm trying to follow this video.

https://www.youtube.com/watch?v=6NwMqfV3dOQ&list=PLO0YrxtDbWAtlofkPbQJMFI4vcrJXYI-z&index=3

a
@pranav_shirole - What you want is to make sure the virtual environment is activated.
1. Make sure you've run
poetry install
at the terminal at least once. 2. Reload VS Code (re-detects available virtual environments) 3. Click the python interpreter and version in the bottom pane to open the "Select Interpreter" box. 4. Select the list one that says "poetry" and the name of your tap somewhere in the path. (Click the "refresh" button if you just created the environment and it isn't showing yet in the list.)
message has been deleted
Actually - the VS Code reload looks like it is no longer necessary if you click the refresh button at the top right of the selector box.
p
@aaronsteers Hello, thank you for your help as I got the RickAndMorty tap to work. I'm trying to create a custom extractor using this page https://meltano.com/tutorials/create-a-custom-extractor.html with the functionality to extract data from a Google Sheet. I know that there is already a
tap-google-sheets
extractor available but I'm tasked to create one of my own. And the Google Sheets API documentation is very different from the RickAndMorty one. Is there a Tap Developer's Prep Worksheet for the Google Sheets API? Or any other resource that would help me create this extractor? Thank you for your time.