Skip to content

pyreadstat.read_sav won't work on databricks #311

@marcmaxson

Description

@marcmaxson

Please read the README, particularly the known limitations section!

When I try this:
df, meta = pyreadstat.read_sav("/Volumes/sandbox/schema/folder/myfile.sav")
I get "Unknown Error".

This happens for versions 1.3.1, 1.3.0, 1.2.9, and 1.2.8 but works fine in 1.2.7.

To Reproduce
databricks (serverless) environment version 4

File example
Tried with many SAV files; any file will reproduce.

Expected behavior
File loads

Setup Information:
How did you install pyreadstat?

  • tested with !pip install pyreadstat==1.3.1 in notebook or using the databricks environment GUI (version 4).

Platform: linux
Python Version: Python 3.12.3 (main, Aug 14 2025, 17:47:21) [GCC 13.3.0] on linux

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions