For example, when I enter import wordcloud in pycharm the python console when installing wordcloud library, the following error occurs:
ModuleNotFoundError: No module named 'wordcloud'
Solution:
1. First check you are using python
import sys print(sys.executable)
get:
2. Enter cmd command in win10 system, the default installation path to your python path
Since has been installed as the default path before, so there will be can not find the library, the library will now be installed in the correct path to solve the problem it! ^ _ ^