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

numpy<1.24.0 should be added as a requirement #119

Open
catsargent opened this issue Jan 7, 2023 · 0 comments
Open

numpy<1.24.0 should be added as a requirement #119

catsargent opened this issue Jan 7, 2023 · 0 comments

Comments

@catsargent
Copy link

Hi there,

Just letting you know that I got the following error when running talon. Downgrading numpy to <1.24.0 fixed the issue and talon ran without any errors afterwards.

 File "/projects/b1177/pythonenvs/talon-env/lib/python3.9/site-packages/pyranges/multithreaded.py", line 382, in pyrange_apply_single
    result = call_f_single(function, nparams, df, **kwargs)
  File "/projects/b1177/pythonenvs/talon-env/lib/python3.9/site-packages/pyranges/multithreaded.py", line 31, in call_f_single
    return f.remote(df, **kwargs)
  File "/projects/b1177/pythonenvs/talon-env/lib/python3.9/site-packages/pyranges/methods/merge.py", line 16, in _merge
    starts, ends, number = find_clusters(cdf.Start.values, cdf.End.values, slack)
  File "sorted_nearest/src/clusters.pyx", line 11, in sorted_nearest.src.clusters.find_clusters
  File "/projects/b1177/pythonenvs/talon-env/lib/python3.9/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'long'

Many thanks!
Catherine

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

1 participant