belangeo / pyo

Python DSP module
GNU Lesser General Public License v3.0
1.31k stars 131 forks source link

Unable to install in Ubuntu 22.04 with python 3.10 #236

Closed pedro-acunha closed 2 years ago

pedro-acunha commented 2 years ago

When I tried to install pyo in Ubuntu 22.04 with python 3.10, I got a legacy-install-failure. Installation made using: sudo python3 -m pip install pyo

Output:

In file included from src/engine/ad_portaudio.c:21: include/ad_portaudio.h:25:10: fatal error: portaudio.h: No such file or directory 25 | #include "portaudio.h" | ^~~~~ compilation terminated. error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pyo Running setup.py clean for pyo Failed to build pyo Installing collected packages: pyo Running setup.py install for pyo ... error error: subprocess-exited-with-error

× Running setup.py install for pyo did not run successfully. │ exit code: 1 ╰─> [316 lines of output] running install /usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py creating build creating build/lib.linux-x86_64-3.10 creating build/lib.linux-x86_64-3.10/pyo copying pyo/_linux_wheel_fix_symlinks.py -> build/lib.linux-x86_64-3.10/pyo copying pyo/init.py -> build/lib.linux-x86_64-3.10/pyo creating build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/arithmetic.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/mmlmusic.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/randoms.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/_core.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/pan.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/matrixprocess.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/analysis.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/players.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/hrtf.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/_wxwidgets.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/midi.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/init.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/pattern.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/triggers.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/server.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/_tkwidgets.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/filters.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/tableprocess.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/effects.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/listener.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/controls.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/phasevoc.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/generators.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/events.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/dynamics.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/matrix.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/_widgets.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/tables.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/opensndctrl.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/fourier.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/utils.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/_maps.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/expression.py -> build/lib.linux-x86_64-3.10/pyo/lib copying pyo/lib/wxgui.py -> build/lib.linux-x86_64-3.10/pyo/lib creating build/lib.linux-x86_64-3.10/pyo/lib/snds copying pyo/lib/snds/init.py -> build/lib.linux-x86_64-3.10/pyo/lib/snds creating build/lib.linux-x86_64-3.10/pyo/editor copying pyo/editor/EPyo.py -> build/lib.linux-x86_64-3.10/pyo/editor copying pyo/editor/Tutorial_03_TriTable.py -> build/lib.linux-x86_64-3.10/pyo/editor copying pyo/editor/Tutorial_01_RingMod.py -> build/lib.linux-x86_64-3.10/pyo/editor copying pyo/editor/init.py -> build/lib.linux-x86_64-3.10/pyo/editor copying pyo/editor/Tutorial_02_Flanger.py -> build/lib.linux-x86_64-3.10/pyo/editor creating build/lib.linux-x86_64-3.10/pyo/editor/styles copying pyo/editor/styles/init.py -> build/lib.linux-x86_64-3.10/pyo/editor/styles creating build/lib.linux-x86_64-3.10/pyo/editor/snippets copying pyo/editor/snippets/init.py -> build/lib.linux-x86_64-3.10/pyo/editor/snippets creating build/lib.linux-x86_64-3.10/pyo/editor/snippets/Audio copying pyo/editor/snippets/Audio/init.py -> build/lib.linux-x86_64-3.10/pyo/editor/snippets/Audio creating build/lib.linux-x86_64-3.10/pyo/editor/snippets/Control copying pyo/editor/snippets/Control/init.py -> build/lib.linux-x86_64-3.10/pyo/editor/snippets/Control creating build/lib.linux-x86_64-3.10/pyo/editor/snippets/Interface copying pyo/editor/snippets/Interface/init.py -> build/lib.linux-x86_64-3.10/pyo/editor/snippets/Interface creating build/lib.linux-x86_64-3.10/pyo/editor/snippets/Utilities copying pyo/editor/snippets/Utilities/init.py -> build/lib.linux-x86_64-3.10/pyo/editor/snippets/Utilities creating build/lib.linux-x86_64-3.10/pyo/examples copying pyo/examples/init.py -> build/lib.linux-x86_64-3.10/pyo/examples creating build/lib.linux-x86_64-3.10/pyo/examples/01-intro copying pyo/examples/01-intro/02-sine-tone.py -> build/lib.linux-x86_64-3.10/pyo/examples/01-intro copying pyo/examples/01-intro/03-parallel-proc.py -> build/lib.linux-x86_64-3.10/pyo/examples/01-intro copying pyo/examples/01-intro/04-serial-proc.py -> build/lib.linux-x86_64-3.10/pyo/examples/01-intro copying pyo/examples/01-intro/init.py -> build/lib.linux-x86_64-3.10/pyo/examples/01-intro copying pyo/examples/01-intro/05-output-channels.py -> build/lib.linux-x86_64-3.10/pyo/examples/01-intro copying pyo/examples/01-intro/01-audio-server.py -> build/lib.linux-x86_64-3.10/pyo/examples/01-intro creating build/lib.linux-x86_64-3.10/pyo/examples/02-controls copying pyo/examples/02-controls/10-handling-channels-3.py -> build/lib.linux-x86_64-3.10/pyo/examples/02-controls copying pyo/examples/02-controls/07-multichannel-expansion-2.py -> build/lib.linux-x86_64-3.10/pyo/examples/02-controls copying pyo/examples/02-controls/05-math-ops.py -> build/lib.linux-x86_64-3.10/pyo/examples/02-controls copying pyo/examples/02-controls/01-fixed-control.py -> build/lib.linux-x86_64-3.10/pyo/examples/02-controls copying pyo/examples/02-controls/03-output-range.py -> build/lib.linux-x86_64-3.10/pyo/examples/02-controls copying pyo/examples/02-controls/init.py -> build/lib.linux-x86_64-3.10/pyo/examples/02-controls copying pyo/examples/02-controls/04-building-lfo.py -> build/lib.linux-x86_64-3.10/pyo/examples/02-controls copying pyo/examples/02-controls/11-handling-channels-4.py -> build/lib.linux-x86_64-3.10/pyo/examples/02-controls copying pyo/examples/02-controls/08-handling-channels.py -> build/lib.linux-x86_64-3.10/pyo/examples/02-controls copying pyo/examples/02-controls/06-multichannel-expansion.py -> build/lib.linux-x86_64-3.10/pyo/examples/02-controls copying pyo/examples/02-controls/02-dynamic-control.py -> build/lib.linux-x86_64-3.10/pyo/examples/02-controls copying pyo/examples/02-controls/09-handling-channels-2.py -> build/lib.linux-x86_64-3.10/pyo/examples/02-controls creating build/lib.linux-x86_64-3.10/pyo/examples/03-generators copying pyo/examples/03-generators/06-random-generators.py -> build/lib.linux-x86_64-3.10/pyo/examples/03-generators copying pyo/examples/03-generators/01-complex-oscs.py -> build/lib.linux-x86_64-3.10/pyo/examples/03-generators copying pyo/examples/03-generators/02-band-limited-oscs.py -> build/lib.linux-x86_64-3.10/pyo/examples/03-generators copying pyo/examples/03-generators/init.py -> build/lib.linux-x86_64-3.10/pyo/examples/03-generators copying pyo/examples/03-generators/05-strange-attractors.py -> build/lib.linux-x86_64-3.10/pyo/examples/03-generators copying pyo/examples/03-generators/04-noise-generators.py -> build/lib.linux-x86_64-3.10/pyo/examples/03-generators copying pyo/examples/03-generators/03-fm-generators.py -> build/lib.linux-x86_64-3.10/pyo/examples/03-generators creating build/lib.linux-x86_64-3.10/pyo/examples/04-soundfiles copying pyo/examples/04-soundfiles/04-record-perf.py -> build/lib.linux-x86_64-3.10/pyo/examples/04-soundfiles copying pyo/examples/04-soundfiles/05-record-streams.py -> build/lib.linux-x86_64-3.10/pyo/examples/04-soundfiles copying pyo/examples/04-soundfiles/03-read-from-ram.py -> build/lib.linux-x86_64-3.10/pyo/examples/04-soundfiles copying pyo/examples/04-soundfiles/01-read-from-disk.py -> build/lib.linux-x86_64-3.10/pyo/examples/04-soundfiles copying pyo/examples/04-soundfiles/init.py -> build/lib.linux-x86_64-3.10/pyo/examples/04-soundfiles copying pyo/examples/04-soundfiles/06-record-table.py -> build/lib.linux-x86_64-3.10/pyo/examples/04-soundfiles copying pyo/examples/04-soundfiles/02-read-from-disk-2.py -> build/lib.linux-x86_64-3.10/pyo/examples/04-soundfiles creating build/lib.linux-x86_64-3.10/pyo/examples/05-envelopes copying pyo/examples/05-envelopes/05-breakpoints-functions.py -> build/lib.linux-x86_64-3.10/pyo/examples/05-envelopes copying pyo/examples/05-envelopes/04-simple-envelopes.py -> build/lib.linux-x86_64-3.10/pyo/examples/05-envelopes copying pyo/examples/05-envelopes/02-linear-ramp.py -> build/lib.linux-x86_64-3.10/pyo/examples/05-envelopes copying pyo/examples/05-envelopes/01-data-signal-conversion.py -> build/lib.linux-x86_64-3.10/pyo/examples/05-envelopes copying pyo/examples/05-envelopes/init.py -> build/lib.linux-x86_64-3.10/pyo/examples/05-envelopes copying pyo/examples/05-envelopes/03-exponential-ramp.py -> build/lib.linux-x86_64-3.10/pyo/examples/05-envelopes creating build/lib.linux-x86_64-3.10/pyo/examples/06-filters copying pyo/examples/06-filters/03-complex-resonator.py -> build/lib.linux-x86_64-3.10/pyo/examples/06-filters copying pyo/examples/06-filters/init.py -> build/lib.linux-x86_64-3.10/pyo/examples/06-filters copying pyo/examples/06-filters/07-hilbert-transform.py -> build/lib.linux-x86_64-3.10/pyo/examples/06-filters copying pyo/examples/06-filters/06-vocoder.py -> build/lib.linux-x86_64-3.10/pyo/examples/06-filters copying pyo/examples/06-filters/05-convolution-filters.py -> build/lib.linux-x86_64-3.10/pyo/examples/06-filters copying pyo/examples/06-filters/01-lowpass-filters.py -> build/lib.linux-x86_64-3.10/pyo/examples/06-filters copying pyo/examples/06-filters/04-phasing.py -> build/lib.linux-x86_64-3.10/pyo/examples/06-filters copying pyo/examples/06-filters/02-bandpass-filters.py -> build/lib.linux-x86_64-3.10/pyo/examples/06-filters creating build/lib.linux-x86_64-3.10/pyo/examples/07-effects copying pyo/examples/07-effects/06-hand-made-harmonizer.py -> build/lib.linux-x86_64-3.10/pyo/examples/07-effects copying pyo/examples/07-effects/02-schroeder-reverb.py -> build/lib.linux-x86_64-3.10/pyo/examples/07-effects copying pyo/examples/07-effects/05-hand-made-chorus.py -> build/lib.linux-x86_64-3.10/pyo/examples/07-effects copying pyo/examples/07-effects/init.py -> build/lib.linux-x86_64-3.10/pyo/examples/07-effects copying pyo/examples/07-effects/01-flanger.py -> build/lib.linux-x86_64-3.10/pyo/examples/07-effects copying pyo/examples/07-effects/03-fuzz-disto.py -> build/lib.linux-x86_64-3.10/pyo/examples/07-effects copying pyo/examples/07-effects/04-ping-pong-delay.py -> build/lib.linux-x86_64-3.10/pyo/examples/07-effects creating build/lib.linux-x86_64-3.10/pyo/examples/08-dynamics copying pyo/examples/08-dynamics/03-gated-verb.py -> build/lib.linux-x86_64-3.10/pyo/examples/08-dynamics copying pyo/examples/08-dynamics/01-dynamic-range.py -> build/lib.linux-x86_64-3.10/pyo/examples/08-dynamics copying pyo/examples/08-dynamics/init.py -> build/lib.linux-x86_64-3.10/pyo/examples/08-dynamics copying pyo/examples/08-dynamics/02-ducking.py -> build/lib.linux-x86_64-3.10/pyo/examples/08-dynamics copying pyo/examples/08-dynamics/04-rms-tracing.py -> build/lib.linux-x86_64-3.10/pyo/examples/08-dynamics creating build/lib.linux-x86_64-3.10/pyo/examples/09-callbacks copying pyo/examples/09-callbacks/01-periodic-calls.py -> build/lib.linux-x86_64-3.10/pyo/examples/09-callbacks copying pyo/examples/09-callbacks/02-score-calls.py -> build/lib.linux-x86_64-3.10/pyo/examples/09-callbacks copying pyo/examples/09-callbacks/init.py -> build/lib.linux-x86_64-3.10/pyo/examples/09-callbacks copying pyo/examples/09-callbacks/03-delayed-calls.py -> build/lib.linux-x86_64-3.10/pyo/examples/09-callbacks creating build/lib.linux-x86_64-3.10/pyo/examples/10-tables copying pyo/examples/10-tables/04-granulation.py -> build/lib.linux-x86_64-3.10/pyo/examples/10-tables copying pyo/examples/10-tables/08-table-lookup.py -> build/lib.linux-x86_64-3.10/pyo/examples/10-tables copying pyo/examples/10-tables/05-micro-montage.py -> build/lib.linux-x86_64-3.10/pyo/examples/10-tables copying pyo/examples/10-tables/01-envelopes.py -> build/lib.linux-x86_64-3.10/pyo/examples/10-tables copying pyo/examples/10-tables/init.py -> build/lib.linux-x86_64-3.10/pyo/examples/10-tables copying pyo/examples/10-tables/06-table-stutter.py -> build/lib.linux-x86_64-3.10/pyo/examples/10-tables copying pyo/examples/10-tables/02-scrubbing.py -> build/lib.linux-x86_64-3.10/pyo/examples/10-tables copying pyo/examples/10-tables/07-moving-points.py -> build/lib.linux-x86_64-3.10/pyo/examples/10-tables copying pyo/examples/10-tables/03-looping.py -> build/lib.linux-x86_64-3.10/pyo/examples/10-tables creating build/lib.linux-x86_64-3.10/pyo/examples/16-midi copying pyo/examples/16-midi/03-midi-envelope.py -> build/lib.linux-x86_64-3.10/pyo/examples/16-midi copying pyo/examples/16-midi/init.py -> build/lib.linux-x86_64-3.10/pyo/examples/16-midi copying pyo/examples/16-midi/07-midifile-with-mido.py -> build/lib.linux-x86_64-3.10/pyo/examples/16-midi copying pyo/examples/16-midi/06-midi-out.py -> build/lib.linux-x86_64-3.10/pyo/examples/16-midi copying pyo/examples/16-midi/05-control-change.py -> build/lib.linux-x86_64-3.10/pyo/examples/16-midi copying pyo/examples/16-midi/02-notein-object.py -> build/lib.linux-x86_64-3.10/pyo/examples/16-midi copying pyo/examples/16-midi/01-midi-scan.py -> build/lib.linux-x86_64-3.10/pyo/examples/16-midi copying pyo/examples/16-midi/04-simple-midi-synth.py -> build/lib.linux-x86_64-3.10/pyo/examples/16-midi creating build/lib.linux-x86_64-3.10/pyo/examples/17-osc copying pyo/examples/17-osc/03-send-streams.py -> build/lib.linux-x86_64-3.10/pyo/examples/17-osc copying pyo/examples/17-osc/04-receive-list.py -> build/lib.linux-x86_64-3.10/pyo/examples/17-osc copying pyo/examples/17-osc/02-receive-streams.py -> build/lib.linux-x86_64-3.10/pyo/examples/17-osc copying pyo/examples/17-osc/init.py -> build/lib.linux-x86_64-3.10/pyo/examples/17-osc copying pyo/examples/17-osc/05-send-receive-data.py -> build/lib.linux-x86_64-3.10/pyo/examples/17-osc copying pyo/examples/17-osc/01-osc-scan.py -> build/lib.linux-x86_64-3.10/pyo/examples/17-osc creating build/lib.linux-x86_64-3.10/pyo/examples/19-multirate copying pyo/examples/19-multirate/01-multi-rate-processing.py -> build/lib.linux-x86_64-3.10/pyo/examples/19-multirate copying pyo/examples/19-multirate/init.py -> build/lib.linux-x86_64-3.10/pyo/examples/19-multirate copying pyo/examples/19-multirate/02-multi-rate-synthesis.py -> build/lib.linux-x86_64-3.10/pyo/examples/19-multirate creating build/lib.linux-x86_64-3.10/pyo/examples/20-multicore copying pyo/examples/20-multicore/01-processes-spawning.py -> build/lib.linux-x86_64-3.10/pyo/examples/20-multicore copying pyo/examples/20-multicore/init.py -> build/lib.linux-x86_64-3.10/pyo/examples/20-multicore copying pyo/examples/20-multicore/04-data-control.py -> build/lib.linux-x86_64-3.10/pyo/examples/20-multicore copying pyo/examples/20-multicore/02-sharing-audio.py -> build/lib.linux-x86_64-3.10/pyo/examples/20-multicore copying pyo/examples/20-multicore/03-synchronization.py -> build/lib.linux-x86_64-3.10/pyo/examples/20-multicore creating build/lib.linux-x86_64-3.10/pyo/examples/21-utilities copying pyo/examples/21-utilities/02-get-method.py -> build/lib.linux-x86_64-3.10/pyo/examples/21-utilities copying pyo/examples/21-utilities/04-buffer-interface.py -> build/lib.linux-x86_64-3.10/pyo/examples/21-utilities copying pyo/examples/21-utilities/init.py -> build/lib.linux-x86_64-3.10/pyo/examples/21-utilities copying pyo/examples/21-utilities/09-audio-mixer.py -> build/lib.linux-x86_64-3.10/pyo/examples/21-utilities copying pyo/examples/21-utilities/08-multiple-threads.py -> build/lib.linux-x86_64-3.10/pyo/examples/21-utilities copying pyo/examples/21-utilities/01-list-to-audio-file.py -> build/lib.linux-x86_64-3.10/pyo/examples/21-utilities copying pyo/examples/21-utilities/07-upsamp-processing.py -> build/lib.linux-x86_64-3.10/pyo/examples/21-utilities copying pyo/examples/21-utilities/05-batch-processing.py -> build/lib.linux-x86_64-3.10/pyo/examples/21-utilities copying pyo/examples/21-utilities/03-set-method.py -> build/lib.linux-x86_64-3.10/pyo/examples/21-utilities copying pyo/examples/21-utilities/06-batch-synthesis.py -> build/lib.linux-x86_64-3.10/pyo/examples/21-utilities creating build/lib.linux-x86_64-3.10/pyo/examples/22-events copying pyo/examples/22-events/04-custom-params.py -> build/lib.linux-x86_64-3.10/pyo/examples/22-events copying pyo/examples/22-events/03-instruments.py -> build/lib.linux-x86_64-3.10/pyo/examples/22-events copying pyo/examples/22-events/02-parameters.py -> build/lib.linux-x86_64-3.10/pyo/examples/22-events copying pyo/examples/22-events/08-function-calls.py -> build/lib.linux-x86_64-3.10/pyo/examples/22-events copying pyo/examples/22-events/13-using-audio-objects.py -> build/lib.linux-x86_64-3.10/pyo/examples/22-events copying pyo/examples/22-events/11-filters.py -> build/lib.linux-x86_64-3.10/pyo/examples/22-events copying pyo/examples/22-events/14-post-processing.py -> build/lib.linux-x86_64-3.10/pyo/examples/22-events copying pyo/examples/22-events/init.py -> build/lib.linux-x86_64-3.10/pyo/examples/22-events copying pyo/examples/22-events/07-managing-scales.py -> build/lib.linux-x86_64-3.10/pyo/examples/22-events copying pyo/examples/22-events/01-simple-sequences.py -> build/lib.linux-x86_64-3.10/pyo/examples/22-events copying pyo/examples/22-events/09-embedding-generators.py -> build/lib.linux-x86_64-3.10/pyo/examples/22-events copying pyo/examples/22-events/05-complex-sequences.py -> build/lib.linux-x86_64-3.10/pyo/examples/22-events copying pyo/examples/22-events/12-sharing-values.py -> build/lib.linux-x86_64-3.10/pyo/examples/22-events copying pyo/examples/22-events/10-arithmetic-ops.py -> build/lib.linux-x86_64-3.10/pyo/examples/22-events copying pyo/examples/22-events/06-randoms.py -> build/lib.linux-x86_64-3.10/pyo/examples/22-events creating build/lib.linux-x86_64-3.10/pyo/examples/23-expression copying pyo/examples/23-expression/08-load-function.py -> build/lib.linux-x86_64-3.10/pyo/examples/23-expression copying pyo/examples/23-expression/01-simple-expression.py -> build/lib.linux-x86_64-3.10/pyo/examples/23-expression copying pyo/examples/23-expression/07-condition.py -> build/lib.linux-x86_64-3.10/pyo/examples/23-expression copying pyo/examples/23-expression/05-define-function.py -> build/lib.linux-x86_64-3.10/pyo/examples/23-expression copying pyo/examples/23-expression/04-let-function.py -> build/lib.linux-x86_64-3.10/pyo/examples/23-expression copying pyo/examples/23-expression/init.py -> build/lib.linux-x86_64-3.10/pyo/examples/23-expression copying pyo/examples/23-expression/02-audio-in.py -> build/lib.linux-x86_64-3.10/pyo/examples/23-expression copying pyo/examples/23-expression/06-var-function.py -> build/lib.linux-x86_64-3.10/pyo/examples/23-expression copying pyo/examples/23-expression/03-multiple-inputs.py -> build/lib.linux-x86_64-3.10/pyo/examples/23-expression copying pyo/examples/23-expression/09-multiple-outputs.py -> build/lib.linux-x86_64-3.10/pyo/examples/23-expression creating build/lib.linux-x86_64-3.10/pyo/examples/algorithmic copying pyo/examples/algorithmic/02_scale_snap.py -> build/lib.linux-x86_64-3.10/pyo/examples/algorithmic copying pyo/examples/algorithmic/init.py -> build/lib.linux-x86_64-3.10/pyo/examples/algorithmic copying pyo/examples/algorithmic/01_music_box.py -> build/lib.linux-x86_64-3.10/pyo/examples/algorithmic copying pyo/examples/algorithmic/04_drum_machine.py -> build/lib.linux-x86_64-3.10/pyo/examples/algorithmic copying pyo/examples/algorithmic/03_melody_algo.py -> build/lib.linux-x86_64-3.10/pyo/examples/algorithmic creating build/lib.linux-x86_64-3.10/pyo/examples/fft copying pyo/examples/fft/08_fft_spec.py -> build/lib.linux-x86_64-3.10/pyo/examples/fft copying pyo/examples/fft/02_fft_cross.py -> build/lib.linux-x86_64-3.10/pyo/examples/fft copying pyo/examples/fft/init.py -> build/lib.linux-x86_64-3.10/pyo/examples/fft copying pyo/examples/fft/06_fft_vectral.py -> build/lib.linux-x86_64-3.10/pyo/examples/fft copying pyo/examples/fft/03_fft_morph.py -> build/lib.linux-x86_64-3.10/pyo/examples/fft copying pyo/examples/fft/01_fft_filter.py -> build/lib.linux-x86_64-3.10/pyo/examples/fft copying pyo/examples/fft/04_fft_gate.py -> build/lib.linux-x86_64-3.10/pyo/examples/fft copying pyo/examples/fft/07_fft_stretch.py -> build/lib.linux-x86_64-3.10/pyo/examples/fft copying pyo/examples/fft/05_fft_delay.py -> build/lib.linux-x86_64-3.10/pyo/examples/fft creating build/lib.linux-x86_64-3.10/pyo/examples/matrix copying pyo/examples/matrix/02_matrix_record.py -> build/lib.linux-x86_64-3.10/pyo/examples/matrix copying pyo/examples/matrix/04_matrix_rec_loop.py -> build/lib.linux-x86_64-3.10/pyo/examples/matrix copying pyo/examples/matrix/init.py -> build/lib.linux-x86_64-3.10/pyo/examples/matrix copying pyo/examples/matrix/01_wave_terrain.py -> build/lib.linux-x86_64-3.10/pyo/examples/matrix copying pyo/examples/matrix/03_matrix_algo.py -> build/lib.linux-x86_64-3.10/pyo/examples/matrix creating build/lib.linux-x86_64-3.10/pyo/examples/sampling copying pyo/examples/sampling/04_live_convolution.py -> build/lib.linux-x86_64-3.10/pyo/examples/sampling copying pyo/examples/sampling/03_rec_and_loop.py -> build/lib.linux-x86_64-3.10/pyo/examples/sampling copying pyo/examples/sampling/init.py -> build/lib.linux-x86_64-3.10/pyo/examples/sampling copying pyo/examples/sampling/01_sound_cloud.py -> build/lib.linux-x86_64-3.10/pyo/examples/sampling copying pyo/examples/sampling/02_live_looper.py -> build/lib.linux-x86_64-3.10/pyo/examples/sampling creating build/lib.linux-x86_64-3.10/pyo/examples/sequencing copying pyo/examples/sequencing/03_function_call.py -> build/lib.linux-x86_64-3.10/pyo/examples/sequencing copying pyo/examples/sequencing/init.py -> build/lib.linux-x86_64-3.10/pyo/examples/sequencing copying pyo/examples/sequencing/02_random_score.py -> build/lib.linux-x86_64-3.10/pyo/examples/sequencing copying pyo/examples/sequencing/01_starttime_duration.py -> build/lib.linux-x86_64-3.10/pyo/examples/sequencing creating build/lib.linux-x86_64-3.10/pyo/examples/snds copying pyo/examples/snds/init.py -> build/lib.linux-x86_64-3.10/pyo/examples/snds creating build/lib.linux-x86_64-3.10/pyo/examples/synthesis copying pyo/examples/synthesis/04_granule.py -> build/lib.linux-x86_64-3.10/pyo/examples/synthesis copying pyo/examples/synthesis/06_lfo_controls.py -> build/lib.linux-x86_64-3.10/pyo/examples/synthesis copying pyo/examples/synthesis/05_ring_mod_class.py -> build/lib.linux-x86_64-3.10/pyo/examples/synthesis copying pyo/examples/synthesis/init.py -> build/lib.linux-x86_64-3.10/pyo/examples/synthesis copying pyo/examples/synthesis/02_FM3.py -> build/lib.linux-x86_64-3.10/pyo/examples/synthesis copying pyo/examples/synthesis/03_cos_waveshaping.py -> build/lib.linux-x86_64-3.10/pyo/examples/synthesis copying pyo/examples/synthesis/06_paf.py -> build/lib.linux-x86_64-3.10/pyo/examples/synthesis copying pyo/examples/synthesis/08_bucket_brigade_device.py -> build/lib.linux-x86_64-3.10/pyo/examples/synthesis copying pyo/examples/synthesis/07_split_sideband_synthesis.py -> build/lib.linux-x86_64-3.10/pyo/examples/synthesis copying pyo/examples/synthesis/01_pulsar_synthesis.py -> build/lib.linux-x86_64-3.10/pyo/examples/synthesis copying pyo/examples/synthesis/04_degrade_synthesis.py -> build/lib.linux-x86_64-3.10/pyo/examples/synthesis creating build/lib.linux-x86_64-3.10/pyo/examples/wxgui copying pyo/examples/wxgui/01_gui_widgets_example.py -> build/lib.linux-x86_64-3.10/pyo/examples/wxgui copying pyo/examples/wxgui/init.py -> build/lib.linux-x86_64-3.10/pyo/examples/wxgui copying pyo/lib/snds/transparent.aif -> build/lib.linux-x86_64-3.10/pyo/lib/snds copying pyo/lib/snds/accord.aif -> build/lib.linux-x86_64-3.10/pyo/lib/snds copying pyo/lib/snds/IRMediumHallStereo.wav -> build/lib.linux-x86_64-3.10/pyo/lib/snds copying pyo/lib/snds/ControlRead_example_test_000 -> build/lib.linux-x86_64-3.10/pyo/lib/snds copying pyo/lib/snds/ControlRead_example_test_001 -> build/lib.linux-x86_64-3.10/pyo/lib/snds copying pyo/lib/snds/NoteinRead_example_test_000 -> build/lib.linux-x86_64-3.10/pyo/lib/snds copying pyo/lib/snds/NoteinRead_example_test_001 -> build/lib.linux-x86_64-3.10/pyo/lib/snds copying pyo/editor/styles/Custom -> build/lib.linux-x86_64-3.10/pyo/editor/styles copying pyo/editor/styles/Default -> build/lib.linux-x86_64-3.10/pyo/editor/styles copying pyo/editor/styles/Espresso -> build/lib.linux-x86_64-3.10/pyo/editor/styles copying pyo/editor/styles/Smooth -> build/lib.linux-x86_64-3.10/pyo/editor/styles copying pyo/editor/styles/Soft -> build/lib.linux-x86_64-3.10/pyo/editor/styles copying pyo/editor/styles/Monokai-Soda -> build/lib.linux-x86_64-3.10/pyo/editor/styles copying pyo/editor/styles/Solarized (dark) -> build/lib.linux-x86_64-3.10/pyo/editor/styles copying pyo/editor/styles/Solarized (light) -> build/lib.linux-x86_64-3.10/pyo/editor/styles copying pyo/editor/snippets/Audio/SoundPlayer -> build/lib.linux-x86_64-3.10/pyo/editor/snippets/Audio copying pyo/editor/snippets/Audio/TableOsc -> build/lib.linux-x86_64-3.10/pyo/editor/snippets/Audio copying pyo/editor/snippets/Control/ChorusJit -> build/lib.linux-x86_64-3.10/pyo/editor/snippets/Control copying pyo/editor/snippets/Control/Vibrato -> build/lib.linux-x86_64-3.10/pyo/editor/snippets/Control copying pyo/editor/snippets/Interface/NewFrame -> build/lib.linux-x86_64-3.10/pyo/editor/snippets/Interface copying pyo/editor/snippets/Interface/PaintPanel -> build/lib.linux-x86_64-3.10/pyo/editor/snippets/Interface copying pyo/editor/snippets/Utilities/ChooseAudioDev -> build/lib.linux-x86_64-3.10/pyo/editor/snippets/Utilities copying pyo/editor/snippets/Utilities/Incrementor -> build/lib.linux-x86_64-3.10/pyo/editor/snippets/Utilities copying pyo/examples/23-expression/utils.expr -> build/lib.linux-x86_64-3.10/pyo/examples/23-expression copying pyo/examples/23-expression/filters.expr -> build/lib.linux-x86_64-3.10/pyo/examples/23-expression copying pyo/examples/23-expression/generators.expr -> build/lib.linux-x86_64-3.10/pyo/examples/23-expression copying pyo/examples/snds/alum1.wav -> build/lib.linux-x86_64-3.10/pyo/examples/snds copying pyo/examples/snds/alum2.wav -> build/lib.linux-x86_64-3.10/pyo/examples/snds copying pyo/examples/snds/alum3.wav -> build/lib.linux-x86_64-3.10/pyo/examples/snds copying pyo/examples/snds/alum4.wav -> build/lib.linux-x86_64-3.10/pyo/examples/snds copying pyo/examples/snds/baseballmajeur_m.aif -> build/lib.linux-x86_64-3.10/pyo/examples/snds copying pyo/examples/snds/drumloop.wav -> build/lib.linux-x86_64-3.10/pyo/examples/snds copying pyo/examples/snds/flute.aif -> build/lib.linux-x86_64-3.10/pyo/examples/snds copying pyo/examples/snds/ounkmaster.aif -> build/lib.linux-x86_64-3.10/pyo/examples/snds copying pyo/examples/snds/snd_1.aif -> build/lib.linux-x86_64-3.10/pyo/examples/snds copying pyo/examples/snds/snd_2.aif -> build/lib.linux-x86_64-3.10/pyo/examples/snds copying pyo/examples/snds/snd_3.aif -> build/lib.linux-x86_64-3.10/pyo/examples/snds copying pyo/examples/snds/snd_4.aif -> build/lib.linux-x86_64-3.10/pyo/examples/snds copying pyo/examples/snds/snd_5.aif -> build/lib.linux-x86_64-3.10/pyo/examples/snds copying pyo/examples/snds/snd_6.aif -> build/lib.linux-x86_64-3.10/pyo/examples/snds copying pyo/examples/snds/mapleleafrag.mid -> build/lib.linux-x86_64-3.10/pyo/examples/snds running build_ext building 'pyo._pyo' extension creating build/temp.linux-x86_64-3.10 creating build/temp.linux-x86_64-3.10/src creating build/temp.linux-x86_64-3.10/src/engine creating build/temp.linux-x86_64-3.10/src/objects x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DUSE_PORTAUDIO -DUSE_PORTMIDI -DUSE_OSC -Iinclude -I/usr/include -I/usr/local/include -I/usr/include/python3.10 -c src/engine/ad_portaudio.c -o build/temp.linux-x86_64-3.10/src/engine/ad_portaudio.o -Wno-strict-prototypes -Wno-strict-aliasing -O3 -g0 -DNDEBUG In file included from src/engine/ad_portaudio.c:21: include/ad_portaudio.h:25:10: fatal error: portaudio.h: No such file or directory 25 | #include "portaudio.h" | ^~~~~ compilation terminated. error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure

× Encountered error while trying to install package. ╰─> pyo

note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.

levaitamas commented 2 years ago

Hi @pedro-acunha !

My guess is that a portaudio dev package (portaudio19-dev) is missing. I have these dependencies installed and the compilation works on my laptop (ubuntu 22.04 + python3.10.4):

sudo apt-get install libjack-jackd2-dev libportmidi-dev portaudio19-dev liblo-dev libsndfile-dev
sudo apt-get install python3-dev python3-tk python3-pil.imagetk python3-pip
pedro-acunha commented 2 years ago

Thank you @levaitamas! Problem solved!