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

Re: [HTCondor-users] Installing HTCondor python bindings on a Mac

On the question of running stuff on Macs, is this an Intel or an ARM processor? Naively that might be part of the installation issue.



Matthew T. West
HPC sysadmin & DRI professional
University of Exeter
57 Laver Building, North Park Road, Exeter, EX4 4QE, United Kingdom


From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> On Behalf Of Joseph Areeda
Sent: 25 May 2022 10:12 PM
To: htcondor-users@xxxxxxxxxxx
Subject: Re: [HTCondor-users] Installing HTCondor python bindings on a Mac


CAUTION: This email originated from outside of the organisation. Do not click links or open attachments unless you recognise the sender and know the content is safe.


I had this problem a while ago. Since Condor Week is going on it may take a while to get a definitive answer from people who really understand it.

If you dig into the htcondor python packages you'll see that they require a python dyld which is not in the anaconda install. If you install a package from python.org (https://www.python.org/downloads/) https://www.python.org/downloads/

I've been using conda packages that solve the problem with black magic as far as I can tell. I'm not sure if you could use thee packages without other packages but maybe:

htcondor                  9.6.0            py39h6e9494a_0    conda-forge
htcondor-classads         9.6.0                hb05cfb2_0    conda-forge
htcondor-utils            9.6.0                h2c495eb_0    conda-forge
python-htcondor           9.6.0            py39h8bdd5e7_0    conda-forge




On 5/25/22 1:45 PM, Matthew Burger wrote:

I’m trying to install the Python bindings on Mac OS 10.15.7 (Catalina) running anaconda Python 3.8.13. I was able to install the package with conda, but I can’t import it. Here’s what I get:


In [1]: import htcondor


ImportError                               Traceback (most recent call last)

Input In [1], in <cell line: 1>()

----> 1 import htcondor


File ~/condor/lib/python3/htcondor/__init__.py:54, in <module>

     49             _os.environ["CONDOR_CONFIG"] = "/dev/null"

     52 _check_for_config()

---> 54 from . import htcondor, _lock

     56 # get the version using regexp ideally, and fall back to basic string parsing

     57 try:


ImportError: dlopen(/Users/mburger/condor/lib/python3/htcondor/htcondor.cpython-38-darwin.so, 2): Library not loaded: /Library/Frameworks/Python.framework/Versions/3.8/Python

  Referenced from: /Users/mburger/condor/lib/python3/htcondor/htcondor.cpython-38-darwin.so

  Reason: image not found


The Python.framework looks like it’s related to the system installed Python which in my case is 2.7, but the Frameworks folder is in /System and I don’t have the 3.8 version anyway. Any ideas how to get this to work? It seems to me it should be looking for something in my current Python environment.


Thanks for any help.





Dr. Matthew Burger

Senior Staff Astronomical Data Scientist

Data Processing & Archive Services (DPAS), Deputy Branch Manager

Space Telescope Science Institute






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: