Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'yandextank.contrib.netort' #893

Open
ei-grad opened this issue Jul 14, 2023 · 3 comments
Open

No module named 'yandextank.contrib.netort' #893

ei-grad opened this issue Jul 14, 2023 · 3 comments

Comments

@ei-grad
Copy link
Contributor

ei-grad commented Jul 14, 2023

  File "/root/venv/lib/python3.8/site-packages/yandextank/stepper/main.py", line 12, in <module>
    from yandextank.contrib.netort.netort.resource import manager as resource
ModuleNotFoundError: No module named 'yandextank.contrib.netort'

installed with pip install https://api.github.com/repos/yandex/yandex-tank/tarball/master into fresh virtualenv

# find /root/venv/lib/python3.8/site-packages/yandextank/ | grep netort | wc -l
0
@ei-grad
Copy link
Contributor Author

ei-grad commented Jul 14, 2023

Caused by missing __init__.py:

In [1]: from setuptools import find_packages

In [2]: find_packages()
Out[2]: 
['yandextank',
 'yandextank.common',
 'yandextank.config_converter',
 'yandextank.core',
 'yandextank.contrib',
 'yandextank.stepper',
 'yandextank.aggregator',
 'yandextank.plugins',
 'yandextank.validator',
 'yandextank.common.tests',
 'yandextank.plugins.RCAssert',
 'yandextank.plugins.Pandora',
 'yandextank.plugins.InfluxUploader',
 'yandextank.plugins.Console',
 'yandextank.plugins.Phantom',
 'yandextank.plugins.Bfg',
 'yandextank.plugins.ShellExec',
 'yandextank.plugins.OpenTSDBUploader',
 'yandextank.plugins.DataUploader',
 'yandextank.plugins.ShootExec',
 'yandextank.plugins.JsonReport',
 'yandextank.plugins.Platform',
 'yandextank.plugins.OfflineReport',
 'yandextank.plugins.Telegraf',
 'yandextank.plugins.JMeter',
 'yandextank.plugins.Autostop',
 'yandextank.plugins.ResourceCheck',
 'yandextank.plugins.OpenTSDBUploader.client',
 'yandextank.plugins.Telegraf.agent']

In [3]: !touch yandextank/contrib/netort/__init__.py

In [4]: find_packages()
Out[4]: 
['yandextank',
 'yandextank.common',
 'yandextank.config_converter',
 'yandextank.core',
 'yandextank.contrib',
 'yandextank.stepper',
 'yandextank.aggregator',
 'yandextank.plugins',
 'yandextank.validator',
 'yandextank.common.tests',
 'yandextank.contrib.netort',
 'yandextank.contrib.netort.netort',
 'yandextank.contrib.netort.netort.data_manager',
 'yandextank.contrib.netort.netort.data_manager.clients',
 'yandextank.contrib.netort.netort.data_manager.common',
 'yandextank.contrib.netort.netort.data_manager.metrics',
 'yandextank.plugins.RCAssert',
 'yandextank.plugins.Pandora',
 'yandextank.plugins.InfluxUploader',
 'yandextank.plugins.Console',
 'yandextank.plugins.Phantom',
 'yandextank.plugins.Bfg',
 'yandextank.plugins.ShellExec',
 'yandextank.plugins.OpenTSDBUploader',
 'yandextank.plugins.DataUploader',
 'yandextank.plugins.ShootExec',
 'yandextank.plugins.JsonReport',
 'yandextank.plugins.Platform',
 'yandextank.plugins.OfflineReport',
 'yandextank.plugins.Telegraf',
 'yandextank.plugins.JMeter',
 'yandextank.plugins.Autostop',
 'yandextank.plugins.ResourceCheck',
 'yandextank.plugins.OpenTSDBUploader.client',
 'yandextank.plugins.Telegraf.agent']

@ei-grad
Copy link
Contributor Author

ei-grad commented Jul 14, 2023

duplicate of #892
caused by #889

@MrNeuronix
Copy link

MrNeuronix commented Oct 22, 2023

Same issue. Installed from master right now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants