这是因为权限问题,被拒绝。
在命令行添加--user
例如:
pip install opencv-contrib-python --user
opencv-contrib-python:
该face模块实际上并不是opencv图书馆的一部分。更确切地说,face是部分的的opencv-contrib库。从自述文件:
此存储库[ opencv-contrib]用于开发所谓的“额外”模块,提供功能。新模块通常没有稳定的API,并且它们没有经过良好测试。因此,它们不应作为官方OpenCV发行版的一部分发布,因为该库保持二进制兼容性,并试图提供良好的性能和稳定性。
opencv-contrib需要单独安装。正如@james指出的那样(在一条现已删除的评论中),获取Python版本的当前简单方法就是:
pip install opencv-contrib-python --user
运行上述pip调用后,您的代码应该可以正常工作。
bind: An attempt was made to access a socket in a way forbidden by its access permissions.
场景发现原先可以
Running pip as root will break packages and permissions. You should install packages reliably by usi
意思是:不要以root的身份去执行Ctrl + d 退出root模式重新执行你的命令就行
'xxx_Forms' is not a valid Application Database or User 'sa' does not have sufficient permissions to check
在配置Infor SyteLine "Configuration"时,点击“Test User...”按钮,显示成功连接。但点击“ok”按钮时,它即显示“'xxx_Forms' is not a valid Application Database or User 'sa' does not have sufficient permissions to check”错识信息。如下图:解决此问题,需要进入Database服务器,重启一下SQL Server的服务:sSQL Server重启完毕之后,再回到Utility Server把"