yandex-tank のインストール中、公式ドキュメントhttps://yandextank.readthedocs.org/en/latest/install.htmlに従ってください。
sudo apt-get install python-software-properties
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:yandex-load/main
sudo apt-get update && sudo apt-get install yandex-load-tank-base
しかし、エラーが発生しました:
W: Failed to fetch http://ppa.launchpad.net/yandex-load/main/ubuntu/dists/wheezy/main/source/Sources 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/yandex-load/main/ubuntu/dists/wheezy/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu/dists/wheezy/main/source/Sources 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu/dists/wheezy/main/binary-amd64/Packages 404 Not Found
私は推測する。これが、yandex-tank の起動中にエラーが発生する理由です。
17:09:35 INFO: Exception: Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/yandextank/core/consoleworker.py", line 224, in configure
self.core.load_plugins()
File "/usr/local/lib/python2.7/dist-packages/yandextank/core/tankcore.py", line 243, in load_plugins
plugin = il.import_module(plugin_path)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: Import by filename is not supported.
17:09:35 ERROR: Import by filename is not supported.
問題を解決するには?
システム: Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64 GNU/Linux