set ‘tools.system.package_manager:mode‘ to ‘install‘ in the [conf] section of the profile

vdpau/system: ERROR: while executing system_requirements(): System requirements: ‘libvdpau-dev’ are missing but can’t install because tools.system.package_manager:mode is ‘check’.Please update packages manually or set ‘tools.system.package_manager:mode’ to ‘install’ in the [conf] section of the profile, or in the command line using ‘-c tools.system.package_manager:mode=install’

python 3.7
conan 1.60.0

解决:

vim ~/.conan/global.conf

写入后保存:

tools.system.package_manager:mode = install
tools.system.package_manager:sudo = True

猜你喜欢

转载自blog.csdn.net/x1131230123/article/details/132559789