-
Notifications
You must be signed in to change notification settings - Fork 72
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
Windows 11 Installing Issue #243
Comments
I also meet this problem. I must use cyvcf2-0.20.0,but I try many methods stil cannot install successfully. Have you solved it? |
Hi @empathy-c sorry for the troubles, indeed we're having difficulty with the builds. I would suggest to use bioconda to get that version. |
But in bioconda I can only install the version 0.30.2 which is the lastest. But when I use MetaXcan to do some TWAS analysis,the project need cyvcf2=0.20.0. I have installed cyvcf2-0.30.2 by using whl to pip ,but the project still not work,so i think maybe I need to install the version of 0.20.0. But cyvcf2-0.20.0 not have whl |
When I use pip install cyvcf2==0.20.0 in linux(it has installed python3.10),error shows:python setup.py bdist_wheel did not run successfully. exit code: 1 /root/anaconda3/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type' ERROR: Failed building wheel for cyvcf2 Cyvcf2/cyvcf2. c: 57897:5: Error: Autoincrement operand must be an lvalue ++Py_ REFCNT (o); ^ Cyvcf2/cyvcf2. c: 57899:5: Error: The self subtraction operand must be an lvalue --Py_ REFCNT (o); ^ Cyvcf2/cyvcf2. c: In the function '__ Pyx_ TP_ Dealloc_ 6cyvcf2_ 6cyvcf2_ In Genotypes: Cyvcf2/cyvcf2. c: 58263:5: Error: Autoincrement operand must be an lvalue ++Py_ REFCNT (o); ^ Cyvcf2/cyvcf2. c: 58265:5: Error: The self subtraction operand must be an lvalue --Py_ REFCNT (o); ^ Cyvcf2/cyvcf2. c: In the function '__ Pyx_ TP_ Dealloc_ 6cyvcf2_ 6cyvcf2_ In 'Variant': Cyvcf2/cyvcf2. c: 58420:5: Error: Autoincrement operand must be an lvalue ++Py_ REFCNT (o); ^ Cyvcf2/cyvcf2. c: 58422:5: Error: The self subtraction operand must be an lvalue --Py_ REFCNT (o); ^ Cyvcf2/cyvcf2. c: In the function '__ Pyx_ TP_ Dealloc_ 6cyvcf2_ 6cyvcf2_ In HREC ': Cyvcf2/cyvcf2. c: 58838:5: Error: Autoincrement operand must be an lvalue ++Py_ REFCNT (o); ^ Cyvcf2/cyvcf2. c: 58840:5: Error: The self subtraction operand must be an lvalue --Py_ REFCNT (o); ^ Cyvcf2/cyvcf2. c: In the function '__ Pyx_ TP_ Dealloc_ In 'array': Cyvcf2/cyvcf2. c: 60333:5: Error: Autoincrement operand must be an lvalue ++Py_ REFCNT (o); ^ Cyvcf2/cyvcf2. c: 60335:5: Error: The self subtraction operand must be an lvalue --Py_ REFCNT (o); ^ Cyvcf2/cyvcf2. c: In the function '__ Pyx_ TP_ Dealloc_ In 'memoryview': Cyvcf2/cyvcf2. c: 60644:5: Error: Autoincrement operand must be an lvalue ++Py_ REFCNT (o); ^ Cyvcf2/cyvcf2. c: 60646:5: Error: The self subtraction operand must be an lvalue --Py_ REFCNT (o); ^ Cyvcf2/cyvcf2. c: In the function '__ Pyx_ TP_ Dealloc__ In 'memoryviewslice': Cyvcf2/cyvcf2. c: 60894:5: Error: Autoincrement operand must be an lvalue ++Py_ REFCNT (o); ^ Cyvcf2/cyvcf2. c: 60896:5: Error: The self subtraction operand must be an lvalue --Py_ REFCNT (o); |
Hi, you are using an old version of cyvcf2 on a new version of python. So you'll have to use an old version of python to do this. |
OK I will try to use an old version of python to solve it. Thank you for your help! |
I cannot install somehow cyvcf2. I upgraded to python 3.9.x and also updated visual studio.
The text was updated successfully, but these errors were encountered: