how to make complier accept gradio
Asked
Active
Viewed 1,953 times
1
-
Hi and welcome to Stack Overflow. What have you tried to resolve the error so far? – Shaun Ramsey Mar 04 '23 at 07:56
1 Answers
1
firstly make sure that you have installed the library using the following command.
pip install gradio
The solution is to select the python3 interpreter inside the bin/ folder of the python installed
click on the enter interpreter path here and choose the python3 inside the bin it will get the import error solved.
in my case i was using a venv so i'm selecting the python3 so that the pylint in the vscode will now the packages.

Surya R
- 445
- 2
- 10
-
Hello Thanks for the ans but what I have done is created a venv and selected python interpreter but still the compiler is not accepting the gradio – Sravan Avvaru Mar 05 '23 at 07:09
-
Have u tried pointing to python instead python3 ? have tried reinstalling the package – Surya R Mar 05 '23 at 19:03