前提・実現したいこと
こちらのサイト(https://pypi.org/project/signate/)の指示に従いsignateをインストールしたのですが、signate --helpのコマンドでヘルプが表示されるのにもかかわらず、signate listコマンドでModuleNotFoundErrorが出てしまい困っています。
発生している問題・エラーメッセージ
エラーメッセージ ***@kitabatotonoMBP site-packages % signate list Traceback (most recent call last): File "/usr/local/bin/signate", line 5, in <module> from signate.cli import main ModuleNotFoundError: No module named 'signate' ***@kitabatotonoMBP site-packages % pip3 show signate Name: signate Version: 0.9.6 Summary: SIGNATE CLI Home-page: https://github.com/signatelab/signate-cli Author: SIGNATE Inc. Author-email: None License: Apache 2.0 Location: /usr/local/lib/python3.8/site-packages Requires: wget, certifi, six, click, tabulate, urllib3, python-dateutil Required-by: ***@kitabatotonoMBP site-packages % import sys import pprint pprint.pprint(sys.path) zsh: command not found: import zsh: command not found: import zsh: unknown file attribute: y ***@kitabatotonoMBP site-packages % tree zsh: command not found: tree ***@kitabatotonoMBP site-packages % pwd /usr/local/lib/python3.8/site-packages ***@kitabatotonoMBP site-packages % echo 'export PYTHONPATH="$PYTHONPATH:/home/test/lib"' >> ~/.bashrc ***@kitabatotonoMBP site-packages % signate list Traceback (most recent call last): File "/usr/local/bin/signate", line 5, in <module> from signate.cli import main ModuleNotFoundError: No module named 'signate' ***@kitabatotonoMBP site-packages % pip3 signate ERROR: unknown command "signate" ***@kitabatotonoMBP site-packages % pip3 install signate Requirement already satisfied: signate in /usr/local/lib/python3.8/site-packages (0.9.6) Requirement already satisfied: urllib3>=1.25.3 in /usr/local/lib/python3.8/site-packages (from signate) (1.25.10) Requirement already satisfied: six>=1.10 in /usr/local/lib/python3.8/site-packages (from signate) (1.15.0) Requirement already satisfied: python-dateutil in /usr/local/lib/python3.8/site-packages (from signate) (2.8.1) Requirement already satisfied: click in /usr/local/lib/python3.8/site-packages (from signate) (7.1.2) Requirement already satisfied: wget in /usr/local/lib/python3.8/site-packages (from signate) (3.2) Requirement already satisfied: tabulate in /usr/local/lib/python3.8/site-packages (from signate) (0.8.7) Requirement already satisfied: certifi in /usr/local/lib/python3.8/site-packages (from signate) (2020.6.20) ***@kitabatotonoMBP site-packages % python src/run.py /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'src/run.py': [Errno 2] No such file or directory ***@kitabatotonoMBP site-packages % import sys sys.path zsh: command not found: import zsh: command not found: sys.path ***@kitabatotonoMBP site-packages % ### 試したこと 以下のサイトを参考にいろいろなコマンドを試しました https://qiita.com/kakari8888/items/86d9c255204b063c87ee https://qiita.com/homines22/items/c43e564811466bf088e7 ### 補足情報(FW/ツールのバージョンなど) macOS Catalina バージョン10.15.6 Python 3.8.5 です。 ここにより詳細な情報を記載してください。
あなたの回答
tips
プレビュー