question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue installing/running cellbender: No module named 'cellbender.remove_background'

See original GitHub issue

Dear cellbender team!

I installed cellbender without error in a conda environment following the instructions, but when even trying to run any command with “cellbender,” I get the following error below. I have tried running this on a server with GPUs. Any help would be greatly appreciated!

Traceback (most recent call last):
  File "/home/chanj3/anaconda3/envs/cellbender/bin/cellbender", line 8, in <module>
    sys.exit(main())
  File "/home/chanj3/anaconda3/envs/cellbender/lib/python3.7/site-packages/cellbender/base_cli.py", line 90, in main
    parser = get_populated_argparser()
  File "/home/chanj3/anaconda3/envs/cellbender/lib/python3.7/site-packages/cellbender/base_cli.py", line 76, in get_populated_argparser
    module_argparse = importlib.import_module('.'.join(module_argparse_str_list))
  File "/home/chanj3/anaconda3/envs/cellbender/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'cellbender.remove_background'

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jmchan88commented, Oct 1, 2020

Ahh figured it out! I lied, I didn’t follow the directions exactly. I ran

pip install git+https://github.com/broadinstitute/CellBender.git

rather than actually cloning the github repository directly. I figured that it was going to be the same thing, but I guess not! Thanks!

0reactions
sjflemingcommented, Oct 1, 2020

Glad you got it to work!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problem in the Installation of CellBender · Issue #93 - GitHub
Projects. remove-background ... ERROR: CellBender is not a valid editable requirement. ... No module named 'cellbender.remove_background'.
Read more >
remove-background - CellBender documentation
There are too many cells called. Are there? remove-background equates “cell probability” with “the probability that a given droplet is not empty.
Read more >
Background Removal Guidance for Single Cell Gene ...
In this article, we will use the remove-background algorithm (Fleming et al.) implemented in the CellBender python package.
Read more >
CellBender remove-background: a deep generative ... - bioRxiv
We implement the model along with a fast and scalable inference algorithm as the remove-background module in CellBender , an open-source scRNA- ...
Read more >
CellBender remove-background: A deep generative model for ...
Droplet-based scRNA-seq assays are known to produce a significant amount of background RNA counts, the hallmark of which is non-zero ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found