Operation not permitted on MacOS Ventura with the render pipeline

Hello everyone,

I invested in a MacBook Pro M2. Ventura 13.2.1 is installed.
I installed Panda3D like this:

pip3 install panda3d==1.10.13

Panda3D is in /Library/Developer/Panda3D

I installed the render pipeline like this:

angelo@MBP-de-ANGELO ~ % pip3 install pip install https://github.com/kitsune-ONE-team/RenderPipeline/releases/download/v1.3.3/render_pipeline-1.3.3-py3-none-any.whl
Defaulting to user installation because normal site-packages is not writeable
Collecting render-pipeline==1.3.3
  Downloading https://github.com/kitsune-ONE-team/RenderPipeline/releases/download/v1.3.3/render_pipeline-1.3.3-py3-none-any.whl (46.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.4/46.4 MB 43.6 MB/s eta 0:00:00
Requirement already satisfied: pip in ./Library/Python/3.9/lib/python/site-packages (23.2.1)
Collecting install
  Downloading install-1.3.5-py3-none-any.whl (3.2 kB)
Requirement already satisfied: panda3d in /Library/Developer/Panda3D (from render-pipeline==1.3.3) (1.10.13)
Installing collected packages: render-pipeline, install
  WARNING: The scripts day_time_editor, material_editor and plugin_configurator are installed in '/Users/angelo/Library/Python/3.9/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed install-1.3.5 render-pipeline-1.3.3
angelo@MBP-de-ANGELO ~ %

angelo@MBP-de-ANGELO projet_galerie360 % export PATH=$PATH:~/Library/Python/3.9/bin
angelo@MBP-de-ANGELO projet_galerie360 % 

angelo@MBP-de-ANGELO ~ % echo $PATH                                

I’m trying to run a simple script and I’m getting rights issues:

runfile('/Users/angelo/Documents/projet_galerie360/essai_render_pipeline_pour_questions_forums_panda3d.py', wdir='/Users/angelo/Documents/projet_galerie360')
Traceback (most recent call last):

  File /Applications/Spyder.app/Contents/Resources/lib/python3.9/spyder_kernels/py3compat.py:356 in compat_exec
    exec(code, globals, locals)

  File ~/Documents/projet_galerie360/essai_render_pipeline_pour_questions_forums_panda3d.py:10
    from panda3d.core import load_prc_file_data

  File <frozen importlib._bootstrap>:1007 in _find_and_load

  File <frozen importlib._bootstrap>:982 in _find_and_load_unlocked

  File <frozen importlib._bootstrap>:925 in _find_spec

  File <frozen importlib._bootstrap_external>:1423 in find_spec

  File <frozen importlib._bootstrap_external>:1392 in _get_spec

  File <frozen importlib._bootstrap_external>:1356 in _path_importer_cache

PermissionError: [Errno 1] Operation not permitted

How to do ?

I implemented Miniconda3 (latest) … with Python 3.11.4 but I get:

(galerie360_py) angelo@MBP-de-ANGELO ~ % cd /Users/angelo/Documents/projet_galerie360 
(galerie360_py) angelo@MBP-de-ANGELO projet_galerie360 % python essai_render_pipeline.py
Traceback (most recent call last):
  File "/Users/angelo/Documents/projet_galerie360/essai_render_pipeline.py", line 19, in <module>
    from panda3d.core import load_prc_file_data, PNMImage # Vec3, PerspectiveLens, PandaNode, NodePath, TextNode, Texture
ModuleNotFoundError: No module named 'panda3d.core'

How to make it finally work in MacOS ? (regardless of the method).

I do not believe that RenderPipeline is able to work on macOS due to limitations in Apple’s graphics drivers.

Thank you for your answer. It’s damn annoying, I had high hopes of testing my project under MacOS (for me Ventura). However, machines equipped with the M2 graphics chip perform very well according to tests…

Perhaps when the Vulkan back-end is finished, or if someone develops a Metal back-end for Panda, it will be possible to run RenderPipeline on macOS.

The problem is that the OpenGL drivers do not support compute shaders.