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 'pytest' #762

Closed
shinya7y opened this issue Dec 27, 2020 · 1 comment
Closed

ModuleNotFoundError: No module named 'pytest' #762

shinya7y opened this issue Dec 27, 2020 · 1 comment

Comments

@shinya7y
Copy link
Contributor

It seems a new runtime requirement from #673

Traceback (most recent call last):
  File "./tools/train.py", line 8, in <module>
    import mmcv
  File "/home/shinya7y/miniconda3/envs/mmd270/lib/python3.7/site-packages/mmcv/__init__.py", line 4, in <module>
    from .fileio import *
  File "/home/shinya7y/miniconda3/envs/mmd270/lib/python3.7/site-packages/mmcv/fileio/__init__.py", line 4, in <module>
    from .io import dump, load, register_handler
  File "/home/shinya7y/miniconda3/envs/mmd270/lib/python3.7/site-packages/mmcv/fileio/io.py", line 4, in <module>
    from ..utils import is_list_of, is_str
  File "/home/shinya7y/miniconda3/envs/mmd270/lib/python3.7/site-packages/mmcv/utils/__init__.py", line 36, in <module>
    from .parrots_jit import jit, skip_no_elena, skip_no_parrots
  File "/home/shinya7y/miniconda3/envs/mmd270/lib/python3.7/site-packages/mmcv/utils/parrots_jit.py", line 1, in <module>
    import pytest
ModuleNotFoundError: No module named 'pytest'
@hellock
Copy link
Member

hellock commented Dec 28, 2020

Thanks for reporting the bug! It has been fixed in #763, and a new patch version will be released.

@hellock hellock closed this as completed Dec 28, 2020
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