Skip to content

Problem with building the python interface  #92

Open
@flotang-gtt

Description

@flotang-gtt

Hi,
when following the directions from https://nomad-4-user-guide.readthedocs.io/en/latest/LibraryMode.html#pynomad-interface, in combination with the info in the readme of the python interface (there's a bit of a difference between these two, fyi, in the online version, the quite necessary --config Release option, without which the build fails when linking), a .pyd file is generated and an .egg is put into the site-packages, everything seemingly working fine.

However, importing with pynomad does not work: ImportError: DLL load failed while importing PyNomad: The specified module could not be found.

Given the instructions mentioned above are working with the "old" msvc versions, it may be relevant that I tried it using -G"Visual Studio 17 2022" which does not support an [Arch] option because w32 is deprecated (I think).

Any hints?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions