Search code examples
python-3.xscrapypylintscrapy-splash

Unable to import 'scrapy_splash' pylint(import-error)


when trying to import Splash Request in VS Code, I get the following error message:

Unable to import 'scrapy_splash' pylint(import-error)

Do you know why this is the case? I have Splash up and running and the package is installed in my environment. I am using Python 3.7

Here is a screenshoot


Solution

  • Problem solved, I was in the wrong environment. You can change the environment in the command pallete (Ctrl+Shift+P) and enter Python: Select Interpreter