Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pairtree requires older version of numpy #40

Closed
agorelick opened this issue Jun 14, 2023 · 3 comments
Closed

pairtree requires older version of numpy #40

agorelick opened this issue Jun 14, 2023 · 3 comments

Comments

@agorelick
Copy link

Hi, pairtree does not work with the latest version of numpy. This appears to be the same issue as mentioned here in the pyclone-vi github issues: Roth-Lab/pyclone-vi#28.

To fix this, I edited the requirements.txt file so that version 1.23.5 of numpy is used: numpy = 1.23.5, then re-installed:
conda remove --name pairtree --all
conda create -c conda-forge -n pairtree --file requirements.txt --yes

@oghzzang
Copy link

oghzzang commented Jan 6, 2024

I'm not a developer. But I used the pairtree recently.
It worked well!
My python version is 3.11.7, and my numpy version is 1.26.3.

I installed it like you using conda.
I think you can try to define the python version when you install conda.

@alexanderchang1
Copy link

I think it would be a good idea for the requirement.txt file to specify version number to avoid this issue. Scipy and Numba aren't updated in lockstep and these breaks will become only more common as time goes on.

@ethanumn
Copy link
Collaborator

ethanumn commented Apr 1, 2024

I've updated the requirements.txt file with the latest versions that do not seem to cause any dependency issues. Please let me know if this works on your end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants