pip安装:ImportError:没有名为的模块cliggle.cli

2024-10-04 05:30:27 发布

您现在位置:Python中文网/ 问答频道 /正文

我创建了一个名为cliggle的python包。当我使用pip install --editable .在本地测试包时,一切正常:

(c27) jkarimi91@Jays-MacBook-Pro:~/Projects/cliggle$ cliggle
Usage: cliggle [OPTIONS] COMMAND [ARGS]...

  Cliggle: a CLI for Kaggle competitions.

Options:
  -h, --help  Show this message and exit.

Commands:
  download  Download the data files for a competition.
  list      List the current competition titles.
  submit    Submit predictions for a competition.

但是,当我pip install cliggle并尝试运行它时:

^{pr2}$

是什么导致了这个ImportError?在


Tags: installpiptheforusageproprojectsoptions