-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hello :)
Thank you for providing this great tool!
I tried to install NetMedPy without specifying software versions for the dependencies:
name: netmedpy
channels:
- conda-forge
- bioconda
- defaults
dependencies:
- conda-forge::python=3.11
- pip
- pip:
- jupyterlab
- networkx
- seaborn
- matplotlib
- numpy
- pandas
- ray
- scipy
- netmedpy==0.1.171When running the provided basic example, this resulted in the following error:
Traceback (most recent call last):
File "/home/johannes/workspace/NetMedPy/examples/Basic_example.py", line 53, in <module>
import netmedpy
File "/home/johannes/miniforge3/envs/netmedpy/lib/python3.11/site-packages/netmedpy/__init__.py", line 5, in <module>
from .NetMedPy import (
File "/home/johannes/miniforge3/envs/netmedpy/lib/python3.11/site-packages/netmedpy/NetMedPy.py", line 84, in <module>
from ray._private.utils import get_ray_temp_dir
ImportError: cannot import name 'get_ray_temp_dir' from 'ray._private.utils' (/home/johannes/miniforge3/envs/netmedpy/lib/python3.11/site-packages/ray/_private/utils.py)
Apparently, the newest version of ray (v2.52.1) no longer provides that function.
Fixing the ray version to 2.20.0 (like you do in the environment file in the GitHub repo), solves the issue.
I just wanted to let you know in case you'd like to update your code to make it compatible with the most recent version of ray or add software version restrictions to the README.
Metadata
Metadata
Assignees
Labels
No labels