# Mote | OSError: Unable to find Mote device

**URL:** <https://forums.pimoroni.com/t/mote-oserror-unable-to-find-mote-device/3051>\
**Category:** Support\
**Created:** [September 16, 2016, 11:16pm UTC](https://forums.pimoroni.com/t/mote-oserror-unable-to-find-mote-device/3051 "2016-09-16T23:16:22Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheBaronHimself](https://avatars.discourse-cdn.com/v4/letter/t/22d042/32.png) [@TheBaronHimself](https://forums.pimoroni.com/u/TheBaronHimself)\
**Post date:** [September 16, 2016, 11:16pm UTC](https://forums.pimoroni.com/t/mote-oserror-unable-to-find-mote-device/3051/1 "2016-09-16T23:16:22Z")

</div>

**Hello Folks,**

I just received my two Mote kits and wanted to give them ago. However, whenever I instantiate a Mote class, I get the following error:

```
OSError: Unable to find Mote device

```

Here’s the whole of what I’ve done:

```
Python 3.5.2 |Anaconda custom (x86_64)| (default, Jul 2 2016, 17:52:12)
[GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from mote import Mote
>>> mote = Mote()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/simon-claudius/anaconda/lib/python3.5/site-packages/mote/ __init__.py", line 32, in __init__
    raise IOError("Unable to find Mote device")
OSError: Unable to find Mote device
>>>

```

Any ideas how I can get to the bottom of this?

I’m running this on OSX 10.11.6 in Python 3.5.2. Mote’s version is 0.0.1

Take care,  
Simon-Claudius

---

<div class="post-metadata">

**Author:** ![RogueM](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/roguem/32/311_2.png) [@RogueM](https://forums.pimoroni.com/u/RogueM)\
**Post date:** [September 16, 2016, 11:26pm UTC](https://forums.pimoroni.com/t/mote-oserror-unable-to-find-mote-device/3051/2 "2016-09-16T23:26:04Z")

</div>

have you installed pyserial? I don’t think the setup file enforces the dependency, but it won’t function without it!

---

<div class="post-metadata">

**Author:** ![TheBaronHimself](https://avatars.discourse-cdn.com/v4/letter/t/22d042/32.png) [@TheBaronHimself](https://forums.pimoroni.com/u/TheBaronHimself)\
**Post date:** [September 16, 2016, 11:33pm UTC](https://forums.pimoroni.com/t/mote-oserror-unable-to-find-mote-device/3051/3 "2016-09-16T23:33:27Z")

</div>

> [@RogueM](#):
>
> have you installed pyserial? I don’t think the setup file enforces the dependency, but it won’t function without it!

I have (version 2.7).

---

<div class="post-metadata">

**Author:** ![RogueM](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/roguem/32/311_2.png) [@RogueM](https://forums.pimoroni.com/u/RogueM)\
**Post date:** [September 16, 2016, 11:36pm UTC](https://forums.pimoroni.com/t/mote-oserror-unable-to-find-mote-device/3051/4 "2016-09-16T23:36:04Z")

</div>

not sure… I’ll have to try, I don’t think I have tested python3 on the Mac.

FYI, Raspberry Pi is shipping with Python 3.4 so that is the only environment this is seriously tested and coded in. So, I would try under Python 2.7 to make sure the hardware works first and foremost.

---

<div class="post-metadata">

**Author:** ![TheBaronHimself](https://avatars.discourse-cdn.com/v4/letter/t/22d042/32.png) [@TheBaronHimself](https://forums.pimoroni.com/u/TheBaronHimself)\
**Post date:** [September 16, 2016, 11:37pm UTC](https://forums.pimoroni.com/t/mote-oserror-unable-to-find-mote-device/3051/5 "2016-09-16T23:37:19Z")

</div>

Weirdly enough, Mote is listed in the connected devices:

```
Mote USB Dock:

      Product ID: 0x08c4
      Vendor ID: 0x16d0
      Version: 1.00
      Speed: Up to 12 Mb/sec
      Manufacturer: Pimoroni Ltd
      Location ID: 0x14200000 / 4
      Current Available (mA): 1000
      Current Required (mA): 500
      Extra Operating Current (mA): 0
```

---

<div class="post-metadata">

**Author:** ![RogueM](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/roguem/32/311_2.png) [@RogueM](https://forums.pimoroni.com/u/RogueM)\
**Post date:** [September 16, 2016, 11:42pm UTC](https://forums.pimoroni.com/t/mote-oserror-unable-to-find-mote-device/3051/6 "2016-09-16T23:42:20Z")

</div>

you can also try my demo: [https://github.com/RogueM/mote/tree/testing/python/demo/macosx](https://github.com/RogueM/mote/tree/testing/python/demo/macosx)

… it’s a self-contained Python 2.7 environment packaged with PyInstaller that has been tested on OSX 10.9 through to 10.12. If you get the Mote sticks to work then at least you can rule out a problem with the host (though if you got 2 it’s unlikely both would be be DOA).

---

<div class="post-metadata">

**Author:** ![TheBaronHimself](https://avatars.discourse-cdn.com/v4/letter/t/22d042/32.png) [@TheBaronHimself](https://forums.pimoroni.com/u/TheBaronHimself)\
**Post date:** [September 16, 2016, 11:46pm UTC](https://forums.pimoroni.com/t/mote-oserror-unable-to-find-mote-device/3051/7 "2016-09-16T23:46:34Z")

</div>

The demo runs perfectly fine.

---

<div class="post-metadata">

**Author:** ![RogueM](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/roguem/32/311_2.png) [@RogueM](https://forums.pimoroni.com/u/RogueM)\
**Post date:** [September 16, 2016, 11:48pm UTC](https://forums.pimoroni.com/t/mote-oserror-unable-to-find-mote-device/3051/8 "2016-09-16T23:48:30Z")

</div>

OK, I just tried and it works here on Python 3.5.2 (under 10.12), but that’s with pyserial 3.1.1, which is what is available on pypi.

… how have you installed pyserial? It should work with pyserial 2.6/2.7 but perhaps there is a bug under Python3.5?

---

<div class="post-metadata">

**Author:** ![TheBaronHimself](https://avatars.discourse-cdn.com/v4/letter/t/22d042/32.png) [@TheBaronHimself](https://forums.pimoroni.com/u/TheBaronHimself)\
**Post date:** [September 16, 2016, 11:59pm UTC](https://forums.pimoroni.com/t/mote-oserror-unable-to-find-mote-device/3051/9 "2016-09-16T23:59:37Z")

</div>

Okay, so anaconda doesn’t seem to distribute pyserial 3.1.1. not even when using pypi. I now installed 3.1.1. via pip and everything works. Blinking lights everywhere!

Thanks a bunch :).
