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

most likely due to a circular import #234

Open
stephrom opened this issue Apr 9, 2024 · 5 comments
Open

most likely due to a circular import #234

stephrom opened this issue Apr 9, 2024 · 5 comments

Comments

@stephrom
Copy link

stephrom commented Apr 9, 2024

Dear,

I systematically get the following error:

ImportError: cannot import name 'dedup_cython' from partially initialized module 'pairtools.lib' (most likely due to a circular import) (/shared/clssoft/apps/x86_64/pairtools/1.0.3/lib/python3.8/site-pack

could one advice, please

Best regards
Stephane

@xscapintime
Copy link

Same issue here

@aowenson-imm
Copy link

aowenson-imm commented Jul 9, 2024

You have to PIP install from source after installing the dependencies:

git clone -b "v1.1.0" https://github.com/open2c/pairtools.git
cd pairtools && pip install .

Indicates a problem with the precompiled wheel in PyPI.

@liviu-
Copy link

liviu- commented Aug 6, 2024

You have to PIP install from source after installing the dependencies:

git clone -b "v1.1.0" https://github.com/open2c/pairtools.git
cd pairtools && pip install .

Indicates a problem with the precompiled wheel in PyPI.

This didn't work for me; anyone got it working? I get the error for all package versions, different python versions, different environments, on bioconda it's not found...

@dmitrymyl
Copy link

I also have the same problem with version 1.1.0. Based on the traceback, the culprit is this line:

from . import dedup_cython, pairsam_format
It does seem to be a circular import.

@dmitrymyl
Copy link

But this advice

You have to PIP install from source after installing the dependencies:

git clone -b "v1.1.0" https://github.com/open2c/pairtools.git
cd pairtools && pip install .

Indicates a problem with the precompiled wheel in PyPI.

worked 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

5 participants