Want a word cloud, when writing code, you need to install wordcloud module, run after installation, incorrect report:
moudule 'pip' has no attribute 'main'
Baidu most questions, findings may be due to pip10 version no 'main', so I searched for a downgrade of several methods, one of which is:
python -m pip install --upgrade pip==9.0.3
After the error again:
ModuleNotFoundError:No module named 'matplotlib'
In the absence of prompt matplotlib module, but I run "pip install matplotlib" Without this module, also had this problem before, the settings can also be directly mounted display search:
So https://www.lfd.uci.edu/~gohlke/pythonlibs/ download matplotlib of whl file to start the installation:
1. Open cmd, input python -m pip install matplotlib.whl
2. After another error as shown:
3. Enter the python -m pip install --upgrade pip updated version pip
Question everyone you meet is not the same, the same error may be caused by different circumstances, require specific analysis of specific issues.