ucl-pond / pySuStaIn

Subtype and Stage Inference (SuStaIn) algorithm with an example using simulated data.
MIT License
135 stars 64 forks source link

About some installation error #51

Closed Teemoninja closed 5 months ago

Teemoninja commented 5 months ago

Sorry for taking your time. My installation ended with "ERROR: Could not build wheels for awkde, which is required to install pyproject.toml-based projects", and I guess that belongs to the awkde error you mentioned in the readme, so I proceed to run the test with "python validation.py -f", then another error occurred "ModuleNotFoundError: No module named 'pySuStaIn'". My environment is python 3.11, pip 23.1.2 and dumpy 1.24.4 on Mac. Besides, I have also tried using anaconda to create a virtual environment for downgrading python but the same error occurred.

Is there any possible solution?

noxtoby commented 5 months ago

I managed to install pySuStaIn in python 3.11 via conda using the following set of commands:

conda create -n pysustain_py3p11 python=3.11
conda activate pysustain_py3p11
python -m pip install numpy
python -m pip install git+https://github.com/ucl-pond/pySuStaIn

I'm also on a Mac. Good luck!