I am trying to use the python API from a machine that does not have
condor installed. I did 'pip install htcondor' and now I am trying
this:
>>> import htcondor
Neither the environment variable CONDOR_CONFIG,
/etc/condor/, /usr/local/etc/, nor ~condor/ contain a condor_config source.
Either set CONDOR_CONFIG to point to a valid config source,
or put a "condor_config" file in /etc/condor/ /usr/local/etc/ or ~condor/
>>> import classad
>>> coll = htcondor.Collector("192.168.10.2")
>>> ads = coll.query(htcondor.AdTypes.Startd)
12/17/17 13:12:36 ERROR "Unwilling or unable to try IPv4 or IPv6.
Check the settings ENABLE_IPV4, ENABLE_IPV6, and NETWORK_INTERFACE.
" at line 1212 in file
/var/lib/condor/execute/slot1/dir_5110/htcondor_source/src/ condor_io/sock.cpp
To use the API from a client machine like this do I have to have a
full blown installed and configured condor?
_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@cs.wisc.edu with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor- users
The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/