Attempting to install dependencies for the kolibri open source environment using pyenv and python virtualenv. Successfully installed python 3.9.9 and attempting to install node and yarn using nodeenv but continue running into this log for any attempt:
(kolibri-py3.9) aleesmith@myMB kolibri % nodeenv --python-virtualenv --node 16.19.0
* Install prebuilt node (16.19.0) Traceback (most recent call last):
File "/Users/aleesmith/.pyenv/versions/kolibri-py3.9/bin/nodeenv", line 33, in <module>
sys.exit(load_entry_point('nodeenv==1.3.3', 'console_scripts', 'nodeenv')())
File "/Users/aleesmith/.pyenv/versions/3.9.9/envs/kolibri-py3.9/lib/python3.9/site-packages/nodeenv.py", line 1076, in main
create_environment(env_dir, opt)
File "/Users/aleesmith/.pyenv/versions/3.9.9/envs/kolibri-py3.9/lib/python3.9/site-packages/nodeenv.py", line 905, in create_environment
install_node(env_dir, src_dir, opt)
File "/Users/aleesmith/.pyenv/versions/3.9.9/envs/kolibri-py3.9/lib/python3.9/site-packages/nodeenv.py", line 686, in install_node
node_url = get_node_bin_url(opt.node)
File "/Users/aleesmith/.pyenv/versions/3.9.9/envs/kolibri-py3.9/lib/python3.9/site-packages/nodeenv.py", line 512, in get_node_bin_url
'arch': archmap[platform.machine()],
KeyError: 'arm64'
I am using an M1 MacBook Air using 13.1 (22C65) OS and wondering if that contributes to the issue
I made sure that nodeenv was properly installed and was met with
Requirement already satisfied: nodeenv in /Users/aleesmith/.pyenv/versions/3.9.9/envs/kolibri-py3.9/lib/python3.9/site-packages (1.3.3)
indicating that it's already installed.