a Python code snippet, the shorter the better, that runs and exhibits the issue
I'm trying to fit a linear mixed effect model. I tried this in both jupyter lab and spyder, both were installed in the same line as conda create --name...., so they followed the same channel priority as the installation of pymer. I tried the following code:
from pymer4.models import Lmer
import pandas as pd
df = pd.read_pickle('df.pkl')
mod = Lmer('Width~ TreatCntrl*PrePost+(1|Trail)', data = df)
print(mod.fit())
In both cases, I get the following error:
RRuntimeError: Error in initializePtr() :
function 'chm_factor_ldetL2' not provided by package 'Matrix'
I presume this is coming from the r-matrix package which according to the conda environment is as follows:
r-matrix 1.6_5 r42hb447869_0 conda-forge
My only suspicion is that this relates to the fact that I'm using an M1 Mac. I saw that you have previously resolved an issue with the M1 and no arch - Issue #38 , but perhaps this is something new? Here is some information about the conda environment pymer4 is installed in.
3. Conda environment
Activate the conda environment that has pymer4 installed, run the
following command in a terminal window, and upload the pymer4_issue.txt file as
an attachment with your issue.
Please answer these questions:
Does installing pymer4 into a clean conda environment in any of these four ways solve the problem? If so, which worked and which didn't?
conda create --name test_env1 -c ejolly -c defaults -c conda-forge pymer4
conda create --name test_env2 -c ejolly -c conda-forge -c defaults pymer4
conda create --name test_env3 -c ejolly/label/pre-release -c defaults -c conda-forge pymer4
conda create --name test_env4 -c ejolly/label/pre-release -c conda-forge -c defaults pymer4
Please provide the following information
1. Description
After creating a Pymer4 Lmer model, it fails becuase of :
2. Minimal reproducible example
These are the shortest steps that reconstruct the problem.
the command or commands you ran to to install pymer4:
conda install pymer4 ...
create --name pymer4 -c ejolly -c conda-forge -c defaults pymer4 spyder
a Python code snippet, the shorter the better, that runs and exhibits the issue
I'm trying to fit a linear mixed effect model. I tried this in both jupyter lab and spyder, both were installed in the same line as
conda create --name....
, so they followed the same channel priority as the installation of pymer. I tried the following code:In both cases, I get the following error:
I presume this is coming from the r-matrix package which according to the conda environment is as follows:
My only suspicion is that this relates to the fact that I'm using an M1 Mac. I saw that you have previously resolved an issue with the M1 and no arch - Issue #38 , but perhaps this is something new? Here is some information about the conda environment pymer4 is installed in.
3. Conda environment
Activate the conda environment that has pymer4 installed, run the following command in a terminal window, and upload the
pymer4_issue.txt
file as an attachment with your issue.pymer4_issue.txt
4. System information
Please provide the specifics about your computer hardware architecture and operating system version. For example: