Skip to content

Failed to 'import numpy as np' and use np.xx in lpython #2814

Open

Description

@gtarcoder
image

As the above image shows, am I using by the wrong way?

Activity

  1. changed the title [-]Failed to 'import numpy as np' in lpython[/-] [+]Failed to 'import numpy as np' and use np.xx in lpython[/+] on Nov 9, 2024
  2. kmr-srbh commented on Nov 10, 2024

    @kmr-srbh
    Contributor

    Yes, import aliasing is currently unsupported in LPython. We have an issue for it at #2026.

  3. patelalay231 commented on Nov 24, 2024

    @patelalay231

    can I work on this?

  4. kmr-srbh commented on Nov 24, 2024

    @kmr-srbh
    Contributor

    @patelalay231 please go ahead.

  5. amritamishra01 commented on Nov 24, 2025

    @amritamishra01

    Hi! @kmr-srbh I'd like to work on this issue.

    I noticed the last activity was over a year ago and no PR was opened, so I’d like to pick this up and work on a fix for import numpy as np alias support.

    Please let me know if that’s okay — I can start immediately.
    Thanks!

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