leafcutter icon indicating copy to clipboard operation
leafcutter copied to clipboard

pip leafcutter command line tools

Open Macdot3 opened this issue 10 months ago • 2 comments

Hi everyone, I created a Python environment named LeafCutter and installed the leafcutter package inside it using the command pip install leafcutter. It is written on the documentation page that : The installation process will install leafcutter-cluster and leafcutter-ds as command line tools. However, I get this error:

(LeafCutter) lab.m@login01:~$ pip show leafcutter
Name: leafcutter
Version: 2.0.2
Summary: Leafcutter python implementation
Home-page:
Author: Scott Adamson, Jack Humphrey, Yang I Li, David A Knowles
Author-email:
License:
Location: /home/lab.m/Splicing/LeafCutter/lib/python3.12/site-packages
Requires: pandas, pyro-ppl, scikit-learn, scipy, torch
Required-by:

(LeafCutter) lab.m@login01:~$ leafcutter-cluster
Traceback (most recent call last):
  File "/home/lab.m/Splicing/LeafCutter/bin/leafcutter-cluster", line 5, in <module>
    from leafcutter.__main__ import leafcutter_cluster
ModuleNotFoundError: No module named 'leafcutter'

And I don't understand how to fix it or how to run the commands, even though the package is installed correctly. I hope you can help me understand, thank you

Macdot3 avatar Mar 04 '25 22:03 Macdot3

@davidaknowles

jackhump avatar Mar 07 '25 01:03 jackhump

same issue here.

ModuleNotFoundError: No module named 'leafcutter'

HuipengL avatar Apr 14 '25 11:04 HuipengL