Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

TypeError on abc.py #16

Open
MarioMZhang opened this issue Jan 2, 2022 · 2 comments · May be fixed by #17 or #19
Open

TypeError on abc.py #16

MarioMZhang opened this issue Jan 2, 2022 · 2 comments · May be fixed by #17 or #19

Comments

@MarioMZhang
Copy link

TypeError: Cannot create a consistent method resolution
order (MRO) for bases ABC, Module

I tried different python version, but it did not work

Thanks in advance

@youngryan1993
Copy link

youngryan1993 commented Jan 8, 2022

Hello, I also had the same problem and have solved it.

I just recreate the conda environment with optimal configurations recommended by author. (Python 3.7 /
PyTorch 1.4 / TorchVision 0.5.0 - no greater version!)

Hope this helps

@chenw23
Copy link

chenw23 commented Feb 3, 2022

For your information, it also works with PyTorch 1.4 / TorchVision 0.5.0 but Python 3.8.
So keeping consistent PyTorch version should be sufficient to solve this problem.

@chenw23 chenw23 linked a pull request Feb 6, 2022 that will close this issue
@wrongu wrongu linked a pull request Aug 29, 2022 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants