Posts: 321
Joined: Tue Dec 27, 2011 9:09 pm

Sonic Pi from Python.

Tue Nov 01, 2016 2:21 pm

I would like to use Sonic Pi from Python. I tried the instructions at

But I get error

Code: Select all

pip install python-sonic
Downloading/unpacking python-sonic
  Could not find any downloads that satisfy the requirement python-sonic
Cleaning up...
No distributions at all found for python-sonic
Storing debug log for failure in /home/pi/.pip/pip.log
I also tried

Code: Select all

sudo pip install python-osc
Downloading/unpacking python-osc
  Downloading python-osc-1.6.tar.gz
  Running (path:/tmp/pip-build-3uhgrC/python-osc/ egg_info for package python-osc

Installing collected packages: python-osc
  Running install for python-osc
      File "/usr/local/lib/python2.7/dist-packages/pythonosc/", line 53
        yield from handlers
    SyntaxError: invalid syntax

Successfully installed python-osc
Cleaning up...
Which says it was successful but clearly there is a problem with the dispatcher

Return to “General discussion”