首先需要安装的是 pip install cassandra-driver pip install lz4 pip install python-snappy Arch 需要pacman -S snappy