Skip to content Skip to sidebar Skip to footer

Unresolved Import Selenium In Python

I have just downloaded Visual Studio Code and tried to run some Python code. However, when I try to import Seleinum I receive the following error: from selenium import webdriver fr

Solution 1:

The links below address the issue you are having. Your workspace settings are improperly configured. By adding the PATH of the virtual environment library/packages to the workspace settings, settings.json, file will correct the issue.

An example of my configuration in Windows 10:

"python.pythonPath": "C:\\Users\\UserName\\python-virtual-environments\\env\\lib",

Pylint "unresolved import" error in visual studio code

https://code.visualstudio.com/docs/getstarted/settings#_settings-file-locations


Post a Comment for "Unresolved Import Selenium In Python"