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

Re: [HTCondor-users] ModuleNotFoundError on WINDOWS10



Hi Leon,

Unfortunately, the python bindings are minor version specific, and not all minor versions of python are supported by the htcondor and classad modules. I believe the only support python version on Windows 10 is python 3.9. Note, in the future version we are rolling out a version 2 of our python api that is not python minor version dependent.

-Cole Bollig

From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> on behalf of Leon Thielen <L.Thielen@xxxxxxxxxxxx>
Sent: Friday, October 25, 2024 8:56 AM
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Subject: [HTCondor-users] ModuleNotFoundError on WINDOWS10
 

Hello everyone,

I'm having trouble importing the HTCondor classad with Python.

I get the following error message

 

$python d:\condor\bin\onedrive_plugin.py -classad

Traceback (most recent call last):

  File "d:\condor\bin\onedrive_plugin.py", line 15, in <module>

    import classad

  File "D:\condor\lib\python\classad\__init__.py", line 47, in <module>

    from .classad import *

ModuleNotFoundError: No module named 'classad.classad'

 

I work with the condor_version

$CondorVersion: 23.0.12 2024-06-13 BuildID: 739441 $

$CondorPlatform: x86_64_Windows10 $

 

 

PYTHONPATH=D:\condor\lib\python;D:\condor\bin

 

python --version

Python 3.6.8

 

Can anyone help me to fix this problem?

 

Thanks for your help in advance

Leon

 

 

Dipl.-Ing. Leon Thielen
Software Development

MAGMA Gießereitechnologie GmbH

P: +49 241 88901 244 
Kackertstrasse 16-18, 52072 Aachen, Germany 
www.magmasoft.de
L.Thielen@xxxxxxxxxxxx


 GERMANY ● USA ● BRAZIL ● SINGAPORE ● SOUTH KOREA ● CHINA ● INDIA ● TURKEY ● CZECH REPUBLIC

Bewertung von Simulationsergebnissen mit MAGMASOFT® / Evaluation of Simulation Results with MAGMASOFT®

Sandguss / Sand Casting: 27.11.2024 + 05.03.2025
Druckguss / High Pressure Die Casting: 06.03.2025

MAGMA Gießereitechnologie GmbH | Kackertstraße 16-18, 52072 Aachen, Germany | Legal form: GmbH, Register court: Aachen HRB 3912, Value added tax identification number: DE121745780 | Management: Dr. Marc C. Schneider (CEO and President), Dipl.-Ing. Mathieu Weber (Managing Director)