Closed ivandebono closed 4 years ago
I solved this problem (after countless rounds of trial and error).
The required GLIBCXX_3.4.21 is included in the Anaconda libraries. Anaconda is available on the CC-in2p3 computing cluster, so the solution was:
I hope this is helpful to other users.
Many thanks @ivandebono .
You're welcome, @williamjameshandley.
The earlier versions of PolychordLite (up to the previous version, in fact) worked straight out of the box, so I was wondering whether you've changed your Python distribution, perhaps to Anaconda.
I don't think there have been any changes to the python implementation recently on PolyChord's side. Are you saying that if you do a fresh install in a virtualenv for previous versions it works, but for the newest version (again a fresh install) it doesn't? I think things can play up with anaconda on upgrading from an existing install, due to the compiled components of the package.
There are multiple issues here, so I'll describe them all. Hopefully it will help other users.
I got the error below when I tried to install pypolychord with Python 2.7.3.
The installation works perfectly well with Python 2.7.15.
But I'm getting an error when I try to import the module:
So it seems GLIBCXX_3.4.21 is required. The problem is that the latest version of GLIBCXX available (I'm working on the CC-in2p3 cluster) is GLIBCXX_3.4.19. Is there any way to make pypolychord work with the earlier version?