Closed rmarable-flaretx closed 2 months ago
Hi @rmarable-flaretx ,
It's recommended to install pcluster in a Python virtual env, to avoid conflicts with other Python dependencies. See instructions here: https://docs.aws.amazon.com/parallelcluster/latest/ug/install-v3-virtual-environment.html
This will solve any kind of library incompatibility issues.
I am using a virtual Python environment. The issue is that the most recent version of setuptools doesn't seem to work; downgrading to 69.5.1 did.
@rmarable-flaretx thanks for the workaround, reverting to setuptools==69.5.1
did the trick for me. Looks like setuptools==70.0.0
deprecated pkg_resources
which is causing the error. https://setuptools.pypa.io/en/latest/pkg_resources.html
I just found that we were aware of this issue, so we pinned setuptools a month ago: https://github.com/aws/aws-parallelcluster/pull/6251 the fix has been included starting from ParallelCluster 3.9.1
Thank you @enrico-usai!
AWS ParallelCluster 3.9.0 and beyond don't seem to work with the most recently released version of setuptools (70.0.0) on OSX.
Revering back to
setuptools-69.5.1
seems to fix the issue.I didn't test this, but I suspect the same is true for Linux as well.