Skip to content

setuptools 60.1.0: issue with pep517 build of the mpi4py module (it fails with module 'setuptools._distutils.cygwinccompiler' has no attribute 'get_versions') #2995

Answered by dalcinl
kloczek asked this question in Q&A
Discussion options

You must be logged in to vote

@kloczek Sorry for the late reply. I just upgraded (via pip) to setuptools 60.2.0, and pip install mpi4py seems to be working just fine (at least on macOS).

I see what's going on in your build logs. The mpi4py wheel was built just fine, because build dependencies are installed in an isolated environment (as the log says), and the you are most likely using latest setuptools 60.2.0. However, a subsequent command is doing /usr/bin/python3 setup.py build_sphinx .... Then you are no longer on the previous isolated build environment. Now you are using the system Python installation, and your setuptools version is most likely < 60.2.0. Run pip install -U setuptools==60.2 before the setup.py buil…

Replies: 3 comments 28 replies

Comment options

You must be logged in to vote
10 replies
@dalcinl
Comment options

@webknjaz
Comment options

@dalcinl
Comment options

@webknjaz
Comment options

@webknjaz
Comment options

Comment options

You must be logged in to vote
2 replies
@abravalheri
Comment options

@kloczek
Comment options

Answer selected by kloczek
Comment options

You must be logged in to vote
16 replies
@abravalheri
Comment options

@kloczek
Comment options

@abravalheri
Comment options

@kloczek
Comment options

@webknjaz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants