pycharm import package error, unable to recognize __init__

Sometimes some packages are clearly installed, but pycharm still cannot import them and cause an error (underlined red line).
It is found that it is not recognized __init__.py, just add it in the following position in the settings:
insert image description here

Guess you like

Origin blog.csdn.net/a1097304791/article/details/128135617