-
Notifications
You must be signed in to change notification settings - Fork 51
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
Error installing cDNA_Cupcake #208
Comments
I also faced similar situation, have you checked you bio python version? |
I have the same problem. @hyeon9 , Can you please elaborate on the solution? Thanks! |
could you please check the you bcbio-gff or bcbiogff version? Thanks! |
I don't seem to have it. So I did conda install bioconda bcbiogff and it went ahead without errors, but afterwards if I run which bcbiogff or bcbiogff --version, it doesn't exit. What's going on T_T |
As detected by @ChangqingW, the error is caused by the @majdabdul in the meantime, you can edit
And then run Hope that helps, Ángeles PS: sorry -deleted previous comment because I was able to replicate the error on my own SQANTI3 installation (v5.1.2) and decided to provide the fix directly. |
Just realised that it is maintained by a different developer, sorry to have posted under the wrong repo 🙈 |
@ChangqingW -no worries! It's good to have the solution here anyway in case other users run into the same problem :) I'll leave the issue open until the fix is added to the cDNA_Cupcake repo. |
Thank you so much @aarzalluz, the fix works! |
I ran into a few other issues. I opened an issue with the author of cDNA_Cupcake with a description of each problem and my solution. I am building a docker image for sqanti3 using python/3.10, and I ran into this issue, an issue with the pointer to to the sklearn dependency in their setup.py (easy fix), and another issue related to the using a newer version of numpy (does not support My fixes can be found here. View my TLDR, to a set of commands that can be run to fix all the problems I have listed above: |
Hi @skchronicles -thank you for letting us know and posting the link to your fixes here. I suspect cDNA_Cupcake is no longer maintained, so it won't be long before these issues require more permanent solutions, but for now it is good to have them reported here. |
@aarzalluz Okay, that sounds good! I ended up creating a docker image for |
I edited setup.py by changing line 25 in setup.py: from ext_modules = cythonize(ext_modules), /envs/SQANTI3.env/lib/python3.10/site-packages/setuptools/init.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!! Hope someone can help me. Thanks a lot. |
Running sklearn-0.0.post12/setup.py -q bdist_egg --dist-dir /tmp/easy_install-l2u1gg_8/sklearn-0.0.post12/egg-dist-tmp-469ysq9t modify setup.py again |
/SQANTI3.env/lib/python3.10/site-packages/cupcake-29.0.0-py3.10-linux-x86_64.egg/cupcake/tofu/fusion_collate_info.py:171: SyntaxWarning: "is not" with a literal. Did you mean "!="? |
Hi @BaiYang-HH did you figure this out? |
Exactly, if that error appears, line 40 of setup.py should be changed from 'sklearn', to 'scikit-learn'. After you change that, run python setup.py build and python setup.py install again, it installs correctly :) |
This problem has been now solved by forking the no longer maintained cDNA_cupcake repository, making the changes necessary for installation, and updating the SQANTI installation wiki describing an installation directly from the forked repository. |
|
When installing the cDNA_Cupcake with
as specified in "Dependencies and installation", I got the following error:
Which seems to be caused by the
pyx
files written in Python2 instead of Python3?The text was updated successfully, but these errors were encountered: