![python - AttributeError: module 'discord' has no attribute 'ui' when trying to create button in discord.py - Stack Overflow python - AttributeError: module 'discord' has no attribute 'ui' when trying to create button in discord.py - Stack Overflow](https://i.stack.imgur.com/WcJ5B.png)
python - AttributeError: module 'discord' has no attribute 'ui' when trying to create button in discord.py - Stack Overflow
![I am working on a discord bot using Python. Everytime I run the program, error shows up "discord module not found." I installed discord.py using pip - Stack Overflow I am working on a discord bot using Python. Everytime I run the program, error shows up "discord module not found." I installed discord.py using pip - Stack Overflow](https://i.stack.imgur.com/fhwKF.png)
I am working on a discord bot using Python. Everytime I run the program, error shows up "discord module not found." I installed discord.py using pip - Stack Overflow
![I am getting an error running this discord bot code. Can anyone help? - Python - The freeCodeCamp Forum I am getting an error running this discord bot code. Can anyone help? - Python - The freeCodeCamp Forum](https://global.discourse-cdn.com/freecodecamp/original/4X/b/9/1/b91e2f353c423ade338ccf6516b41b025b2fc3a5.png)