I literally just want to open a web page with python. I think the issue is that Jupyter notebooks is using a different version of python than selenium is being stored in, but I'm not sure how that's possible when I'm installing selenium from Jupyter notebooks. I'll put more details below.
My example code is boring as heck:
from selenium import webdriver
driver = webdriver.chrome()
driver.get('http://python.org')
This of course gives the error in the title. My OS is Linux, distribution is Linux Mint. Terminal says that I have Python 2.7.17, pip is version 9.0.1 (python 2.7).
Trying to install selenium by running
!pip2 install selenium
gives "selenium" and "selenium-3.141.0 dist-info" folders in the path /home/frogsnakeman/.local/lib/python2.7/site-packages (my user is frogsnakeman :P )
However, the input
from platform import python_version
print(python_version())
returns 3.6.9.