Avatar ·

PyCharm does not identify the math module

📁 Advanced Python Topics, AI, work

When writing import math, PyCharm underlines math with a red line and when hovering the cursor over it, it shows No module named math. The math module itself works, i.e. when executing the code

import mathprint(math.pi)

I get the desired 3.14...

However, PyCharm does not recognize this module and it is not in External Libraries. How can I make PyCharm "see" it again?

Avatar ·

Buttons and slash commands in the official Discord framework have not been implemented yet, but there are ready-made modules compatible with the original

On GitHub, there are such solutions:

support for slash commands (input hints) and buttons

support for slash commands

support for buttons

Log in to leave an answer

Blogs