Ex-Mente / auxi.0

GNU Lesser General Public License v3.0
8 stars 8 forks source link

thermo.Material - cannot import name 'ValidationError' from 'cerberus' #210

Open brrmek opened 2 years ago

brrmek commented 2 years ago

Never version of cerberus do not support name 'ValidationError'. Version later than x.x of cerberus creates this error when running e.g. ilmenite = Material('Ilmenite', './materials/ilmenite.txt'). site-packages\cerberus__init__.py. Running on python3.9 In cerberus manual this is stated: Changed in version 1.0: Errors are stored as ValidationError in a ErrorList.

Pip also warn for dependency resolver: "ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. auxi 0.3.6 requires cerberus<=0.9.2, but you have cerberus 1.3.4 which is incompatible."

Solution would then be either downgrade cerberus or update auxi.