Coder Social home page Coder Social logo

Installation fails about cutesv HOT 5 OPEN

pkerbs avatar pkerbs commented on August 16, 2024
Installation fails

from cutesv.

Comments (5)

Meltpinkg avatar Meltpinkg commented on August 16, 2024

Hello, @pkerbs

Thanks for your valuable advice! In fact this dependencies brought inconvenience to the installation. There is an easier way to solve it by downgrading setuptools by pip install setuptools==57.5.0.
In addition, we'll modify the dependencies to another VCF parser. The update will be released in later days.

Best,
Shuqi

from cutesv.

pkerbs avatar pkerbs commented on August 16, 2024

Hi Shuqi,
thank you for your response.
I tried that already, but unfortunately I still get the same error message:


  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      error in PyVCF setup command: use_2to3 is invalid.
      [end of output]

I am using a python virtual environment created using python 3.9.5
Do you have another idea what I am doing wrong?

Best,
Paul

from cutesv.

Meltpinkg avatar Meltpinkg commented on August 16, 2024

Hello, @pkerbs

I have created a virtual python environment through conda, and I ran the installation by the following command:

# create the environment
conda create -n cutesv_env python=3.9.5
conda activate cutesv_env
# downgrade setuptools
pip install setuptools==57.5.0
# install cuteSV
pip install cuteSV

Through these, cuteSV can be successfully installed, and the pip list are shown as below:

$ pip list
biopython     1.81
cigar         0.1.3
cuteSV        2.1.0
Cython        3.0.6
joblib        1.3.2
numpy         1.26.2
pip           23.3.1
pysam         0.22.0
PyVCF         0.6.8
scikit-learn  1.3.2
scipy         1.11.4
setuptools    57.5.0
threadpoolctl 3.2.0
wheel         0.41.2

Just an idea, maybe you can try installing PyVCF v0.6.8 firstly?
In fact, this dependency bring much inconvenience, and we are now fixing it in the next version.

Best,
Shuqi

from cutesv.

pkerbs avatar pkerbs commented on August 16, 2024

Hello Shuqi,
I tried your suggestion and indeed it worked by installing PyVCF first in a freshly created virtual environment.
What I did (with Python 3.9.5 installed):

python -m venv cutesv_venv
source cutesv_venv/bin/activate
pip install PyVCF
pip install cutesv

Thank you for working on a fix for the next version.

Best,
Paul

from cutesv.

Meltpinkg avatar Meltpinkg commented on August 16, 2024

Hello Paul,

That's nice! I'm glad to hear the success.
I'll come back to this issue when the next version is released.

Best,
Shuqi

from cutesv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.