Why doesn’t Pycharm show the methods of a class?

Asked

Viewed 375 times

0

I want to know why Pycharm doesn’t show the methods of a class by pressing control + space. Normally IDE’S show all methods present in the class. In the image below I show what the IDE suggests of methods for any class.

inserir a descrição da imagem aqui

  • https://answall.com/questions/306887

1 answer

1


I was able to solve my problem by updating the Python interpreter inside Pycharm.

1) First click on the top tab in File ->Settings.

2) I clicked on Project: Untitled (Name of my project) -> Project interpreter -> Show All..

inserir a descrição da imagem aqui

3) The next step was to add interpreter(+).

inserir a descrição da imagem aqui

4) Finally, I entered Virtualenv Environment, selected New Nvironment, selected the Python interpreter in Base interprete. Then I marked the options and clicked OK.

inserir a descrição da imagem aqui

Pycharm made some upgrades of the interpreter and when finished it started to show all the methods belonging to the class. The process is the same on both Linux and Windows.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.