You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The datashape package can not be installed in a python 3.12 environment due to versioneer module which invokes configparser.SafeConfigParser(). This class has been renamed to ConfigParser in Python 3.2. SafeConfigParser then became a deprecated alias and has been removed in Python 3.12.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: