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

[HTCondor-users] Error with import htcondor



Hi,
I've just installed condor 23.7.2 on my windows 11 machine running python 3.12.3 and get the following error when trying to run a python script.

C:\temp>python condorTest.py
Traceback (most recent call last):
 File "C:\temp\condorTest.py", line 2, in <module>
  import htcondor
 File "C:\condor\lib\python\htcondor\__init__.py", line 74, in <module>
  import classad
 File "C:\condor\lib\python\classad\__init__.py", line 47, in <module>
  from .classad import *
ModuleNotFoundError: No module named 'classad.classad'

From your previous user emails it appears that your code was probably compiled on a previous, incompatible, version of python? Can you tell me what version of python is the latest for that version of HTCondor please, or correct meÂif I'm wrong? I don't remember having this issue before on my previous installs, but then again my memory is not that good :)

Thanks,
Guy