Skip to content

ModuleNotFoundError: No module named 'lz4._version' #273

Open

Description

@chappanagaraju0810

I am getting the below error when I execute import lz4.frame as lz4 though the packages are available . can you please help to fix the issue ?

ModuleNotFoundError: No module named 'lz4._version'

Activity

  1. nkdanta1 commented on Dec 10, 2023

    @nkdanta1

    Hi @chappanagaraju0810 facing same issue. did you find any solution ?

  2. chappanagaraju0810 commented on Dec 10, 2023

    @chappanagaraju0810
    Author

    Hi , I was able to resolve the issue after installing the packages through pip . Earlier , I have copied the supported packages manually to the site_packages folder .

  3. nkdanta1 commented on Dec 11, 2023

    @nkdanta1

    Okay, I am using aws lambda function so have to add the package manually.

  4. nkdanta1 commented on Dec 11, 2023

    @nkdanta1

    BTW, fixed the issue by downloading the package on aws CloudShell.

  5. mozaa-solana commented on Mar 5, 2024

    @mozaa-solana

    @nkdanta1 Hello, I'm facing with this issue.
    +) I installed lz4 version 2.2.1 on windows 10
    Please guide me how to fix it. Thank you so much

  6. u2019999999 commented on Mar 15, 2024

    @u2019999999

    @mozaa-vn Need to download the correct version. Pay attention to the Python version and CPU bits.

  7. CSharped commented on May 14, 2024

    @CSharped

    My Python version is 3.9.13 and the lz4 version is 4.3.3, but I still see the same error

  8. chappanagaraju0810 commented on May 14, 2024

    @chappanagaraju0810
    Author

    @CSharped how did you installed the packages ? Have you copied manually or through pip ? When we run through pip , it will install the supported wheels based on the environment (Linux/windows)

  9. JordanAdeoye commented on Jul 30, 2024

    @JordanAdeoye

    im facing this PROBLEMMMMM, please helpp😭😭

  10. JordanAdeoye commented on Jul 30, 2024

    @JordanAdeoye

    @nkdanta1 im facing the same problem im trying it on vscode. im on python 3.11. please did you find a solution?

  11. mado-opus commented on Aug 2, 2024

    @mado-opus

    I faced this issue (inside an AWS lambda function) with python 3.9 and lz4 4.3.3 (installed with pip), but fixed it by switching to python 3.10.

  12. yisamlee-rea commented on Dec 5, 2024

    @yisamlee-rea

    I tried python 3.9, 3.10, 3.11 on lambda layer
    all cannot

    Package Version


    certifi 2024.8.30
    charset-normalizer 3.4.0
    clickhouse-connect 0.8.9
    idna 3.10
    lz4 4.3.3
    pip 23.0.1
    pytz 2024.2
    requests 2.32.3
    setuptools 65.5.0
    urllib3 2.2.3
    zstandard 0.23.0

    Function Logs:
    [ERROR] Runtime.ImportModuleError: Unable to import module 'lambda_function': No module named 'lz4._version'
    Traceback (most recent call last):
    INIT_REPORT Init Duration: 698.55 ms Phase: init Status: error Error Type: Runtime.ImportModuleError
    INIT_REPORT Init Duration: 3060.46 ms Phase: invoke Status: timeout
    START RequestId: 56932414-3e25-4c16-b5f6-2cd20350a72e Version: $LATEST
    2024-12-05T06:18:52.934Z 56932414-3e25-4c16-b5f6-2cd20350a72e Task timed out after 3.08 seconds

    END RequestId: 56932414-3e25-4c16-b5f6-2cd20350a72e
    REPORT RequestId: 56932414-3e25-4c16-b5f6-2cd20350a72e Duration: 3082.66 ms Billed Duration: 3000 ms Memory Size: 128 MB Max Memory Used: 19 MB

    Request ID: 56932414-3e25-4c16-b5f6-2cd20350a72e

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