Running Ng's linear regression model test shows No module named 'ipympl'

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,
insert image description here
then enter pip install --user ipympl
insert image description here
to install successfully, and finally run innovatively, success!
insert image description here

Guess you like

Origin blog.csdn.net/CBCY_csdn/article/details/128671902