Python upgrade pip and install opencv, moviepy packages

Create a new python directory path
Insert picture description here
Insert picture description here
python -m pip install --upgrade pip in the environment variable to upgrade pip, pip install opencv-python to install opencv package
Insert picture description here
pip install moviepy to install moviepy package. If the download is slow, you can manually download a package https://www.lfd.uci.edu/~gohlke/pythonlibs/#imreg and
Insert picture description here
Insert picture description here
then use cmd to enter the whl file directory and install it
Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_43873198/article/details/107630135