Skip to content

Cannot create custom image in Julia 1.10: Method overwriting is not permitted during Module precompilation #555

Open

Description

Activity

  1. mkitti commented on Feb 4, 2024

    @mkitti
    Member

    Do you have __precompile__(false) somewhere in your source files?

  2. denizyuret commented on Feb 4, 2024

    @denizyuret
    Author

    I have no source files, just trying to create a plain sys.so that works with conda.

  3. mkitti commented on Feb 4, 2024

    @mkitti
    Member

    I'm not sure I understand. If you have no new source code, there should not be a reason to create a new system image. What are your objectives? Do you encounter a problem otherwise?

    Also have you considered using juliacall? I just deployed a package to here:
    https://anaconda.org/julialang/pyjuliacall

    conda install julialang::pyjuliacall
  4. denizyuret commented on Feb 4, 2024

    @denizyuret
    Author
  5. mkitti commented on Feb 4, 2024

    @mkitti
    Member

    I think most settle for the following when using pyjulia.

    from julia.api import Julia
    jl = Julia(compiled_modules=False)

    However, I think pyjuliacall probably works better in this situation. Let me know if that's not the case.

  6. mkitti commented on Feb 4, 2024

    @mkitti
    Member

    If pyjuliacall does work better, I would appreciate your feedback on conda-forge/staged-recipes#25097

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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions