LouisFaure / scFates

a scalable python suite for tree inference and advanced pseudotime analysis from scRNAseq data.
https://scfates.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
47 stars 1 forks source link

DLL load failed while importing _loess: The specified module could not be found. #12

Closed rajpiyush18 closed 10 months ago

rajpiyush18 commented 1 year ago

I am getting this error while importing scfates

import scFates as scf

Entire error message:

File "C:\Users\plato\anaconda3\envs\raman_analysis\lib\site-packages\spyder_kernels\py3compat.py", line 356, in compat_exec exec(code, globals, locals)

File "c:\users\plato\onedrive - johns hopkins\2023\2023-02\2023-02-23\sc_fates_attempt_v1.py", line 12, in import scFates as scf

File "C:\Users\plato\anaconda3\envs\raman_analysis\lib\site-packages\scFates__init__.py", line 10, in from . import pp

File "C:\Users\plato\anaconda3\envs\raman_analysis\lib\site-packages\scFates\pp.py", line 1, in from scFates.preprocessing import *

File "C:\Users\plato\anaconda3\envs\raman_analysis\lib\site-packages\scFates\preprocessing__init__.py", line 1, in from .pagoda2 import filter_cells, batch_correct, find_overdispersed

File "C:\Users\plato\anaconda3\envs\raman_analysis\lib\site-packages\scFates\preprocessing\pagoda2.py", line 22, in from ..tools.utils import get_SE, bh_adjust, importeR

File "C:\Users\plato\anaconda3\envs\raman_analysis\lib\site-packages\scFates\tools__init__.py", line 9, in from .graph_fitting import tree, curve, circle, explore_sigma

File "C:\Users\plato\anaconda3\envs\raman_analysis\lib\site-packages\scFates\tools\graph_fitting.py", line 20, in from ..plot.trajectory import graph as plot_graph

File "C:\Users\plato\anaconda3\envs\raman_analysis\lib\site-packages\scFates\plot__init__.py", line 7, in from .synchro_path import synchro_path

File "C:\Users\plato\anaconda3\envs\raman_analysis\lib\site-packages\scFates\plot\synchro_path.py", line 7, in from skmisc.loess import loess

File "C:\Users\plato\anaconda3\envs\raman_analysis\lib\site-packages\skmisc\loess__init__.py", line 51, in from ._loess import (loess, loess_model, loess_inputs, loess_control,

ImportError: DLL load failed while importing _loess: The specified module could not be found.

LouisFaure commented 1 year ago

Apologies for the lack of answer, I am currently doing a sabbatical.

I have not tested extensively the tool on windows, and I suspect this error is specific to that OS. I can suggest you two things: