[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[HTCondor-users] problem with new condor install



Hi,

I'm trying to learn about condor administration, so I'm trying to setup a 2 machine pool both runnin MacOS 12.6.5.

I get errors when running python based commands like:

$ condor_check_password
Traceback (most recent call last):
 File "/usr/local/condor-10.2.4/bin/condor_check_password", line 16, in <module>
ÂÂÂ import htcondor
ModuleNotFoundError: No module named 'htcondor'

I tracked it down to /usr/local/condor-10.2.4/condor.sh which contains:

if [ "X" != "X${PYTHONPATH-}" ]; then
 PYTHONPATH="/usr/local/condor-10.2.4/lib/python:$PYTHONPATH"
else
 PYTHONPATH="/usr/local/condor-10.2.4/lib/python"
fi

BUT the directory looks like it should be /usr/local/condor-10.2.4/lib/python3 at least changing it lets me get 1 line further now it returns:

Âcondor_check_password
Traceback (most recent call last):
 File "/usr/local/condor-10.2.4/bin/condor_check_password", line 16, in <module>
ÂÂÂ import htcondor
 File "/usr/local/condor-10.2.4/lib/python3/htcondor/__init__.py", line 74, in <module>
ÂÂÂ import classad
 File "/usr/local/condor-10.2.4/lib/python3/classad/__init__.py", line 47, in <module>
ÂÂÂ from .classad import *
ModuleNotFoundError: No module named 'classad.classad'

Any suggestions will be appreciated.