# Getting message "ImportError: no moduled name digi"

**URL:** <https://forums.digi.com/t/getting-message-importerror-no-moduled-name-digi/21253>\
**Category:** XBee Micropython & IDE plugin\
**Tags:** micropython, importerror, python\
**Created:** [April 6, 2020, 10:23am UTC](https://forums.digi.com/t/getting-message-importerror-no-moduled-name-digi/21253 "2020-04-06T10:23:23Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![brungsmc](https://avatars.discourse-cdn.com/v4/letter/b/5f8ce5/32.png) [@brungsmc](https://forums.digi.com/u/brungsmc)\
**Post date:** [April 6, 2020, 10:23am UTC](https://forums.digi.com/t/getting-message-importerror-no-moduled-name-digi/21253/1 "2020-04-06T10:23:23Z")

</div>

When I try to run any of the Bluetooth Test programs I keep getting the message  
“ImportError: no moduled name digi”. I’ve downloaded the latest versions of XCTU and PyCharm.

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [April 6, 2020, 10:24am UTC](https://forums.digi.com/t/getting-message-importerror-no-moduled-name-digi/21253/2 "2020-04-06T10:24:40Z")

</div>

Brungsmc,

What is the part number of the XBee module you are working with and what firmware version is installed?

Digi Support

---

<div class="post-metadata">

**Author:** ![brungsmc](https://avatars.discourse-cdn.com/v4/letter/b/5f8ce5/32.png) [@brungsmc](https://forums.digi.com/u/brungsmc)\
**Post date:** [April 6, 2020, 11:41am UTC](https://forums.digi.com/t/getting-message-importerror-no-moduled-name-digi/21253/3 "2020-04-06T11:41:42Z")

</div>

I’m using an Xbee3.

The firmware version is 2006

---

<div class="post-metadata">

**Author:** ![brungsmc](https://avatars.discourse-cdn.com/v4/letter/b/5f8ce5/32.png) [@brungsmc](https://forums.digi.com/u/brungsmc)\
**Post date:** [April 6, 2020, 11:41am UTC](https://forums.digi.com/t/getting-message-importerror-no-moduled-name-digi/21253/4 "2020-04-06T11:41:35Z")

</div>

I’ve even tried copying the code from PyCharm into the MicroPython terminal in XCTU and I get the same message

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [April 6, 2020, 12:59pm UTC](https://forums.digi.com/t/getting-message-importerror-no-moduled-name-digi/21253/5 "2020-04-06T12:59:35Z")

</div>

Brungsmc,

Do you have the Blue tooth function enabled?

Digi Support

---

<div class="post-metadata">

**Author:** ![brungsmc](https://avatars.discourse-cdn.com/v4/letter/b/5f8ce5/32.png) [@brungsmc](https://forums.digi.com/u/brungsmc)\
**Post date:** [April 7, 2020, 9:12am UTC](https://forums.digi.com/t/getting-message-importerror-no-moduled-name-digi/21253/6 "2020-04-07T09:12:58Z")

</div>

I do have the Bluetooth enabled

---

<div class="post-metadata">

**Author:** ![tckr](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/tckr/32/2522_2.png) [@tckr](https://forums.digi.com/u/tckr)\
**Post date:** [April 7, 2020, 8:51am UTC](https://forums.digi.com/t/getting-message-importerror-no-moduled-name-digi/21253/7 "2020-04-07T08:51:36Z")

</div>

Hi Brungsmc,

If you take a look at the README file for any of the Bluetooth samples, you will find that the minimum firmware version supported on XBee 3 802.15.4 is 200A. For example: [https://github.com/digidotcom/xbee-micropython/tree/master/samples/bluetooth/gap\_advertise](https://github.com/digidotcom/xbee-micropython/tree/master/samples/bluetooth/gap_advertise)

200A is not yet released, so you cannot currently run any of the Bluetooth samples on XBee 3 802.15.4 hardware. You can, however, run some samples such as gap\_advertise on XBee 3 Zigbee 1009.

---

<div class="post-metadata">

**Author:** ![brungsmc](https://avatars.discourse-cdn.com/v4/letter/b/5f8ce5/32.png) [@brungsmc](https://forums.digi.com/u/brungsmc)\
**Post date:** [April 7, 2020, 10:14am UTC](https://forums.digi.com/t/getting-message-importerror-no-moduled-name-digi/21253/8 "2020-04-07T10:14:13Z")

</div>

Thanks for the help. I was actually testing that out when I got your notification. I appreciate your help
