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

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



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