-
Notifications
You must be signed in to change notification settings - Fork 51
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Trying to install monarch on my arm64 macbook, going through the readme:
conda create -n monarchenv python=3.10 -y
conda activate monarchenv
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup toolchain install nightly
rustup default nightly
The next two instructions are not portable to mac, so I skipped them for now:
# Install non-python dependencies
conda install libunwind -y
# Install the correct cuda and cuda-toolkit versions for your machine
sudo dnf install cuda-toolkit-12-0 cuda-12-0 libnccl-devel clang-devel
Running:
pip install --no-build-isolation .
Yields the following output:
Processing /Users/suo/code/monarch
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
Traceback (most recent call last):
File "/Users/suo/miniconda3/envs/monarchenv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
File "/Users/suo/miniconda3/envs/monarchenv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
File "/Users/suo/miniconda3/envs/monarchenv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 175, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
File "/Users/suo/miniconda3/envs/monarchenv/lib/python3.10/site-packages/setuptools/build_meta.py", line 374, in prepare_metadata_for_build_wheel
self.run_setup()
File "/Users/suo/miniconda3/envs/monarchenv/lib/python3.10/site-packages/setuptools/build_meta.py", line 512, in run_setup
super().run_setup(setup_script=setup_script)
File "/Users/suo/miniconda3/envs/monarchenv/lib/python3.10/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals())
File "<string>", line 54, in <module>
File "/Users/suo/miniconda3/envs/monarchenv/lib/python3.10/_collections_abc.py", line 999, in update
self[key] = other[key]
File "/Users/suo/miniconda3/envs/monarchenv/lib/python3.10/os.py", line 685, in __setitem__
value = self.encodevalue(value)
File "/Users/suo/miniconda3/envs/monarchenv/lib/python3.10/os.py", line 757, in encode
raise TypeError("str expected, not %s" % type(value).__name__)
TypeError: str expected, not NoneType
[end of output]
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request