安装python包,报权限错误

报错

Installing collected packages: opencv-contrib-python, fonttools, cssselect, attrdict, scikit-image, pdf2docx, cssutils, premailer, imgaug, paddleocr
ERROR: Could not install packages due to an OSError: [Errno 13] 权限不够: '/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/cv2/LICENSE.txt'
Consider using the `--user` option or check the permissions.

解决方案,增加–user

python3 -m pip install paddleocr  --user

你可能感兴趣的:(笔记,python,opencv,开发语言)