Giter Club home page Giter Club logo

Comments (1)

Zha0rong avatar Zha0rong commented on August 16, 2024

Hi,

I'm trying to install squire in a conda venv. I've installed all dependencies and am left with the following conflict. When I install python 2.7 then try conda install -c bioconductor squire, the error is that it requires python3. But when I install python3 then repeat, it says squire requires python 2.7. Since others have properly installed squire I'm hoping this is a simple fix. Just having trouble figuring it out. Any help is very appreciated.

I've pasted the commands and errors below.

Step 1: Install python 2.7

conda install python=2.7 Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: done

conda install -c bioconda squire Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: / Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort. failed

UnsatisfiableError: The following specifications were found to be incompatible with the existing python installation in your environment:

Specifications:

  • squire -> python[version='3.4.|3.5.|3.6.*']

Your python: python=2.7

############## Step 2: Install python 3

conda install python=3 Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: done

conda install -c bioconda squire Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: / Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort. failed

UnsatisfiableError: The following specifications were found to be incompatible with the existing python installation in your environment:

Specifications:

  • squire -> python=2.7

Your python: python=3

Hi @saralinker ,
I am also using the SQuIRE to do some analyses. My experience is that combining a little bit code modifying and version switching you can get things running smoothly.
For Fetch.py you probably want to use python2. Also remove the line 411, 412 and 413, these lines remove some temporary files which are then used, which create error.
For Clean.py you can use either python2 or python3, as long as you can install the python library dependencies such as Pyfaidx. If you select to use python3 like I do, replace the "iteritems" by "items" since iteritems are from python2.
For Count.py I have it run well on python2, I haven't tried to run it on python3 yet.

from squire.

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.