Open WhenMelancholy opened 6 months ago
Thanks a lot! Solved my issue. Note that if using mamba or conda to update dask, I think it will automatically update pandas version. While scenicplus requires pandas=1.5.0, better use
pip install dask[array,complete,dataframe,diagnostics,distributed]==2024.5.0
to avoid other conflicts.
Ignore the pip install error, the scenicplus could run properly.
Hi. In my case, got the same error and I tried the pip install inside a conda environment as suggested by @Richardosgrapevine , but it did proceed to update pandas to 2.2.2, which then created error in the scenicplus pipeline of course. I haven't figured out how to reverse it or make everything correct (due to pin-1 requiring python 3.11.* while pandas 1.5.0, doesn't).
Edit: got it to work using the following install if that can help someone, including java for mallet and jupyterlab, with dask version 2024.4.1: ` conda activate scenicplus
pip install .
conda install jupyter jupyterlab
conda install conda-forge::openjdk
pip install dask==2024.4.1 `
Hi. In my case, got the same error and I tried the pip install inside a conda environment as suggested by @Richardosgrapevine , but it did proceed to update pandas to 2.2.2, which then created error in the scenicplus pipeline of course. I haven't figured out how to reverse it or make everything correct (due to pin-1 requiring python 3.11.* while pandas 1.5.0, doesn't).
Edit: got it to work using the following install if that can help someone, including java for mallet and jupyterlab, with dask version 2024.4.1: ` conda activate scenicplus
pip install .
conda install jupyter jupyterlab
conda install conda-forge::openjdk
pip install dask==2024.4.1 `
I just downgraded the pandas==1.5.0 (as that is what is required by scenicplus) and it worked.
Describe the bug While using the snakemake pipeline to process the example data, I encountered the following error ( I only took the the last section since the call stack is very deep)
To Reproduce Processing sample data using the snakemake pipeline.
Error output See the Describe the bug section.
Expected behavior No ValueError should be throwed.
Screenshots N/A
Version (please complete the following information):
Additional context According to my investigation, this is due to an incompatibility between the dask and python versions. the version of dask used by scenicplus is incompatible with python 3.11.9 (issue here), but 3.11.9 is the latest python 3.11 release, which is used when creating conda environments as described in the README. So the dask version may need to be updated?
After updating the version of dask to 2024.05, this problem got solved.