Skip to content

Permission denied for pythin libs in default installation #718

Open
@matyro

Description

@matyro

Hi,
I am currently trying to get some custom plots running for debugging purpose.
To install Matplotlib I simply added it to my /config/pyscript/requirements/... and get following error:

Unable to install package matplotlib: × Failed to build matplotlib==3.10.1├─▶ The build backend returned an error ╰─▶ Call tomesonpy.build_wheel failed (exit status: 1) [stderr] Traceback (most recent call last): File "<string>", line 11, in <module> wheel_filename = backend.build_wheel("/tmp/.tmpksdQ7D/builds-v0/.tmpAbW3Oq", {}, None) File "/tmp/.tmpksdQ7D/builds-v0/.tmpvlQaLO/lib/python3.13/site-packages/mesonpy/__init__.py", line 1020, in wrapper return func(*args, **kwargs) File "/tmp/.tmpksdQ7D/builds-v0/.tmpvlQaLO/lib/python3.13/site-packages/mesonpy/__init__.py", line 1073, in build_wheel with _project(config_settings) as project: ~~~~~~~~^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/contextlib.py", line 141, in __enter__ return next(self.gen) File "/tmp/.tmpksdQ7D/builds-v0/.tmpvlQaLO/lib/python3.13/site-packages/mesonpy/__init__.py", line 947, in _project yield Project(source_dir, build_dir, meson_args, editable_verbose) ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/.tmpksdQ7D/builds-v0/.tmpvlQaLO/lib/python3.13/site-packages/mesonpy/__init__.py", line 662, in __init__ self._meson = _get_meson_command(pyproject_config.get('meson')) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/.tmpksdQ7D/builds-v0/.tmpvlQaLO/lib/python3.13/site-packages/mesonpy/__init__.py", line 982, in _get_meson_command meson_version = subprocess.run(cmd + ['--version'], check=False, text=True, capture_output=True).stdout ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/subprocess.py", line 556, in run with Popen(*popenargs, **kwargs) as process: ~~~~~^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/subprocess.py", line 1038, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pass_fds, cwd, env, ^^^^^^^^^^^^^^^^^^^ ...<5 lines>... gid, gids, uid, umask, ^^^^^^^^^^^^^^^^^^^^^^ start_new_session, process_group) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/subprocess.py", line 1974, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) PermissionError: [Errno 13] Permission denied: 'meson' hint: This usually indicates a problem with the package or the build environment.

Is this a known issue and how to avoid this?

Cheers
Dominik

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions