I developed a small program with twilio a few days ago and it was working perfectly until today. When I run the code I get the error "No module named 'twilio'". I already tried uninstalling and reinstalling it, I also checked, and don't have any archive called twillio, the python version i'm using is the latest, the library seems to be correctly installed... Any idea of what may be happening?
The line of code that im trying to run is from twilio.rest import Client
If you are installed 'twilio' in a virtual environment then you are probably not activating and using it properly.
The error can also be caused due to Circular import, which happens when you have a file named 'twilio' in the same directory as the program file. You can prevent that by changing the name to something else.
If you have more than one version of python you are probably using the wrong version, so select the correct version of the interpreter for python in your IDE.
ModuleNotFoundError: No module named 'twilio'