JPfeP / AddRoutes

Allow MIDI, OSC and a remote Android App to control Blender 2.8
http://www.jpfep.net/pages/addroutes/
GNU General Public License v2.0
99 stars 10 forks source link

Ubuntu 22.04 / Blender 3.3..1 - could not activate - rtmidi not installed - solved #24

Open ThomZenTury opened 1 month ago

ThomZenTury commented 1 month ago

Hi there! Thanks for the useful plugin.

When I installed the .zip through Blender's GUI I couldn't activate the addon because of missing "rtmidi" although it's installed on the system.

Workaround: You need to find where Blender's own python interpreter is located and install rtmidi through this one.

  1. Open Blender.

  2. Go to the Scripting tab.

  3. In the Python console within Blender, run the following command to find the path to the Python executable:

    import sys
    print(sys.executable)

    This will print the path to Blender's Python executable, which will look something like

/path/to/blender/3.3/python/bin/python3.10

  1. Open a Terminal, cd into this directory and install rtmidi through Blender's python3.10 interpreter

    # open Terminal
    # change directory
    cd /path/to/blender/3.3/python/bin/
    # install rtmidi
    ./python3.10 -m pip install python-rtmidi
  2. Restart Blender

  3. Solved my case

str8tiger commented 3 weeks ago

your comment sovled my problem in blender 4.2, thanks a lot!!