luca-fiorito-11/sandy

Installation in Windows

promojar opened this issue · 0 comments

Due to MSVC compiler not being supported by setuptools from version 65.0.0, sandy installation fails when doing python setup.py install with the following message:

from distutils.msvccompiler import get_build_version as get_build_msvc_version ModuleNotFoundError: No module named 'distutils.msvccompiler'

To fix this error, setuptools should be downgraded to the latest version compatible with MSVC:

conda install setuptools=64.0.3

Furthermore, to avoid future problems, it is recommended that the file requirements_conda.txt reflects this.