When I try to open an spss
(.SAV) file in pandas
module I get an error message about pyreadstat
even I had downloaded the package.
Code:
import pandas as pd
print(pd.read_spss('file.SAV'))
Output:
ImportError: Missing optional dependency 'pyreadstat'. Use pip or conda to install pyreadstat.
Could you please tell me how can I solve this problem?