ImportError: dlopen(/Users/km/.local/share/virtualenvs/llamaindex-helloworld-n7ONF1uC/lib/python3.9/site-packages/regex/_regex.cpython-39-darwin.so, 0x0002): tried: '/Users/km/.local/share/virtualenvs/llamaindex-helloworld-n7ONF1uC/lib/python3.9/site-packages/regex/_regex.cpython-39-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/km/.local/share/virtualenvs/llamaindex-helloworld-n7ONF1uC/lib/python3.9/site-packages/regex/_regex.cpython-39-darwin.so' (no such file), '/Users/km/.local/share/virtualenvs/llamaindex-helloworld-n7ONF1uC/lib/python3.9/site-packages/regex/_regex.cpython-39-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))
Hi Khaled! It says you installed an amd64 edition of the package regex, but your computer needs an arm64. Are you comfortable googling your way through installing the appropriate edition of that package yourself?