Struggling with pysam intallation using conda prompt

2,265 views
Skip to first unread message

RONNY ISRAEL GONGORA JAMA

unread,
Nov 10, 2020, 10:21:29 PM11/10/20
to Pysam User group
I can' install pysam. I followed up the installation step in its Github repository:

conda config --add channels defaults 
conda config --add channels 
conda-forge conda config --add channels bioconda 
conda install pysam  

 And then, these messages appeared:
********************************************************
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  - pysam

Current channels:


To search for alternate channels that may provide the conda package you're
looking for, navigate to


and use the search bar at the top of the page.
******************************************
What am I supposed to do?
I using Anaconda 32 bits

Peter Cock

unread,
Nov 11, 2020, 5:11:16 AM11/11/20
to pysam-us...@googlegroups.com
On Wed, Nov 11, 2020 at 3:21 AM RONNY ISRAEL GONGORA JAMA
<rigo...@espe.edu.ec> wrote:
>
> I can' install pysam. I followed up the installation step in its Github repository:
>
> conda config --add channels defaults
> conda config --add channels
> conda-forge conda config --add channels bioconda
> conda install pysam

I'm assuming there was a line break problem, and you actually ran
these four commands:

conda config --add channels defaults

conda config --add channels conda-forge

conda config --add channels bioconda

conda install pysam

That ought to have found pysam from bioconda:

https://anaconda.org/bioconda/pysam

However, I have bad news for you. You are using Windows, and bioconda
does not currently package anything for Windows - just Linux and
macOS. You can see that in the list of packages they have for pysam:

https://anaconda.org/bioconda/pysam/files

Conda itself, and conda-forge, do cover Windows though.

Peter

GONGORA JAMA, RONNY ISRAEL

unread,
Nov 11, 2020, 7:48:31 AM11/11/20
to pysam-us...@googlegroups.com
I agree with you, I'm starting with python programming and I just realized that yesterday. Thanks for the confirmation!

--
You received this message because you are subscribed to a topic in the Google Groups "Pysam User group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pysam-user-group/Ii4JiwYiS6k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pysam-user-gro...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pysam-user-group/CAKVJ-_78_d99HB2%2Bng8M0QwK1QsPXA2txaLuCOtNVMUQ5uV6AQ%40mail.gmail.com.

Antes de imprimir este mensaje, piense en su responsabilidad con la naturaleza. Quizás no puedes salvar el planeta, pero si puedes dejar de destruirlo.


Importante: La información contenida en este mensaje y sus anexos tiene carácter confidencial, y está dirigida únicamente al destinatario de la misma y sólo podrá ser usada por éste. Si el lector de este mensaje no es el destinatario del mismo, se le notifica que cualquier copia o distribución de éste se encuentra totalmente prohibida. Si usted ha recibido este mensaje por error, por favor notifique inmediatamente al remitente por este mismo medio y borre el mensaje. Las opiniones que contenga este mensaje son exclusivas de su autor y no necesariamente representan la opinión oficial de la UNIVERSIDAD DE LAS FUERZAS ARMADAS ESPE.”

Sujay Ayyagari

unread,
Jan 21, 2021, 5:12:13 AM1/21/21
to Pysam User group
Hey there, I am trying to do the same thing and the same errors are being shown for me too. Was the installation of pysam on conda successful for you. I tried everything and still nothing works

Peter Cock

unread,
Jan 21, 2021, 6:32:58 AM1/21/21
to pysam-us...@googlegroups.com
Hello Sujay,

Which operating system are you using? As I said to Ronny, unfortunately
BioConda currently only supports Linux and macOS - although Conda itself,
and conda-forge, do cover Windows.

If you are on Windows, you will have to install samtools without using conda.

Peter
> --
> You received this message because you are subscribed to the Google Groups "Pysam User group" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pysam-user-gro...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pysam-user-group/42d905c3-9b76-46a0-a4aa-078e589092fdn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages