Open kpmercier opened 3 months ago
Interesting. I'm going to try to replicate it in my environment. My suspicion is that it's a problem with msprime looking for its GSL installation, but it's not working due to conda and pip not playing together well.
Hmm, I can't replicate it on my computer (MAC OSX 14.2.1). It shouldn't be a problem between 13.6-14.2, but that's all it seems it could be. Here's what I did:
mamba install -c conda-forge gdal
pip install git+https://github.com/connor-french/spaceprime
(sptest) connorfrench connorfrench:~$ python3
Python 3.11.9 | packaged by conda-forge | (main, Apr 19 2024, 18:34:54) [Clang 16.0.6 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import spaceprime as sp
Matplotlib is building the font cache; this may take a moment.
Is that about what you did?
I'm going to create a test for installations on a MacOSX 13.x.x to investigate, but it'll take a bit. That's a weird error.
Okay, so it looks like it's a Mac OSX version problem. It installs successfully on Mac OSX 14, but not on Mac OSX 13. It's an msprime issue, rather than a spaceprime issue, so this is a problem that may take a while to solve unfortunately. I'm hoping that doing everything through conda will magically solve the issue, but I'm going to work on a general solution.
After some more digging, the msprime folks have encountered this issue as well, but it's on the back-burner until their next release (https://github.com/tskit-dev/msprime/issues/2285). Unfortunately, it looks like running the latest msprime/spaceprime in general on a MacOSX 13.X is impossible for now. I use some of the latest msprime features, otherwise I'd try using an earlier version for spaceprime.
Environment Information
Description
Installation seemed to go successfully, but receive an error when importing
What I Did