GithubHelp home page GithubHelp logo

Comments (5)

ChuanXu1 avatar ChuanXu1 commented on June 4, 2024

@bioworker, as I have tested, conda will install the newest version. You can paste your installation information here if you still fail to install the newest CellTypist.

from celltypist.

bioworker avatar bioworker commented on June 4, 2024

@bioworker, as I have tested, conda will install the newest version. You can paste your installation information here if you still fail to install the newest CellTypist.

Ok, The version information suggested the newest one (1.3.0), but it lack the methods like extract_top_markers, did you check this method? Now I have reinstalled it by pip command, everything is fine now.

from celltypist.

prete avatar prete commented on June 4, 2024

Can confirm that latest conda-installed version is working.

Instaled using:

conda install -c bioconda -c conda-forge celltypist

Then:

>>> import celltypist
>>> celltypist.__version__
'1.3.0'
>>> model = celltypist.models.Model.load(model = 'Immune_All_Low.pkl')
>>> model.extract_top_markers("Mast cells", 3)
array(['CPA3', 'TPSAB1', 'FTH1'], dtype=object)

from celltypist.

benemead avatar benemead commented on June 4, 2024

Hi there - I also encountered this issue, but I believe it's Mac apple silicon dependent. when I run:
conda install -c bioconda -c conda-forge celltypist

My install completes, but to 0.1.9.

However, when I run:
conda install -c bioconda -c conda-forge celltypist=1.3

I get the following solve error:

Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:

  - feature:/osx-arm64::__unix==0=0
  - celltypist=1.3 -> click[version='>=7.1.2'] -> __unix
  - celltypist=1.3 -> click[version='>=7.1.2'] -> __win

Your installed version is: 0

FYI - pip install works fine

from celltypist.

prete avatar prete commented on June 4, 2024

Indeed it seems to be a Mac M1/M2 issue. The arm architecture probably has conflicting packages.

To solve this issue they can try rosetta. Useful links here and here. Rosetta should translate intel instructions and if they are using conda, they should make sure that the right conda installer (ARM version) is used. The info in this issue can also help.

Otherwise, and as you mentioned, sticking with pip should not give you any issues.

from celltypist.

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.