It runs successfully (no error given). It simply output: ['CRT-0', 'DFP-0']
Note: i should use "python2" instead of "python"... running python executes the v3 version that gives syntax errors in script.
So i've run this: PYTHONPATH=/usr/share/disper/src python2 -c 'import nvidia; n=nvidia.NVidiaControl(); print n.probe_displays(nvidia.Screen(0))'
It runs successfully (no error given).
It simply output:
['CRT-0', 'DFP-0']
Note: i should use "python2" instead of "python"... running python executes the v3 version that gives syntax errors in script.
So i've run this: /usr/share/ disper/ src python2 -c 'import nvidia; n=nvidia. NVidiaControl( ); print n.probe_ displays( nvidia. Screen( 0))'
PYTHONPATH=