question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

@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:closed
  • Created 6 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
soulslicercommented, Apr 23, 2018

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?

0reactions
xiaofanglegoccommented, Nov 12, 2018

I am also meeting this bug, after installed by python 2

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found