Irrationone / cellassign

Automated, probabilistic assignment of cell types in scRNA-seq data
Other
191 stars 79 forks source link

Error in py_module_import(module, convert = convert) : #93

Open D13001788135 opened 2 years ago

D13001788135 commented 2 years ago

when i run this:

fit <- cellassign(exprs_obj = example_sce[rownames(example_marker_mat),],

  • marker_gene_info = example_marker_mat,
  • s = s,
  • learning_rate = 1e-2,
  • shrinkage = TRUE,
  • verbose = FALSE)

an error happens: Error in py_module_import(module, convert = convert) : ModuleNotFoundError: No module named 'tensorflow_probability'

i would appreciate it if someone could help me solve this issue

RuiyuRayWang commented 2 years ago

@D13001788135 Possible solution: install R tensorflow package via devtools and explicitly specify a version. #94