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

Re: [HTCondor-users] Python 3 bindings in HTCondor 8.9.11

Hi Quentin,

The Python bindings contain compiled libraries, and so the version of the Python interpreter used has to match the version of Python the bindings were compiled against. The versions distributed via RPM and DEB packages match the versions of Python available via the Linux distributions' standard package repositories (Python 3.6 for CentOS 7, for example). The workaround, as you have done, is to install via pip or conda.

Jason Patton

On Wed, Mar 10, 2021, 9:44 AM Quentin Le Boulc'h <quentin.leboulch@xxxxxxxxxxx> wrote:

With the development version 8.9.11, I canât import the Python bindings using Python > 3.6.
Using Python 3.9 I got for instance: "ImportError: cannot import name 'htcondor' from partially initialized module 'htcondor' (most likely due to a circular import) (/usr/lib64/python3.6/site-packages/htcondor/__init__.py)".
With Python 3.6 it works. Strangely, using the same version bindings from pip solves this issue. Is this a known problem?

Best regards,
Quentin Le Boulc'h_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting

The archives can be found at: