Article directory
Problem Description
When running Wu Enda's linear regression model test, it showed No module named 'ipympl'.
At that time, I used the setting in pycharm to add ipympl, but the following error occurred:
ERROR: Could not install packages due to an EnvironmentError: [WinError 5] Access denied
At the end it also suggested that I use the –user command. I guess it is because of permissions, so I can only use the command line to install.
Solution
Use the command line to switch to the Lib\site-packages folder in python,
then enter pip install --user ipympl
to install successfully, and finally run innovatively, success!