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

what 's the version of pomegranate? #56

Open
HanwenZhu98 opened this issue Oct 2, 2023 · 5 comments
Open

what 's the version of pomegranate? #56

HanwenZhu98 opened this issue Oct 2, 2023 · 5 comments

Comments

@HanwenZhu98
Copy link

I meet the errror like this:
Traceback (most recent call last):
File "/cluster/home/Kangwen/anaconda3/envs/Hic/bin/segment-cnv", line 111, in run
work.segment(
File "/cluster/home/Kangwen/anaconda3/envs/Hic/lib/python3.10/site-packages/neoloop/cnv/segcnv.py", line 167, in segment
model = HiddenMarkovModel.from_samples(
NameError: name 'HiddenMarkovModel' is not defined

I check it, and find that the error is in the script segcnv at "from pomegranate import NormalDistribution, HiddenMarkovModel"

So,can u tell me how to solve this problem?

@XiaoTaoWang
Copy link
Owner

It seems that the API has undergone dramatic changes since pomegranate v1.0.0. Can you downgrade your pomegranate to v0.14.8 and try again?

@hmgene
Copy link

hmgene commented Dec 9, 2024

I have the same issue:
cannot find the version but only v1.00 available in conda

conda search pomegranate
Loading channels: done
# Name                       Version           Build  Channel             
pomegranate                    1.0.0    pyhd8ed1ab_0  conda-forge         
pomegranate                    1.0.0    pyhd8ed1ab_1  conda-forge    

@XiaoTaoWang
Copy link
Owner

Did you tried using pip to install pomegranate version 0.14.8?

@hmgene
Copy link

hmgene commented Dec 11, 2024 via email

@mnfrandre
Copy link

Hi all,
Please try pomegranate version 0.15.0. Works for me!

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