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

Re: [HTCondor-users] How to get htcondor2 bindings using pip install?



For PyPI, we build for the oldest version available in the manylinux platform. So, htcondor2 is available for Python 3.8 and newer from PyPI.

So, on Rocky 8 you can either install a newer version of Python (AppStream has python38, python39, python3.11, and python 3.12) or you can use the Python bindings in python3-condor-25.2.1

...Tim

On 10/28/25 02:21, Jeff Templon wrote:
$ pip3 install htcondor==25.2.1
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement htcondor==25.2.1 (from versions: 8.8.15, 9.0.17, 10.0.9, 10.3.1)
ERROR: No matching distribution found for htcondor==25.2.1

So yes, old htcondor.  Any idea why it canât find the newer ones?  Is there some python version requirement on newer releases?   Iâm on rocky 8 so the python release is pretty old - 3.6.8

JT


On 27 Oct 2025, at 19:16, Todd L Miller via HTCondor-users <htcondor-users@xxxxxxxxxxx> wrote:

that, I could say âimport htcondor2â and it worked.  NOW, using just pip, and pip install htcondor, I can only do âimport htcondorâ - âimport htcondor2â DOES NOT WORK so neither would import htcondor2 as htcondor.
That strongly implies that you're installing a rather old version of the htcondor package --


lmiller@steeve:~$ pip install --target /tmp/pypi-test htcondor
Collecting htcondor
  Downloading htcondor-25.2.1-cp39-cp39-manylinux_2_28_x86_64.whl (50.7 MB)
     |ââââââââââââââââââââââââââââââââ| 50.7 MB 2.6 MB/s
Installing collected packages: htcondor
Successfully installed htcondor-25.2.1
tlmiller@steeve:~$ PYTHONPATH=/tmp/pypi-test python3
Python 3.9.2 (default, Mar 20 2025, 02:07:39)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
import htcondor2
/tmp/pypi-test/htcondor2/__init__.py:27: UserWarning: The environment variable CONDOR_CONFIG is unset and none of the default locations contain a condor_config file.  Using /dev/null, instead.
  _warnings.warn(message)


-- but any details you can provide on which wheel you're installing would be helpful.

-- ToddM_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe

The archives can be found at: https://www-auth.cs.wisc.edu/lists/htcondor-users/

_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe

The archives can be found at: https://www-auth.cs.wisc.edu/lists/htcondor-users/

--
Tim Theisen (he, him, his)
Release Manager
Center for High Throughput Computing
University of Wisconsin - Madison
3695 Morgridge Hall
1205 University Ave
Madison, WI 53706