0
cliggleというPythonパッケージを作成しました。私はpip install --editable .
を使用してローカルにパッケージをテストすると、すべてが正常に動作します:pip install:ImportError:cliggle.cliという名前のモジュールがありません
(c27) [email protected]:~/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
を引き起こしている何
(c27) [email protected]:~/Projects$ cliggle
Traceback (most recent call last):
File "/Users/jkarimi91/anaconda/envs/c27/bin/cliggle", line 7, in <module>
from cliggle.cli import cliggle
ImportError: No module named cliggle.cli
?
@Abdouどういうことが問題になるのか分かりませんが、詳しく説明できますか?また、私はgithubのレポにいくつかのプッシュを行いました。 'setup.py'と' setup.cfg'ファイルがそこにあります。 – jkarimi