This seems like a problem with VSCode not being set to the correct Python interpreter. Also, have you tried reactivating the virtual environment? Check your current pip list to make sure the package is installed in the correct environment.
pip list