zhaofangyuan98 / SDMBench

25 stars 2 forks source link

ModuleNotFoundError: No module named 'SDMBench' #6

Closed rocketeer1998 closed 5 months ago

rocketeer1998 commented 5 months ago

Hi @yuanzhiyuan @zhaofangyuan98 , thanks for your contribution to this work! Now i'm facing a trouble with installing SDMBench. I'm working on a linux machine and have followed your instruction on this link. However, SDMBench can't be imported beacuse it can't be found in Jupyter Notebook. Weirdly, I can import SDMBench in terminal. Below is my session info.

-----
numpy               1.22.4
pandas              2.0.3
scanpy              1.9.8
scipy               1.9.1
session_info        1.0.0
sklearn             1.3.2
squidpy             1.2.3
-----
Click to view modules imported as dependencies
PIL                 10.3.0
anndata             0.8.0
asciitree           NA
asttokens           NA
backcall            0.2.0
beta_ufunc          NA
binom_ufunc         NA
cloudpickle         3.0.0
colorama            0.4.6
comm                0.2.2
cycler              0.12.1
cython_runtime      NA
cytoolz             0.12.3
dask                2023.5.0
dask_image          2023.03.0
dateutil            2.9.0
debugpy             1.8.1
decorator           5.1.1
docrep              0.3.2
executing           2.0.1
h5py                3.11.0
hypergeom_ufunc     NA
igraph              0.11.5
imageio             2.34.1
importlib_metadata  NA
importlib_resources NA
ipykernel           6.29.4
jedi                0.19.1
jinja2              3.1.4
joblib              1.4.2
kiwisolver          1.4.5
lazy_loader         0.4
leidenalg           0.10.2
llvmlite            0.38.1
lz4                 4.3.3
markupsafe          2.1.5
matplotlib          3.7.3
matplotlib_scalebar 0.8.1
mpl_toolkits        NA
msgpack             1.0.8
natsort             8.4.0
nbinom_ufunc        NA
ncf_ufunc           NA
networkx            3.1
numba               0.55.2
numcodecs           0.12.1
packaging           24.0
parso               0.8.4
patsy               0.5.6
pexpect             4.9.0
pickleshare         0.7.5
pkg_resources       NA
platformdirs        4.2.2
prompt_toolkit      3.0.44
psutil              5.9.8
ptyprocess          0.7.0
pure_eval           0.2.2
pyarrow             16.1.0
pydev_ipython       NA
pydevconsole        NA
pydevd              2.9.5
pydevd_file_utils   NA
pydevd_plugins      NA
pydevd_tracing      NA
pygments            2.18.0
pyparsing           3.1.2
pytz                2024.1
pywt                1.4.1
seaborn             0.13.2
six                 1.16.0
skimage             0.20.0
stack_data          0.6.3
statsmodels         0.14.1
tblib               3.0.0
texttable           1.7.0
threadpoolctl       3.5.0
tifffile            2020.6.3
tlz                 0.12.3
toolz               0.12.1
tornado             6.4
traitlets           5.14.3
typing_extensions   NA
validators          0.28.2
wcwidth             0.2.13
xarray              2022.11.0
yaml                6.0.1
zarr                2.17.1
zipp                NA
zmq                 26.0.3
-----
IPython             8.12.3
jupyter_client      8.6.2
jupyter_core        5.7.2
-----
Python 3.8.19 | packaged by conda-forge | (default, Mar 20 2024, 12:47:35) [GCC 12.3.0]
Linux-5.15.0-86-generic-x86_64-with-glibc2.10
-----
Session information updated at 2024-05-28 07:15
DuoDuoMifasuo commented 5 months ago

I had this problem too, did you solve it please?

wwww
zhaofangyuan98 commented 5 months ago

Please change your first line of code to “import SDMBench as sdmbench”, thank you for your problem.