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

Re: [HTCondor-users] Problem installing Python bindings



Hi Ángel,

 

Does the machine you are trying to install the python bindings already have HTCondor installed? If not, I recommend

>>> conda create -n dhtc -c conda-forge htcondor
which should get you everything you’d want for running locally AFAIK.


Then there are a number of different ways to start a personal pool, but if you want to stick with the Python API - https://htcondor.readthedocs.io/en/latest/apis/python-bindings/tutorials/Personal-Pools.html

Cheers,

Matt

From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> On Behalf Of tpdownes@xxxxxxxxx
Sent: 06 October 2021 05:20 PM
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Subject: Re: [HTCondor-users] Problem installing Python bindings

 

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.

 

By eye, what I believe you're trying to do is install a single package from conda-forge on top of the anaconda distribution and you're running into trouble with the anaconda package itself (which doesn't 

 

Think of conda-forge as an entire ecosystem of packages as an alternative to the default distribution.

 

The conda-forge instructions guide you to use the conda-forge distribution first for all packages.

 

 

You might consider using this approach, but you might want to try it with a totally separate miniconda installation (not just a new conda env).

 

Tom

 

On Mon, Oct 4, 2021 at 1:52 PM Angel de Vicente <angel.de.vicente@xxxxxx> wrote:

Hello,

I tried to install the Python bindings using conda (with the latest
Anaconda distribution), following the instructions in
https://anaconda.org/conda-forge/htcondor

,----
| conda install -c conda-forge python-htcondor
`----

but it gives me lots of troubles and the bindings cannot be installed.

These messages come from an earlier anaconda distribution (from last
year), but the "UnsatisfiableError" remains:

,----
| $ conda install -c conda-forge python-htcondor
| Collecting package metadata (current_repodata.json): done
| Solving environment: failed with initial frozen solve. Retrying with flexible solve.
| Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
| Collecting package metadata (repodata.json): done
| Solving environment: failed with initial frozen solve. Retrying with flexible solve.
| Solving environment: -
| Found conflicts! Looking for incompatible packages.
| This can take several minutes.  Press CTRL-C to abort.
| failed
|
| UnsatisfiableError: The following specifications were found
| to be incompatible with the existing python installation in your environment:
|
| Specifications:
|
|   - alabaster -> python[version='2.7.*|3.5.*|3.6.*|>=2.7,<2.8.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|3.4.*|>=3.7,<3.8.0a0']
|   - anaconda==2020.11 -> python[version='3.7.9|3.8.5',build='h7579374_1|h7579374_0']
|   - argon2-cffi -> python[version='2.7.*|3.5.*|3.6.*|3.6.12|3.6.12|3.7.10|3.7.9|3.6.9|3.6.9|3.6.9|3.6.9|>=3.5,<3.6.0a0|3.4.*|3.7.*|3.9.*|3.8.*',build='0_73_pypy|3_73_pypy|4_73_pypy|5_73_pypy|5_73_pypy|0_73_pypy|1\
| _73_pypy|2_73_pypy|1_73_pypy']
`----


Did anyone find a similar issue? Any advice?

Thanks,
--
Ángel de Vicente

Tel.: +34 922 605 747
Web.: http://research.iac.es/proyecto/polmag/
---------------------------------------------------------------------------------------------
AVISO LEGAL: Este mensaje puede contener información confidencial y/o privilegiada. Si usted no es el destinatario final del mismo o lo ha recibido por error, por favor notifíquelo al remitente inmediatamente. Cualquier uso no autorizadas del contenido de este mensaje está estrictamente prohibida. Más información en: https://www.iac.es/es/responsabilidad-legal
DISCLAIMER: This message may contain confidential and / or privileged information. If you are not the final recipient or have received it in error, please notify the sender immediately. Any unauthorized use of the content of this message is strictly prohibited. More information:  https://www.iac.es/en/disclaimer

_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

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