aertslab / pySCENIC

pySCENIC is a lightning-fast python implementation of the SCENIC pipeline (Single-Cell rEgulatory Network Inference and Clustering) which enables biologists to infer transcription factors, gene regulatory networks and cell types from single-cell RNA-seq data.
http://scenic.aertslab.org
GNU General Public License v3.0
431 stars 180 forks source link

error #305

Open ryrl970311 opened 3 years ago

ryrl970311 commented 3 years ago

Describe the bug When I ran pyscenic in anaconda environment, it always report "ImportError: cannot import name 'dumps_msgpack' from 'distributed.protocol.core'". How should I solve this problem?

Steps to reproduce the behavior

  1. Command run when the error occurred:

    pyscenic grn 
    ...
  2. Error encountered:

    Numba: Attempted to fork from a non-main thread, the TBB library may be in an invalid state in the child process.
    ImportError: cannot import name 'dumps_msgpack' from 'distributed.protocol.core'

Expected behavior A clear and concise description of what you expected to happen.

Please complete the following information:

lxwang326 commented 3 years ago

i have the same problem too

ryrl970311 commented 3 years ago

i have the same problem too

Did you solve this problem?

lxwang326 commented 3 years ago

not yet

jpcartailler commented 3 years ago

Probably incompatibility between dask and distributed packages. To avoid these issues, it's best to run pySCENIC from Docker image.

fouerghi commented 3 years ago

Error has also been occurring for me

SalmonellaIIB commented 3 years ago

I am not sure what is the problem. I tried to run "pyscenic grn" too, and after some minutes I have the same error. However, I think is a problem with a new version of a library because after using my previous pyscenic conda environment it worked. I also tested downgrading specific packages such as dask, distributed, numba, and pyscenic, and it did not worked. Here you have the environment that I am using and where pySCENIC seems to run properly. I hope it helps someone!

name: pyscenic_sallmonella channels: