berenslab / t-simcne

Unsupervised visualization of image datasets using contrastive learning
https://t-simcne.readthedocs.io/en/latest/
115 stars 12 forks source link

setup.py missing #1

Closed JEFworks closed 1 year ago

JEFworks commented 1 year ago

Hello,

I'm interesting to trying out t-simcne. However, when I try to install it via pip install -e . following the instructions under Implementation, I encounter the following error:

> git clone git@github.com:berenslab/t-simcne.git
> cd t-simcne
> cd cnexp
> pip install -e .
ERROR: File "setup.py" not found. Directory cannot be installed in editable mode

It seems like there is a setup.py script missing from the cnexp/ folder.

Best, Jean

JEFworks commented 1 year ago

In case anyone else encounters this error: I was able to solve this issue by upgrading pip to from v21.1.3 to v22.3.1 and also moving the pyproject.toml to the cnexp/ folder.

Thanks anyway!

dkobak commented 1 year ago

Hi Jean, thanks for the interest. Just want to say that @jnboehm is soon going to extend the README and add more specific instructions and examples of how to run t-SimCNE. At the moment it can be a bit cryptic, but we are working on it!

JEFworks commented 1 year ago

Thanks Dmitry! Looking forward to it!