减压'SNAPPY'不适用于fastparquet [英] Decompression 'SNAPPY' not available with fastparquet

查看:248
本文介绍了减压'SNAPPY'不适用于fastparquet的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用fastparquet打开文件,但出现错误:

I am trying to use fastparquet to open a file, but I get the error:

RuntimeError: Decompression 'SNAPPY' not available.  Options: ['GZIP', 'UNCOMPRESSED']

我已经安装了以下软件,并重新启动了我的解释器:

I have the following installed and have rebooted my interpreter:

python                    3.6.5                hc3d631a_2  
python-snappy             0.5.2                    py36_0    conda-forge
snappy                    1.1.7                hbae5bb6_3  
fastparquet               0.1.5                    py36_0    conda-forge

一切都顺利下载.我不知道我是否需要snappy或python-snappy,所以我得到了一个没有解决办法,却得到了另一个,但仍然没有成功.下载快照时,我发现的所有相关问题均已修复,但是如果有两个快照,我仍然会收到此错误!任何帮助将不胜感激.

Everything downloaded smoothly. I didn't know if I needed snappy or python-snappy so I got one had no fix and got the other, still with no success. All related issues I have found are fixed when downloading snappy, but I am still getting this error with having two snappys! Any help would be appreciated.

推荐答案

运行:

pip install python-snappy
pip install pyarrow 

应该可以解决问题.

我认为您缺少pyarrow软件包.

如果pip出现错误,请改用conda(即conda install python-snappy或仍然出现错误conda install -c conda-forge python-snappy).

If you have an error with pip, use conda instead (i.e., conda install python-snappy or if you still have errors conda install -c conda-forge python-snappy).

这篇关于减压'SNAPPY'不适用于fastparquet的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆