Maybe a Bug
See original GitHub issue@cheind Hi, cheind. I try to import motmetrics after I installed it , but met a error : AttributeError: module ‘importlib’ has no attribute ‘util’ . My enveriment is Python 3.5.2. It maybe a bug . I fixed it by change import importlib
to import importlib from importlib import util
in lap.py line 148. available_solvers = [s[0] for s in solvers if util.find_spec(s[0]) is not None]
in line 162
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Maybe a bug: integerDivideByZero · Issue #300 - GitHub
Hello, I wanna tell an inconsistency between two similar testcases: // test1.c #include int main(){ int a = 9; int b = 0;...
Read more >Maybe a Bug - WordPress.org
I think i found a bug. I enabled the media library uploads option but it doesn't work. I can upload the gpx file...
Read more >Maybe Bring Your Bug To School: June, Jon - Amazon.com
Very fun & clever book! Reviewed in the United States on January 31, 2021. What a clever theme & special beautiful illustrations done...
Read more >Maybe a bug? (Pun intended) : r/BaldursGate3 - Reddit
Also the hilarious thing is that nat 1's being an auto fail means that you can still manage to fail the 0 dc...
Read more >Maybe a bug? (Example) | Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I still have this bug.
File “evaluate.py”, line 8, in <module> from evaluateTracking import evaluateTracking File “/media/raaj/Storage/video_datasets/posetrack_valscripts/py/evaluateTracking.py”, line 8, in <module> import motmetrics as mm File “/usr/local/lib/python2.7/dist-packages/motmetrics/init.py”, line 2, in <module> from .mot import MOTAccumulator File “/usr/local/lib/python2.7/dist-packages/motmetrics/mot.py”, line 12, in <module> from motmetrics.lap import linear_sum_assignment File “/usr/local/lib/python2.7/dist-packages/motmetrics/lap.py”, line 171, in <module> init_standard_solvers() File “/usr/local/lib/python2.7/dist-packages/motmetrics/lap.py”, line 149, in init_standard_solvers from importlib import util
I see that importlib util is only available in Python3. Does that mean this library is Python 3 only?
I am also meeting this bug, after installed by python 2