0
import gi ModuleNotFoundError: No module named 'gi'
I was trying to create a virtual assistant using python but I got this error. What should I do now?
2 Antworten
+ 2
It is not available in SoloLearn, but if you are making it on your own PC, try using:
Windows: "pip install pgi" not gi.
Because gi is the name of an unrelated package in PyPi. But if you want to install the gi module, you have to install pgi as this is it's name in PyPi.
But import it as gi not pgi
+ 1
I don't kno a library called 'gi' but if it exist, you should install the package in your system to use it, try:
pip install gi
command in cmd to install it