RuntimeError: Decompression 'SNAPPY' not available. Options: ['GZIP', 'UNCOMPRESSED']
See original GitHub issueOutput:
RuntimeError: Decompression 'SNAPPY' not available. Options: ['GZIP', 'UNCOMPRESSED']
Code:
from fastparquet import ParquetFile
filename = 'somefile.parquet'
pf = ParquetFile(filename)
Environment:
$ python -V; pip list | grep -e fastparquet -e snapp
Python 3.6.5
fastparquet 0.1.6
python-snappy 0.5.3
I’ve tried install snappy instead of python-snappy. Still no joy because with these installed…
python-snappy 0.5.3
snappy 2.6.1
snappy-manifolds 1.0
I get the error:
AttributeError: module 'snappy' has no attribute 'compress'
Issue Analytics
- State:
- Created 5 years ago
- Comments:17 (8 by maintainers)
Top Results From Across the Web
Decompression 'SNAPPY' not available with fastparquet
I circumvented the issue by using GZIP compression to save the Parquet file, then switching to pyarrow engine as that was far faster....
Read more >RuntimeError: Decompression 'SNAPPY' not available. Options
Options : ['BROTLI', 'GZIP', 'UNCOMPRESSED'] What happened: I got this error as in the title while trying to read parquet files.
Read more >Decompression 'SNAPPY' not available with fastparquet
I am trying to use fastparquet to open a file, but I get the error: RuntimeError: Decompression 'SNAPPY' not available. Options: ['GZIP', 'UNCOMPRESSED']....
Read more >成功解决RuntimeError: Decompression 'SNAPPY' not ...
成功解决RuntimeError: Decompression 'SNAPPY' not available. Options: ['GZIP', 'UNCOMPRESSED']目录解决问题解决思路解决方法解决 ...
Read more >Operations On A Dask Dataframe Fail When Using Snappy ...
Output: RuntimeError: Decompression 'SNAPPY' not available. Options: ['GZIP' 'UNCOMPRESSED'] Code: from fastparquet import ParquetFile.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
RuntimeError: Decompression ‘SNAPPY’ not available. Options: [‘GZIP’, ‘UNCOMPRESSED’]
Try this please :
pip install fastparquet pyarrow dask
On Ubuntu linux, I simply installed python-snappy from conda-forge, and it simply avoids the error.