import wikipedia 
from IPython.display import display, Markdown # add for Jupyter

# Gets input from User
term = input("Enter the term you want to search: ")
result = wikipedia.search(term)
# Get the summary of the first result
summary = wikipedia.summary(result[0])
print(term) 
# print(summary) # console display
display(Markdown(summary)) # Jupyter display
---------------------------------------------------------------------------

ModuleNotFoundError                       Traceback (most recent call last)

/Users/nitinb/coding/vscode/student/_notebooks/2023-09-01-Wikipedia-Search-With-Python.ipynb Cell 2 line 1
----> <a href='vscode-notebook-cell:/Users/nitinb/coding/vscode/student/_notebooks/2023-09-01-Wikipedia-Search-With-Python.ipynb#W1sZmlsZQ%3D%3D?line=0'>1</a> import wikipedia 
      <a href='vscode-notebook-cell:/Users/nitinb/coding/vscode/student/_notebooks/2023-09-01-Wikipedia-Search-With-Python.ipynb#W1sZmlsZQ%3D%3D?line=1'>2</a> from IPython.display import display, Markdown # add for Jupyter
      <a href='vscode-notebook-cell:/Users/nitinb/coding/vscode/student/_notebooks/2023-09-01-Wikipedia-Search-With-Python.ipynb#W1sZmlsZQ%3D%3D?line=3'>4</a> # Gets input from User


ModuleNotFoundError: No module named 'wikipedia'