# Touchosc2midi in Python

**URL:** <https://community.blokas.io/t/touchosc2midi-in-python/2831>\
**Category:** Patchbox OS\
**Created:** [March 13, 2021, 2:46am UTC](https://community.blokas.io/t/touchosc2midi-in-python/2831 "2021-03-13T02:46:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gdub64](https://community.blokas.io/letter_avatar_proxy/v4/letter/g/54ee81/32.png) [@gdub64](https://community.blokas.io/u/gdub64)\
**Post date:** [March 13, 2021, 2:46am UTC](https://community.blokas.io/t/touchosc2midi-in-python/2831/1 "2021-03-13T02:46:46Z")

</div>

Hello,

On another non-patchbox os install I had touchosc2midi running and could import it into Python, then use Python to act on the incoming MIDI messages. On patchbox os I can run touchosc2midi and see incoming OSC and MIDI data with various tools. However, I can’t import in python, it tells me it “no module named touchosc2midi”.

Any thoughts on why this may be happening?

Thanks! /GW

---

<div class="post-metadata">

**Author:** ![gdub64](https://community.blokas.io/letter_avatar_proxy/v4/letter/g/54ee81/32.png) [@gdub64](https://community.blokas.io/u/gdub64)\
**Post date:** [March 13, 2021, 3:15am UTC](https://community.blokas.io/t/touchosc2midi-in-python/2831/2 "2021-03-13T03:15:27Z")

</div>

I figured it out. I’m using the mido library not something else. I see that touchosc2midi is just a bridge and exposes I/O that mido can see in Python.
