无法导入'scrapy_splash'pylint(导入错误)

时间:2019-04-16 12:21:58

标签: python-3.x scrapy pylint splash scrapy-splash

当尝试在VS Code中导入启动请求时,出现以下错误消息:

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

您知道为什么会这样吗?我已经启动并运行,并且该软件包已安装在我的环境中。我正在使用Python 3.7

Here is a screenshoot

1 个答案:

答案 0 :(得分:1)

问题解决了,我在错误的环境中。您可以在命令面板(Ctrl + Shift + P)中更改环境,然后输入Python:选择Interpreter

相关问题