Error when installing python-snappy in PyCharm

柔情痞子 提交于 2020-12-13 21:04:45

问题


I have a '.snappy.parquet' file and I wanted to view the content in this file, I know I can use pandas and PySpark.

This is beyond my knowledge, I'm not sure what to do, can someone help me please... I've been struggling for almost a day now.... Many thanks. (and if I can't fix this issue, do I have other options to convert this file to a readable file?)


回答1:


This issue has been solved by using the approach here: Can't install python-snappy wheel in Pycharm




回答2:


You need snappy library written in C installed. Try this:

sudo apt-get install libsnappy-dev
pip3 install python-snappy


来源:https://stackoverflow.com/questions/65107086/error-when-installing-python-snappy-in-pycharm

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!