You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ModuleNotFoundError: No module named 'lz4._version' #273
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 .
@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)
Activity
nkdanta1 commentedon Dec 10, 2023
Hi @chappanagaraju0810 facing same issue. did you find any solution ?
chappanagaraju0810 commentedon Dec 10, 2023
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 .
nkdanta1 commentedon Dec 11, 2023
Okay, I am using aws lambda function so have to add the package manually.
nkdanta1 commentedon Dec 11, 2023
BTW, fixed the issue by downloading the package on aws CloudShell.
mozaa-solana commentedon Mar 5, 2024
@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
u2019999999 commentedon Mar 15, 2024
@mozaa-vn Need to download the correct version. Pay attention to the Python version and CPU bits.
CSharped commentedon May 14, 2024
My Python version is 3.9.13 and the lz4 version is 4.3.3, but I still see the same error
chappanagaraju0810 commentedon May 14, 2024
@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)
JordanAdeoye commentedon Jul 30, 2024
im facing this PROBLEMMMMM, please helpp😭😭
JordanAdeoye commentedon Jul 30, 2024
@nkdanta1 im facing the same problem im trying it on vscode. im on python 3.11. please did you find a solution?
mado-opus commentedon Aug 2, 2024
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.
yisamlee-rea commentedon Dec 5, 2024
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