With newer versions of setuptools, I get the error
Traceback (most recent call last):
File "setup.py", line 64, in <module>
from numpy.distutils.core import setup
File "/Users/zachcm/miniforge3/envs/pyme/lib/python3.8/site-packages/numpy/distutils/core.py", line 24, in <module>
from numpy.distutils.command import config, config_compiler, \
File "/Users/zachcm/miniforge3/envs/pyme/lib/python3.8/site-packages/numpy/distutils/command/config.py", line 19, in <module>
from numpy.distutils.mingw32ccompiler import generate_manifest
File "/Users/zachcm/miniforge3/envs/pyme/lib/python3.8/site-packages/numpy/distutils/mingw32ccompiler.py", line 28, in <module>
from distutils.msvccompiler import get_build_version as get_build_msvc_version
ModuleNotFoundError: No module named 'distutils.msvccompiler'
There's a discussion of the source of this error at pypa/setuptools#3505.
Installing setuptools<65 solves the issue. Perhaps we should pin this from now on?
With newer versions of
setuptools, I get the errorThere's a discussion of the source of this error at pypa/setuptools#3505.
Installing
setuptools<65solves the issue. Perhaps we should pin this from now on?