Open VS Code. Press Ctrl+Shift+P (or Cmd+Shift+P on Mac) and search for "Python: Select Interpreter". Select the Python interpreter where Streamlit and NumPy are installed. Save your changes and restart VS Code.