# Attribute error module 're' has no attribute 'findall'

**URL:** <https://forums.openmv.io/t/attribute-error-module-re-has-no-attribute-findall/11904>\
**Category:** OpenMV Boards\
**Created:** [October 20, 2026, 2:42pm UTC](https://forums.openmv.io/t/attribute-error-module-re-has-no-attribute-findall/11904 "2026-10-20T14:42:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ulf\_Andersson](https://avatars.discourse-cdn.com/v4/letter/u/c0e974/32.png) [@Ulf\_Andersson](https://forums.openmv.io/u/Ulf_Andersson)\
**Post date:** [October 20, 2026, 2:42pm UTC](https://forums.openmv.io/t/attribute-error-module-re-has-no-attribute-findall/11904/1 "2026-10-20T14:42:27Z")

</div>

The folloving code give AttributeError: module ‘re’ has no attribute ‘findall’

import re  
text = " 0 0 0 333 296 28 37 40 "

# Find all

matchningar = re.findall(r’\d+', text)  
print(matchningar)

---

<div class="post-metadata">

**Author:** ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)\
**Post date:** [October 20, 2026, 5:46pm UTC](https://forums.openmv.io/t/attribute-error-module-re-has-no-attribute-findall/11904/2 "2026-10-20T17:46:00Z")

</div>

See this: [2.35. Pattern basics - OpenMV MicroPython 1.28 documentation](https://docs.openmv.io/v5.0.1/openmvcam/tutorial/python/regex/pattern-basics.html#the-four-things-you-ll-use)

---

<div class="post-metadata">

**Author:** ![Ulf\_Andersson](https://avatars.discourse-cdn.com/v4/letter/u/c0e974/32.png) [@Ulf\_Andersson](https://forums.openmv.io/u/Ulf_Andersson)\
**Post date:** [October 20, 2026, 7:08pm UTC](https://forums.openmv.io/t/attribute-error-module-re-has-no-attribute-findall/11904/3 "2026-10-20T19:08:59Z")

</div>

OK  
Thanks for a quick answer

 ![Namnlös](https://canada1.discourse-cdn.com/flex029/uploads/openmv1/original/2X/e/ee9f4f6dd856fadf70c012d29f5157a653485b7d.jpeg)

Is there a way (in the editor) to find out what is supported?

---

<div class="post-metadata">

**Author:** ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)\
**Post date:** [October 20, 2026, 8:18pm UTC](https://forums.openmv.io/t/attribute-error-module-re-has-no-attribute-findall/11904/4 "2026-10-20T20:18:41Z")

</div>

That’s just desktop python being injected from the pyslp module. It’s hard to stop it from doing that. It wants to use the docs from the desktop library for modules which have desktop equivalents versus using the docs from the actual module running onboard.

I’ll see if I can fix in the next release.
