1 ixixio@muhsheen neon-experiment % python -V 2 Python 3.11.9 3 ixixio@muhsheen neon-experiment % python -m venv .venv 4 ixixio@muhsheen neon-experiment % source .venv/bin/activate 5 (.venv) ixixio@muhsheen neon-experiment % pip install -U pip 6 Requirement already satisfied: pip in ./.venv/lib/python3.11/site-packages (24.0) 7 Collecting pip 8 Using cached pip-24.2-py3-none-any.whl.metadata (3.6 kB) 9 Using cached pip-24.2-py3-none-any.whl (1.8 MB) 10 Installing collected packages: pip 11 Attempting uninstall: pip 12 Found existing installation: pip 24.0 13 Uninstalling pip-24.0: 14 Successfully uninstalled pip-24.0 15 Successfully installed pip-24.2 16 (.venv) ixixio@muhsheen neon-experiment % pip install pl-neon-recording pupil-labs-realtime-api 17 Collecting pl-neon-recording 18 Downloading pl_neon_recording-0.1.5-py3-none-any.whl.metadata (2.8 kB) 19 Collecting pupil-labs-realtime-api 20 Using cached pupil_labs_realtime_api-1.3.1-py3-none-any.whl.metadata (2.9 kB) 21 Collecting numpy (from pl-neon-recording) 22 Downloading numpy-2.1.0-cp311-cp311-macosx_14_0_arm64.whl.metadata (60 kB) 23 Collecting protobuf (from pl-neon-recording) 24 Using cached protobuf-5.27.4-cp38-abi3-macosx_10_9_universal2.whl.metadata (592 bytes) 25 Collecting pandas (from pl-neon-recording) 26 Using cached pandas-2.2.2-cp311-cp311-macosx_11_0_arm64.whl.metadata (19 kB) 27 Collecting scipy (from pl-neon-recording) 28 Downloading scipy-1.14.1-cp311-cp311-macosx_14_0_arm64.whl.metadata (60 kB) 29 Collecting av (from pl-neon-recording) 30 Downloading av-12.3.0-cp311-cp311-macosx_11_0_arm64.whl.metadata (4.6 kB) 31 Collecting structlog (from pl-neon-recording) 32 Downloading structlog-24.4.0-py3-none-any.whl.metadata (7.3 kB) 33 Collecting aiohttp[speedups] (from pupil-labs-realtime-api) 34 Downloading aiohttp-3.10.5-cp311-cp311-macosx_11_0_arm64.whl.metadata (7.5 kB) 35 Collecting aiortsp (from pupil-labs-realtime-api) 36 Using cached aiortsp-1.3.7-py3-none-any.whl.metadata (2.1 kB) 37 Collecting beaupy (from pupil-labs-realtime-api) 38 Using cached beaupy-3.9.2-py3-none-any.whl.metadata (9.4 kB) 39 Collecting protobuf (from pl-neon-recording) 40 Using cached protobuf-3.18.0-py2.py3-none-any.whl.metadata (754 bytes) 41 Collecting pydantic>=2 (from pupil-labs-realtime-api) 42 Using cached pydantic-2.8.2-py3-none-any.whl.metadata (125 kB) 43 Collecting websockets (from pupil-labs-realtime-api) 44 Downloading websockets-13.0-cp311-cp311-macosx_11_0_arm64.whl.metadata (6.7 kB) 45 Collecting zeroconf (from pupil-labs-realtime-api) 46 Downloading zeroconf-0.133.0-cp311-cp311-macosx_14_0_arm64.whl.metadata (6.1 kB) 47 Collecting annotated-types>=0.4.0 (from pydantic>=2->pupil-labs-realtime-api) 48 Using cached annotated_types-0.7.0-py3-none-any.whl.metadata (15 kB) 49 Collecting pydantic-core==2.20.1 (from pydantic>=2->pupil-labs-realtime-api) 50 Using cached pydantic_core-2.20.1-cp311-cp311-macosx_11_0_arm64.whl.metadata (6.6 kB) 51 Collecting typing-extensions>=4.6.1 (from pydantic>=2->pupil-labs-realtime-api) 52 Using cached typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB) 53 Collecting aiohappyeyeballs>=2.3.0 (from aiohttp[speedups]->pupil-labs-realtime-api) 54 Using cached aiohappyeyeballs-2.4.0-py3-none-any.whl.metadata (5.9 kB) 55 Collecting aiosignal>=1.1.2 (from aiohttp[speedups]->pupil-labs-realtime-api) 56 Using cached aiosignal-1.3.1-py3-none-any.whl.metadata (4.0 kB) 57 Collecting attrs>=17.3.0 (from aiohttp[speedups]->pupil-labs-realtime-api) 58 Using cached attrs-24.2.0-py3-none-any.whl.metadata (11 kB) 59 Collecting frozenlist>=1.1.1 (from aiohttp[speedups]->pupil-labs-realtime-api) 60 Using cached frozenlist-1.4.1-cp311-cp311-macosx_11_0_arm64.whl.metadata (12 kB) 61 Collecting multidict<7.0,>=4.5 (from aiohttp[speedups]->pupil-labs-realtime-api) 62 Using cached multidict-6.0.5-cp311-cp311-macosx_11_0_arm64.whl.metadata (4.2 kB) 63 Collecting yarl<2.0,>=1.0 (from aiohttp[speedups]->pupil-labs-realtime-api) 64 Using cached yarl-1.9.4-cp311-cp311-macosx_11_0_arm64.whl.metadata (31 kB) 65 Collecting Brotli (from aiohttp[speedups]->pupil-labs-realtime-api) 66 Downloading Brotli-1.1.0-cp311-cp311-macosx_10_9_universal2.whl.metadata (5.5 kB) 67 Collecting aiodns>=3.2.0 (from aiohttp[speedups]->pupil-labs-realtime-api) 68 Using cached aiodns-3.2.0-py3-none-any.whl.metadata (4.0 kB) 69 Collecting dpkt~=1.9 (from aiortsp->pupil-labs-realtime-api) 70 Using cached dpkt-1.9.8-py3-none-any.whl.metadata (1.7 kB) 71 Collecting emoji<3.0.0,>=2.0.0 (from beaupy->pupil-labs-realtime-api) 72 Using cached emoji-2.12.1-py3-none-any.whl.metadata (5.4 kB) 73 Collecting python-yakh==0.3.2 (from beaupy->pupil-labs-realtime-api) 74 Using cached python_yakh-0.3.2-py3-none-any.whl.metadata (2.3 kB) 75 Collecting questo<0.4.0,>=0.3.0 (from beaupy->pupil-labs-realtime-api) 76 Using cached questo-0.3.0-py3-none-any.whl.metadata (1.9 kB) 77 Collecting rich>=12.2.0 (from beaupy->pupil-labs-realtime-api) 78 Using cached rich-13.8.0-py3-none-any.whl.metadata (18 kB) 79 Collecting python-dateutil>=2.8.2 (from pandas->pl-neon-recording) 80 Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB) 81 Collecting pytz>=2020.1 (from pandas->pl-neon-recording) 82 Using cached pytz-2024.1-py2.py3-none-any.whl.metadata (22 kB) 83 Collecting tzdata>=2022.7 (from pandas->pl-neon-recording) 84 Using cached tzdata-2024.1-py2.py3-none-any.whl.metadata (1.4 kB) 85 Collecting ifaddr>=0.1.7 (from zeroconf->pupil-labs-realtime-api) 86 Using cached ifaddr-0.2.0-py3-none-any.whl.metadata (4.9 kB) 87 Collecting pycares>=4.0.0 (from aiodns>=3.2.0->aiohttp[speedups]->pupil-labs-realtime-api) 88 Downloading pycares-4.4.0-cp311-cp311-macosx_10_9_universal2.whl.metadata (4.1 kB) 89 Collecting six>=1.5 (from python-dateutil>=2.8.2->pandas->pl-neon-recording) 90 Using cached six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB) 91 Collecting markdown-it-py>=2.2.0 (from rich>=12.2.0->beaupy->pupil-labs-realtime-api) 92 Using cached markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB) 93 Collecting pygments<3.0.0,>=2.13.0 (from rich>=12.2.0->beaupy->pupil-labs-realtime-api) 94 Using cached pygments-2.18.0-py3-none-any.whl.metadata (2.5 kB) 95 Collecting idna>=2.0 (from yarl<2.0,>=1.0->aiohttp[speedups]->pupil-labs-realtime-api) 96 Using cached idna-3.8-py3-none-any.whl.metadata (9.9 kB) 97 Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich>=12.2.0->beaupy->pupil-labs-realtime-api) 98 Using cached mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB) 99 Collecting cffi>=1.5.0 (from pycares>=4.0.0->aiodns>=3.2.0->aiohttp[speedups]->pupil-labs-realtime-api) 100 Downloading cffi-1.17.0-cp311-cp311-macosx_11_0_arm64.whl.metadata (1.5 kB) 101 Collecting pycparser (from cffi>=1.5.0->pycares>=4.0.0->aiodns>=3.2.0->aiohttp[speedups]->pupil-labs-realtime-api) 102 Using cached pycparser-2.22-py3-none-any.whl.metadata (943 bytes) 103 WARNING: The candidate selected for download or install is a yanked version: 'protobuf' candidate (version 3.18.0 at https://files.pythonhosted.org/packages/74/4e/9f3cb458266ef5cdeaa1e72a90b9eda100e3d1803cbd7ec02f0846da83c3/protobuf-3.18.0-py2.py3-none-any.whl (from https://pypi.org/simple/protobuf/)) 104 Reason for being yanked: This version claims to support Python 2 but does not 105 Downloading pl_neon_recording-0.1.5-py3-none-any.whl (14 kB) 106 Using cached pupil_labs_realtime_api-1.3.1-py3-none-any.whl (33 kB) 107 Using cached protobuf-3.18.0-py2.py3-none-any.whl (174 kB) 108 Downloading numpy-2.1.0-cp311-cp311-macosx_14_0_arm64.whl (5.4 MB) 109 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.4/5.4 MB 12.8 MB/s eta 0:00:00 110 Using cached pydantic-2.8.2-py3-none-any.whl (423 kB) 111 Using cached pydantic_core-2.20.1-cp311-cp311-macosx_11_0_arm64.whl (1.8 MB) 112 Using cached aiortsp-1.3.7-py3-none-any.whl (33 kB) 113 Downloading av-12.3.0-cp311-cp311-macosx_11_0_arm64.whl (19.9 MB) 114 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 19.9/19.9 MB 16.9 MB/s eta 0:00:00 115 Using cached beaupy-3.9.2-py3-none-any.whl (14 kB) 116 Using cached python_yakh-0.3.2-py3-none-any.whl (5.8 kB) 117 Using cached pandas-2.2.2-cp311-cp311-macosx_11_0_arm64.whl (11.3 MB) 118 Downloading scipy-1.14.1-cp311-cp311-macosx_14_0_arm64.whl (23.1 MB) 119 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 23.1/23.1 MB 14.6 MB/s eta 0:00:00 120 Downloading structlog-24.4.0-py3-none-any.whl (67 kB) 121 Downloading websockets-13.0-cp311-cp311-macosx_11_0_arm64.whl (148 kB) 122 Downloading zeroconf-0.133.0-cp311-cp311-macosx_14_0_arm64.whl (4.8 MB) 123 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.8/4.8 MB 14.7 MB/s eta 0:00:00 124 Using cached aiodns-3.2.0-py3-none-any.whl (5.7 kB) 125 Using cached aiohappyeyeballs-2.4.0-py3-none-any.whl (12 kB) 126 Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB) 127 Using cached annotated_types-0.7.0-py3-none-any.whl (13 kB) 128 Using cached attrs-24.2.0-py3-none-any.whl (63 kB) 129 Using cached dpkt-1.9.8-py3-none-any.whl (194 kB) 130 Using cached emoji-2.12.1-py3-none-any.whl (431 kB) 131 Using cached frozenlist-1.4.1-cp311-cp311-macosx_11_0_arm64.whl (53 kB) 132 Using cached ifaddr-0.2.0-py3-none-any.whl (12 kB) 133 Using cached multidict-6.0.5-cp311-cp311-macosx_11_0_arm64.whl (30 kB) 134 Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB) 135 Using cached pytz-2024.1-py2.py3-none-any.whl (505 kB) 136 Using cached questo-0.3.0-py3-none-any.whl (10 kB) 137 Using cached rich-13.8.0-py3-none-any.whl (241 kB) 138 Using cached typing_extensions-4.12.2-py3-none-any.whl (37 kB) 139 Using cached tzdata-2024.1-py2.py3-none-any.whl (345 kB) 140 Using cached yarl-1.9.4-cp311-cp311-macosx_11_0_arm64.whl (81 kB) 141 Downloading aiohttp-3.10.5-cp311-cp311-macosx_11_0_arm64.whl (388 kB) 142 Downloading Brotli-1.1.0-cp311-cp311-macosx_10_9_universal2.whl (873 kB) 143 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 873.1/873.1 kB 11.2 MB/s eta 0:00:00 144 Using cached idna-3.8-py3-none-any.whl (66 kB) 145 Using cached markdown_it_py-3.0.0-py3-none-any.whl (87 kB) 146 Downloading pycares-4.4.0-cp311-cp311-macosx_10_9_universal2.whl (136 kB) 147 Using cached pygments-2.18.0-py3-none-any.whl (1.2 MB) 148 Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) 149 Downloading cffi-1.17.0-cp311-cp311-macosx_11_0_arm64.whl (178 kB) 150 Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB) 151 Using cached pycparser-2.22-py3-none-any.whl (117 kB) 152 Installing collected packages: pytz, protobuf, ifaddr, dpkt, Brotli, zeroconf, websockets, tzdata, typing-extensions, structlog, six, python-yakh, pygments, pycparser, numpy, multidict, mdurl, idna, frozenlist, av, attrs, annotated-types, aiortsp, aiohappyeyeballs, yarl, scipy, python-dateutil, pydantic-core, markdown-it-py, emoji, cffi, aiosignal, rich, pydantic, pycares, pandas, aiohttp, questo, pl-neon-recording, aiodns, beaupy, pupil-labs-realtime-api 153 Successfully installed Brotli-1.1.0 aiodns-3.2.0 aiohappyeyeballs-2.4.0 aiohttp-3.10.5 aiortsp-1.3.7 aiosignal-1.3.1 annotated-types-0.7.0 attrs-24.2.0 av-12.3.0 beaupy-3.9.2 cffi-1.17.0 dpkt-1.9.8 emoji-2.12.1 frozenlist-1.4.1 idna-3.8 ifaddr-0.2.0 markdown-it-py-3.0.0 mdurl-0.1.2 multidict-6.0.5 numpy-2.1.0 pandas-2.2.2 pl-neon-recording-0.1.5 protobuf-3.18.0 pupil-labs-realtime-api-1.3.1 pycares-4.4.0 pycparser-2.22 pydantic-2.8.2 pydantic-core-2.20.1 pygments-2.18.0 python-dateutil-2.9.0.post0 python-yakh-0.3.2 pytz-2024.1 questo-0.3.0 rich-13.8.0 scipy-1.14.1 six-1.16.0 structlog-24.4.0 typing-extensions-4.12.2 tzdata-2024.1 websockets-13.0 yarl-1.9.4 zeroconf-0.133.0 154 (.venv) ixixio@muhsheen neon-experiment % python 155 Python 3.11.9 (main, May 28 2024, 13:56:00) [Clang 15.0.0 (clang-1500.3.9.4)] on darwin 156 Type "help", "copyright", "credits" or "license" for more information. 157 >>> import pupil_labs.realtime_api 158 >>> from pupil_labs.realtime_api.simple import discover_one_device 159 >>> import pupil_labs.neon_recording as nr 160 Traceback (most recent call last): 161 File "", line 1, in 162 File "/Users/ixixio/Downloads/neon-experiment/.venv/lib/python3.11/site-packages/pupil_labs/neon_recording/__init__.py", line 6, in 163 from .neon_recording import load 164 File "/Users/ixixio/Downloads/neon-experiment/.venv/lib/python3.11/site-packages/pupil_labs/neon_recording/neon_recording.py", line 9, in 165 from .stream.imu import IMUStream 166 File "/Users/ixixio/Downloads/neon-experiment/.venv/lib/python3.11/site-packages/pupil_labs/neon_recording/stream/imu/__init__.py", line 1, in 167 from .imu_stream import IMUStream 168 File "/Users/ixixio/Downloads/neon-experiment/.venv/lib/python3.11/site-packages/pupil_labs/neon_recording/stream/imu/imu_stream.py", line 7, in 169 from . import imu_pb2 170 File "/Users/ixixio/Downloads/neon-experiment/.venv/lib/python3.11/site-packages/pupil_labs/neon_recording/stream/imu/imu_pb2.py", line 11, in 171 from google.protobuf.internal import builder as _builder 172 ImportError: cannot import name 'builder' from 'google.protobuf.internal' (/Users/ixixio/Downloads/neon-experiment/.venv/lib/python3.11/site-packages/google/protobuf/internal/__init__.py) 173 >>> 174 (.venv) ixixio@muhsheen neon-experiment % pip show protobuf 175 Name: protobuf 176 Version: 3.18.0 177 Summary: Protocol Buffers 178 Home-page: https://developers.google.com/protocol-buffers/ 179 Author: 180 Author-email: 181 License: 3-Clause BSD License 182 Location: /Users/ixixio/Downloads/neon-experiment/.venv/lib/python3.11/site-packages 183 Requires: 184 Required-by: pl-neon-recording, pupil_labs_realtime_api 185 (.venv) ixixio@muhsheen neon-experiment %