Rhodium icon indicating copy to clipboard operation
Rhodium copied to clipboard

Specific dependencies

Open jdossgollin opened this issue 5 years ago • 1 comments

I have been helping a student run the Eijgenraam example and built a conda environment to install required packages. It's available at https://github.com/jdossgollin/conda-envs/blob/master/environments/rhodium.yml.

First I tried running python 3.6, but ran into an issue with the comb function in scipy, which has moved from scipy.misc to scipy.special. If there are specific versions of scipy needed, that should be reflected in requirements.txt and setup.py. Now I can get anything running, but can't plot anything because I get an AttributeError: module 'matplotlib.colors' has no attribute 'to_rgba'. This seems to be another version issue.

It would be really helpful for me to develop the above conda environment so that it "just works" can be used for teaching.

jdossgollin avatar May 05 '20 20:05 jdossgollin

I'm having a similar issue with dependencies, and it looks like others have made other, related Issues on this topic. My specific issue is ModuleNotFoundError: No module named 'sklearn.externals.six' from Rhodium/rhodium/classification.py. Looking at the requirements.txt in Rhodium there is no version of sklearn specified. This could perhaps be fixed if one of the developers ran pip freeze > requirements.txt in a working environment.

NLaws avatar Sep 10 '20 23:09 NLaws

This should be fixed after updating to pyproject.toml. Also have GitHub Actions testing to pick up any regressions.

dhadka avatar Nov 22 '22 01:11 dhadka