kr-colab / popvae

genotype dimensionality reduction with a VAE
Other
41 stars 9 forks source link

installation #22

Open nicolashazzi23 opened 8 months ago

nicolashazzi23 commented 8 months ago

Hi

I have been struggling for days trying to install the software following the installation instructions and the comments of a user in a previous issue, but nothing has worked out. I also meet with a person that knows about python and he told me that is very likely that some of the dependencies of the script setup.py are not updated. After installing many of the dependencies I reach to the point of "Best match: contourpy 1.2.0 Processing contourpy-1.2.0.tar.gz error: Couldn't find a setup script in /tmp/easy_install-op63jyw2/contourpy-1.2.0.tar.gz" without bein able to solved it. Thus, I would like to ask if you have an updated version of setup.py? or what could I do to installed it?

thanks

Nicolas Hazzi

cjbattey commented 8 months ago

Hi Nicolas,

Sorry about that. I'll take a look at the setup script this evening and see if there have been any breaking dependency updates.

CJ

nicolashazzi23 commented 8 months ago

Thanks CJ, I appreciated it, because I really want to used the software.

cjbattey commented 8 months ago

Well, I confirmed the install instructions are also broken on my machine. Appears to be an issue with installing scikit-allel with the older version of Python we're using. I don't have a solution yet, will try again later this week.

CJ

diogofclima5 commented 5 months ago

Hi CJ, did you find a solution for this already?

cjbattey commented 4 months ago

Hi, sorry for the delay. This took a few attempts.

I updated the build system and install instructions in this branch and will PR to master soon: https://github.com/kr-colab/popvae/tree/dev

If you'd like to try it earlier, try moving or deleting any existing popvae folder and then reinstall from the dev branch:

conda create --name popvae python=3.10
conda activate popvae
git clone --branch dev https://github.com/kr-colab/popvae.git
cd popvae
pip install --upgrade pip
pip install ./

(if you try this please comment here if it worked. I have it working on an M3 MacBook now)

diogofclima5 commented 4 months ago

Thank you CJ, it did work