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

ModuleNotFoundError: No module named 'terminaltables' #10

Open
GeroCI opened this issue Jul 26, 2020 · 1 comment
Open

ModuleNotFoundError: No module named 'terminaltables' #10

GeroCI opened this issue Jul 26, 2020 · 1 comment

Comments

@GeroCI
Copy link

GeroCI commented Jul 26, 2020

Hi, I meet this issue when configuring follow your instructions, could u help me solve this issue:
Traceback (most recent call last):
File "./tools/train.py", line 13, in
from mmdet.apis import set_random_seed, train_detector
File "/home/xj2018/RepPointsV2/mmdet/apis/init.py", line 1, in
from .inference import (async_inference_detector, inference_detector,
File "/home/xj2018/RepPointsV2/mmdet/apis/inference.py", line 9, in
from mmdet.core import get_classes
File "/home/xj2018/RepPointsV2/mmdet/core/init.py", line 3, in
from .evaluation import * # noqa: F401, F403
File "/home/xj2018/RepPointsV2/mmdet/core/evaluation/init.py", line 5, in
from .mean_ap import average_precision, eval_map, print_map_summary
File "/home/xj2018/RepPointsV2/mmdet/core/evaluation/mean_ap.py", line 6, in
from terminaltables import AsciiTable
ModuleNotFoundError: No module named 'terminaltables'
Traceback (most recent call last):
File "./tools/train.py", line 13, in
from mmdet.apis import set_random_seed, train_detector
File "/home/xj2018/RepPointsV2/mmdet/apis/init.py", line 1, in
from .inference import (async_inference_detector, inference_detector,
File "/home/xj2018/RepPointsV2/mmdet/apis/inference.py", line 9, in
from mmdet.core import get_classes
File "/home/xj2018/RepPointsV2/mmdet/core/init.py", line 3, in
from .evaluation import * # noqa: F401, F403
File "/home/xj2018/RepPointsV2/mmdet/core/evaluation/init.py", line 5, in
from .mean_ap import average_precision, eval_map, print_map_summary
File "/home/xj2018/RepPointsV2/mmdet/core/evaluation/mean_ap.py", line 6, in
from terminaltables import AsciiTable
ModuleNotFoundError: No module named 'terminaltables'
Traceback (most recent call last):
File "./tools/train.py", line 13, in
from mmdet.apis import set_random_seed, train_detector
File "/home/xj2018/RepPointsV2/mmdet/apis/init.py", line 1, in
from .inference import (async_inference_detector, inference_detector,
File "/home/xj2018/RepPointsV2/mmdet/apis/inference.py", line 9, in
from mmdet.core import get_classes
File "/home/xj2018/RepPointsV2/mmdet/core/init.py", line 3, in
from .evaluation import * # noqa: F401, F403
File "/home/xj2018/RepPointsV2/mmdet/core/evaluation/init.py", line 5, in
from .mean_ap import average_precision, eval_map, print_map_summary
File "/home/xj2018/RepPointsV2/mmdet/core/evaluation/mean_ap.py", line 6, in
from terminaltables import AsciiTable
ModuleNotFoundError: No module named 'terminaltables'
Traceback (most recent call last):
File "./tools/train.py", line 13, in
from mmdet.apis import set_random_seed, train_detector
File "/home/xj2018/RepPointsV2/mmdet/apis/init.py", line 1, in
from .inference import (async_inference_detector, inference_detector,
File "/home/xj2018/RepPointsV2/mmdet/apis/inference.py", line 9, in
from mmdet.core import get_classes
File "/home/xj2018/RepPointsV2/mmdet/core/init.py", line 3, in
from .evaluation import * # noqa: F401, F403
File "/home/xj2018/RepPointsV2/mmdet/core/evaluation/init.py", line 5, in
from .mean_ap import average_precision, eval_map, print_map_summary
File "/home/xj2018/RepPointsV2/mmdet/core/evaluation/mean_ap.py", line 6, in
from terminaltables import AsciiTable
ModuleNotFoundError: No module named 'terminaltables'
Traceback (most recent call last):
File "./tools/train.py", line 13, in
from mmdet.apis import set_random_seed, train_detector
File "/home/xj2018/RepPointsV2/mmdet/apis/init.py", line 1, in
from .inference import (async_inference_detector, inference_detector,
File "/home/xj2018/RepPointsV2/mmdet/apis/inference.py", line 9, in
from mmdet.core import get_classes
File "/home/xj2018/RepPointsV2/mmdet/core/init.py", line 3, in
from .evaluation import * # noqa: F401, F403
File "/home/xj2018/RepPointsV2/mmdet/core/evaluation/init.py", line 5, in
from .mean_ap import average_precision, eval_map, print_map_summary
File "/home/xj2018/RepPointsV2/mmdet/core/evaluation/mean_ap.py", line 6, in
from terminaltables import AsciiTable
ModuleNotFoundError: No module named 'terminaltables'
Traceback (most recent call last):
File "./tools/train.py", line 13, in
from mmdet.apis import set_random_seed, train_detector
File "/home/xj2018/RepPointsV2/mmdet/apis/init.py", line 1, in
from .inference import (async_inference_detector, inference_detector,
File "/home/xj2018/RepPointsV2/mmdet/apis/inference.py", line 9, in
from mmdet.core import get_classes
File "/home/xj2018/RepPointsV2/mmdet/core/init.py", line 3, in
from .evaluation import * # noqa: F401, F403
File "/home/xj2018/RepPointsV2/mmdet/core/evaluation/init.py", line 5, in
from .mean_ap import average_precision, eval_map, print_map_summary
File "/home/xj2018/RepPointsV2/mmdet/core/evaluation/mean_ap.py", line 6, in
from terminaltables import AsciiTable
ModuleNotFoundError: No module named 'terminaltables'
Traceback (most recent call last):
File "./tools/train.py", line 13, in
from mmdet.apis import set_random_seed, train_detector
File "/home/xj2018/RepPointsV2/mmdet/apis/init.py", line 1, in
from .inference import (async_inference_detector, inference_detector,
File "/home/xj2018/RepPointsV2/mmdet/apis/inference.py", line 9, in
from mmdet.core import get_classes
File "/home/xj2018/RepPointsV2/mmdet/core/init.py", line 3, in
from .evaluation import * # noqa: F401, F403
File "/home/xj2018/RepPointsV2/mmdet/core/evaluation/init.py", line 5, in
from .mean_ap import average_precision, eval_map, print_map_summary
File "/home/xj2018/RepPointsV2/mmdet/core/evaluation/mean_ap.py", line 6, in
from terminaltables import AsciiTable
ModuleNotFoundError: No module named 'terminaltables'
Traceback (most recent call last):
File "./tools/train.py", line 13, in
from mmdet.apis import set_random_seed, train_detector
File "/home/xj2018/RepPointsV2/mmdet/apis/init.py", line 1, in
from .inference import (async_inference_detector, inference_detector,
File "/home/xj2018/RepPointsV2/mmdet/apis/inference.py", line 9, in
from mmdet.core import get_classes
File "/home/xj2018/RepPointsV2/mmdet/core/init.py", line 3, in
from .evaluation import * # noqa: F401, F403
File "/home/xj2018/RepPointsV2/mmdet/core/evaluation/init.py", line 5, in
from .mean_ap import average_precision, eval_map, print_map_summary
File "/home/xj2018/RepPointsV2/mmdet/core/evaluation/mean_ap.py", line 6, in
from terminaltables import AsciiTable
ModuleNotFoundError: No module named 'terminaltables'
Traceback (most recent call last):
File "/home/xj2018/anaconda3/envs/open-mmlab/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/xj2018/anaconda3/envs/open-mmlab/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/xj2018/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/distributed/launch.py", line 263, in
main()
File "/home/xj2018/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/distributed/launch.py", line 259, in main
cmd=cmd)
subprocess.CalledProcessError: Command '['/home/xj2018/anaconda3/envs/open-mmlab/bin/python', '-u', './tools/train.py', '--local_rank=7', 'configs/reppoints_v2/reppoints_v2_r50_fpn_giou_1x_coco.py', '--launcher', 'pytorch']' returned non-zero exit status 1.

@GeroCI
Copy link
Author

GeroCI commented Aug 4, 2020

I find this problem: in my server root , one python's environment has installed this package, I delete that package, and my own environment will install it. such as:
Requirement already satisfied: terminaltables in /home/xj2018/anaconda3/lib/python3.7/site-packages/terminaltables-3.1.0-py3.7.egg (3.1.0), i delete this package , and perfom : pip install terminialtables

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

1 participant