⚡ Sangsakala Proxy 🏠 Home
Skip to content

Can rustpython use pip to download libraries that rely on C extensions? #5335

Closed

Description

@carrt123

Can rustpython use pip to download libraries that rely on C extensions?
I encountered the error"ModuleNotFoundError: No module named '_ctypes'when downloading some libraries that rely on C extensions. For example, download: ujson, markupsafe.
but, those libraries written by pure cpython I can download normally.

Activity

  1. youknowone commented on May 21, 2024

    @youknowone
    Member

    No, not yet.
    But ctypes issue and c extension support is a bit different issue.

    ctypes: #1217 #2364

    implementing ctypes itself doesn't guarantee C extension compatibiltity.

  2. carrt123 commented on May 22, 2024

    @carrt123
    Author

    thank you.

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