Lesson 2 VScode not importing fastai or gradio

I am using the windows terminal and followed the setup instructions from the fastsetup link, and within said terminal it shows that I have both fastai and nbdev fully installed. However, when attempting to follow along with the deployment model in lesson 2 by pasting the export code into vscode, I found that neither fastai nor gradio import.

I tried to circumvent this issue by instead doing the export in jupyter notebook that Professor Howard used in the video, but within my jupyter notebook it states that I cannot import notebook2script from nbdev.export.

How do I fix this so that fastai properly imports?

before you can import a library, that library needs to be installed on your machine.

Fastai : conda install -c fastchan fastai
Gradio : pip install gradio

You can refer the documentation for further details: