You might try to import venv/Lib/site-packages into sys.path.
sys.path.append(os.path.abspath("../venv/Lib/site-packages"))
This way sphinx would know where to look for pandas.