Open xtianpoli opened 1 year ago
A quick fix is to download the 0.5.4 tar.gz from the release section, then
tar -xzvf 0.5.4.tar.gz
cd datashape-0.5.4/
sed -i 's/SafeConfigParser/ConfigParser/g' versioneer.py
sed -i 's/readfp/read_file/g' versioneer.py
python3.12 -m pip install .
SafeConfigParser was replaced by ConfigParser in latest Python v3.12
The
datashape
package can not be installed in a python 3.12 environment due toversioneer
module which invokesconfigparser.SafeConfigParser()
. This class has been renamed toConfigParser
in Python 3.2.SafeConfigParser
then became a deprecated alias and has been removed in Python 3.12.