我创建了一个名为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
并尝试运行它时:
是什么导致了这个ImportError
?在
pip install cliggle
不为我将cliggle安装到站点包中。好像有个虫子设置.py:py_modules=['cliggle']
而不是packages
。在相关问题 更多 >
编程相关推荐