You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Detectron2LayoutModel requires the detectron2 library but it was not found in your environment #184
I write a code in jupyter notebook. If I change directory to where I installed detectron2 as mentioned above, import detectron2 and import layoutparser runs. However, I still get an error. Why so?
File C:\anaconda\lib\site-packages\layoutparser\file_utils.py:175, in requires_backends(obj, backends)
173 name = obj.name if hasattr(obj, "name") else obj.class.name
174 if not all(BACKENDS_MAPPING[backend]0 for backend in backends):
--> 175 raise ImportError(
176 "".join([BACKENDS_MAPPING[backend][1].format(name) for backend in backends])
177 )
Activity
mmervecerit commentedon Aug 10, 2023
having the same issue.
biographie commentedon Aug 22, 2023
having the same issues as well, any potential of fixing this?
maxycn commentedon May 7, 2024
I'm using MacOS M3 and able to successfully install detectron2 through Anaconda.
LakshayKhattar commentedon Apr 2, 2025
Any luck with this on windows?