Skip to content

Windows Python 3.11, 3.12 matrix CI fail due to ImportError: DLL load failed while importing pdffit2 #238

Closed
diffpy/diffpy.pdffit2
#111

Description

@bobleesj

Problem

Screenshot 2024-12-07 at 3 01 13 PM

Windows Python 3.11 and 3.12 fail due to ImportError: DLL load failed while importing pdffit2

Ref: https://github.com/diffpy/diffpy.pdfgui/actions/runs/12215530301/job/34077576222

In our CI, since we are also testing pdffit, we install pdfgui using the following methods:

          conda install --file requirements/test.txt
          conda install wxpython diffpy.utils matplotlib-base
          pip install diffpy.pdffit2==1.4.4rc6
          python -m pip install . --no-deps

using the installation method above, I was able to run pdfgui via macOS ARM64.

Proposed solution

But I recall this was a problem back then. @sbillinge @Tieqiong any insights on this DLL lad import problem?

I will have access to a windows laptop in the next 2-3 days or so.

Activity

  1. changed the title [-]Windows Python 3.11, 3.12 CI fails due to `ImportError: DLL load failed while importing pdffit2`[/-] [+]Windows Python 3.11, 3.12 matrix CI fail due to `ImportError: DLL load failed while importing pdffit2`[/+] on Dec 7, 2024
  2. sbillinge commented on Dec 8, 2024

    @sbillinge
    Contributor

    I thought the problems we had with windows were finding gsl during the build. @Tieqiong so you remember this problem?

    We could try and solve it out just jump to the full 3.13 and work on everything together? Install pdffit2 from conda-forge and see if that fixes it?

  3. added this to the v3.1.0 milestone on Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions