Skip to content

bulk_writer tries to use /usr/local/lib/python3.11/site-packages/bulk_writer and runs into permission error #3015

@wolfganghuse

Description

@wolfganghuse

Hello!
When using bulk_writer in a Jupyter Notebook it fails with permissions error.

PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.11/site-packages/bulk_writer'

local_path = Path(sys.argv[0]).resolve().parent.joinpath("bulk_writer")

Found here: https://github.com/milvus-io/pymilvus/blob/43f04470bc3f3488957cf0c58877fdb317da9c09/pymilvus/bulk_writer/remote_bulk_writer.py#L115C9-L116C1

Can we ensure that local writes will not happen in this location ?

Regards,
Wolfgang

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