Comments (9)
still waiting for a new version of PYO installer
from pyo.
It should not try to load libFLAC from usr/local/opt... Is there a libFLAC.12.dylib
right next to _pyo.cpython-311-darwin.so
? Intel or ARM processor?
from pyo.
This is on MacBook intel i9 OSX Ventura.
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pyo/
from pyo.
@steeley Ok, I think I know what the problem is... Next week, I should be able to build a new installer for you to try. I'll let you know when it's available.
from pyo.
fantastic - thanks for the help. I look forward to testing for you.
from pyo.
I get almost the same a similar error on Windows 11, Python 3.12.1, Intel CPU
C:\Users\nathan\code\midi p45>pip install pyo
Collecting pyo==1.0.5
Using cached pyo-1.0.5.tar.gz (5.2 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [55 lines of output]
running egg_info
writing pyo.egg-info\PKG-INFO
writing dependency_links to pyo.egg-info\dependency_links.txt
writing entry points to pyo.egg-info\entry_points.txt
writing top-level names to pyo.egg-info\top_level.txt
reading manifest file 'pyo.egg-info\SOURCES.txt'
Traceback (most recent call last):
File "C:\Users\nathan\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
main()
File "C:\Users\nathan\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\nathan\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\nathan\AppData\Local\Temp\pip-build-env-m7d8w9ac\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\nathan\AppData\Local\Temp\pip-build-env-m7d8w9ac\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "C:\Users\nathan\AppData\Local\Temp\pip-build-env-m7d8w9ac\overlay\Lib\site-packages\setuptools\build_meta.py", line 480, in run_setup
super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
File "C:\Users\nathan\AppData\Local\Temp\pip-build-env-m7d8w9ac\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
exec(code, locals())
File "<string>", line 419, in <module>
File "C:\Users\nathan\AppData\Local\Temp\pip-build-env-m7d8w9ac\overlay\Lib\site-packages\setuptools\__init__.py", line 103, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\nathan\AppData\Local\Temp\pip-build-env-m7d8w9ac\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "C:\Users\nathan\AppData\Local\Temp\pip-build-env-m7d8w9ac\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
dist.run_commands()
File "C:\Users\nathan\AppData\Local\Temp\pip-build-env-m7d8w9ac\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 969, in run_commands
self.run_command(cmd)
File "C:\Users\nathan\AppData\Local\Temp\pip-build-env-m7d8w9ac\overlay\Lib\site-packages\setuptools\dist.py", line 963, in run_command
super().run_command(command)
File "C:\Users\nathan\AppData\Local\Temp\pip-build-env-m7d8w9ac\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Users\nathan\AppData\Local\Temp\pip-build-env-m7d8w9ac\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 321, in run
self.find_sources()
File "C:\Users\nathan\AppData\Local\Temp\pip-build-env-m7d8w9ac\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 329, in find_sources
mm.run()
File "C:\Users\nathan\AppData\Local\Temp\pip-build-env-m7d8w9ac\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 551, in run
self.add_defaults()
File "C:\Users\nathan\AppData\Local\Temp\pip-build-env-m7d8w9ac\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 596, in add_defaults
self.read_manifest()
File "C:\Users\nathan\AppData\Local\Temp\pip-build-env-m7d8w9ac\overlay\Lib\site-packages\setuptools\command\sdist.py", line 213, in read_manifest
self.filelist.append(line)
File "C:\Users\nathan\AppData\Local\Temp\pip-build-env-m7d8w9ac\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 488, in append
path = convert_path(item)
^^^^^^^^^^^^^^^^^^
File "C:\Users\nathan\AppData\Local\Temp\pip-build-env-m7d8w9ac\overlay\Lib\site-packages\setuptools\_distutils\util.py", line 139, in convert_path
raise ValueError("path '%s' cannot be absolute" % pathname)
ValueError: path '/usr/local/Cellar/flac/1.4.2/lib/libFLAC.12.dylib' cannot be absolute
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
from pyo.
Did you manage to solve the error? I'm trying to download Python on Windows 11 on the same Python version 3.12.1 and when installing pip I get that error.
from pyo.
Sure, i use a lower python version and all is fine.
from pyo.
I noticed a similar issue with libportmidi, @belangeo. In the wheel building script, I think the wrong libportmidi version is used here. If you download the wheel from PyPi, unzip it, cd
into the pyo
directory and run otool -l _pyo.cpython-311-darwin.so
, you'll see that it's attempting to load the libportmidi from /usr/local/opt/portmidi/lib/libportmidi.2.dylib
. In the wheel file, it's actually libportmidi.2.0.3.dylib
. So I think that script needs to be updated. Not sure if anything in the setup.py
needs to change as well.
Load command 9
cmd LC_LOAD_DYLIB
cmdsize 64
name @loader_path/libportaudio.2.dylib (offset 24)
time stamp 2 Wed Dec 31 16:00:02 1969
current version 3.0.0
compatibility version 3.0.0
Load command 10
cmd LC_LOAD_DYLIB
cmdsize 72
name /usr/local/opt/portmidi/lib/libportmidi.2.dylib (offset 24)
time stamp 2 Wed Dec 31 16:00:02 1969
current version 2.0.3
compatibility version 2.0.0
Load command 11
cmd LC_LOAD_DYLIB
cmdsize 56
name @loader_path/liblo.7.dylib (offset 24)
time stamp 2 Wed Dec 31 16:00:02 1969
current version 12.1.0
compatibility version 12.0.0
Load command 12
cmd LC_LOAD_DYLIB
cmdsize 56
name @loader_path/libsndfile.1.dylib (offset 24)
time stamp 2 Wed Dec 31 16:00:02 1969
current version 2.35.0
compatibility version 2.0.0
from pyo.
Related Issues (20)
- In the last built _.ctrl() does not work properly on macOS HOT 3
- Minor bug: In Pyo Server window (wxPython v4.2) if Interpreter input has focus and then clicking on buttons HOT 2
- Wxpython 4.2.0 issue found by usage of Spectrum() HOT 3
- Dependencies and HomeBrew HOT 1
- How to hide `wxPython` warnings ? HOT 7
- `pyo` doesn't produce sound in Qt App HOT 1
- Found bug with stdout during pyo.Server initialization HOT 3
- Issue with Linseg output HOT 4
- portaudio error on pip install HOT 2
- error installing on mac M1 system HOT 5
- Running pyo in a headless server mode HOT 1
- pyo legacy-install-failure HOT 1
- Pyo enhancements HOT 2
- Inconsistency in NoteinRead and NoteinRec file format HOT 3
- winhost='asio' unusual behaviour when using buffersize. HOT 2
- Fails to build with GCC 14 due to -Wincompatible-pointer-types HOT 4
- win10 getting requirements to build wheel did not run successfully
- metadata-generation-failed (py 3.8, windows 10)
- `pyo-discuss` not accessible. Move to Github Discussions?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyo.