Open const7 opened 2 years ago
Hi @const7, thanks for your bug report! I'll keep this issue open until I have a chance to explore in more detail. But in the meantime, I verified that I was able to get timecorr up and running in a conda environment built from the following environment:
name: tc
channels:
- conda-forge
- defaults
dependencies:
- python=3.9
- numpy=1.22.1
- pandas=1.4.0
- scipy=1.7.3
- matplotlib=3.5.1
- seaborn=0.11.2
- scikit-learn=0.23.2
- umap-learn=0.5.2
- requests=2.27.1
- deepdish=0.3.7
- nose=1.3.7
- sphinx=4.4.0
- ca-certificates=2021.10.8
- openssl
- pip:
- duecredit==0.9.1
- future==0.18.2
- ppca==0.0.4
- hypertools==0.7.0
- sphinx==4.4.0
- timecorr==0.1.5
If you copy that text into a file named "environment.yml", then you can create a new conda environment using conda env create -f environment.yml
. To use it, run conda activate tc
.
It worked. Thanks you!
I also tried to install timecorr
on a new machine using different python versions (3.7
and 3.9
) with different installation approaches (pip
, conda
+ pip
, or environment.yml
). All installations under python 3.7 failed with the above problem and everything worked fine under python 3.9. So there may be some compatibility issues with the older python version.
Thanks for the information! I've updated the README to note that only Python 3.9+ is supported for now. I'll leave this issue open until I can explore further and debug.
Summary
The installation stuck in looking for compatible requirements.
Problem
I tried both installation commands
and
Here is the output log:
Other information
os version: Ubuntu 20.04 python version: 3.7.13
I also tried to install it in a clean virtual environment and still got the same output.