Perhaps you should add the directory containing `opencv.pc‘问题解决方法

tech2023-02-19  98

先找到文件位置

locate opencv.pc

显示 /root/anaconda3/envs/pytorch/lib/pkgconfig/opencv.pc /root/anaconda3/pkgs/opencv3-3.1.0-py36_0/lib/pkgconfig/opencv.pc

然后执行

cp /root/anaconda3/pkgs/opencv3-3.1.0-py36_0/lib/pkgconfig/opencv.pc /usr/lib/pkgconfig

最新回复(0)