python-lz4 icon indicating copy to clipboard operation
python-lz4 copied to clipboard

ModuleNotFoundError: No module named 'lz4._version'

Open chappanagaraju0810 opened this issue 1 year ago • 11 comments

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'

chappanagaraju0810 avatar Nov 28 '23 19:11 chappanagaraju0810

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

nkdanta1 avatar Dec 10 '23 13:12 nkdanta1

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 .

chappanagaraju0810 avatar Dec 10 '23 15:12 chappanagaraju0810

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

nkdanta1 avatar Dec 11 '23 03:12 nkdanta1

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

nkdanta1 avatar Dec 11 '23 07:12 nkdanta1

@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

mozaa-vn avatar Mar 05 '24 10:03 mozaa-vn

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

u2019999999 avatar Mar 15 '24 09:03 u2019999999

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

CSharped avatar May 14 '24 05:05 CSharped

@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)

chappanagaraju0810 avatar May 14 '24 15:05 chappanagaraju0810

im facing this PROBLEMMMMM, please helpp😭😭

IbrahimAdeoye avatar Jul 30 '24 14:07 IbrahimAdeoye

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

IbrahimAdeoye avatar Jul 30 '24 14:07 IbrahimAdeoye

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.

mado-opus avatar Aug 02 '24 14:08 mado-opus