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

[HTCondor-users] How to install python bindings into a Conda environment



We run most of or code in custom condo environments.
For our utilities that use the latest [and greatest] condor bindings the only item I have in my environment.yaml files is "python-htcondorâ

This brings in the following:
$ conda list |\grep -i condor
htcondor-classads         24.9.2               h0bff942_1    conda-forge
libcondor_utils           24.9.2               h809137d_1    conda-forge
pycondor                  0.6.0              pyhd8ed1ab_1    conda-forge
python-htcondor           24.9.2          py311h477abd4_1    conda-forge

But we seem to be missing a boost package:
$ python --version
Python 3.11.13
$ python -c 'import htcondor'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/joseph.areeda/.conda/envs/ligo-omicron-3.11-test2/lib/python3.11/site-packages/htcondor/__init__.py", line 74, in <module>
    import classad
  File "/home/joseph.areeda/.conda/envs/ligo-omicron-3.11-test2/lib/python3.11/site-packages/classad/__init__.py", line 47, in <module>
    from .classad import *
ImportError: libboost_graph.so.1.88.0: cannot open shared object file: No such file or directory

Boost does get installed 

$ conda list boost
# packages in environment at /home/joseph.areeda/.conda/envs/ligo-omicron-3.11-test2:
#
# Name                    Version                   Build  Channel
libboost                  1.86.0               h6c02f8c_3    conda-forge
libboost-python           1.88.0          py311h5b7b71f_0    conda-forge

I donât see a package for libboost_graph 
What am I missing?

Best,
Joe