Closed shedurkin closed 1 month ago
First suggestion is to close project and restart R.
Then try again.
I just zoomed with Sam and we were able to fix the conda and biopython issues by simply uninstalling and reinstalling the reticulate package! ShortStack is back up and running again on my machine.
I've been having some issues rerunning ShortStack for A.pulchra using the updatded genome (code here).
First, I was able to activate and load the ShortStack conda environment, but running ShortStack resulted in the error:
This suggests the Biopython is missing, so I tried installing it but had permission issues, I think because the conda environment is set up in Sam's directories. I also manually checked whether biopython is already installed (at
/home/sam/programs/mambaforge/pkgs
, and there are multiple biopython directories, so I'm still stumped.After my biopython debugging attempts though, I've somehow caused a different issue accessing the conda environment itself. Now when I try to load the ShortStack conda environment (
use_condaenv(condaenv = shortstack_conda_env_name, conda = shortstack_cond_path)
), I get the errorI checked the python path being accessed (
py_config()
), and saw:So it turns out I'm accessing the wrong python location (
/usr/bin/python3
instead of/home/sam/programs/mambaforge/envs/ShortStack-4.0.3_env/bin/python
) by default, and I can't figure out how to fix that. I've tried restarting R several times, but it still automatically initializes/usr/bin/python
I'm not sure why I'm having such difficulty with this code, since I was able to run nearly-identical code in
deep-dive
with no issues. The only thing that's changed is the input genome file. If anyone has any insights, I'd be super grateful!