I tried to install pyHalo on my intel Mac mini.
It had an error. It seems to have come from MacOS's own setuptool issue.
I was able to solve it with some other resources, but I thought it can be good to document it.
What I Did
$ python setup.py develop --user
running develop
/Users/maverickoh/.local/lib/python3.10/site-packages/setuptools-59.8.0-py3.10.egg/setuptools/command/easy_install.py:156: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
Traceback (most recent call last):
File "/Volumes/MavSSD_T5/Dropbox/Google_Drive/code/research_Anna/pyHalo/setup.py", line 20, in <module>
setup(
File "/Users/maverickoh/.local/lib/python3.10/site-packages/setuptools-59.8.0-py3.10.egg/setuptools/__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/Users/maverickoh/.local/lib/python3.10/site-packages/setuptools-59.8.0-py3.10.egg/setuptools/_distutils/core.py", line 148, in setup
return run_commands(dist)
File "/Users/maverickoh/.local/lib/python3.10/site-packages/setuptools-59.8.0-py3.10.egg/setuptools/_distutils/core.py", line 163, in run_commands
dist.run_commands()
File "/Users/maverickoh/.local/lib/python3.10/site-packages/setuptools-59.8.0-py3.10.egg/setuptools/_distutils/dist.py", line 967, in run_commands
self.run_command(cmd)
File "/Users/maverickoh/.local/lib/python3.10/site-packages/setuptools-59.8.0-py3.10.egg/setuptools/_distutils/dist.py", line 985, in run_command
cmd_obj.ensure_finalized()
File "/Users/maverickoh/.local/lib/python3.10/site-packages/setuptools-59.8.0-py3.10.egg/setuptools/_distutils/cmd.py", line 107, in ensure_finalized
self.finalize_options()
File "/Users/maverickoh/.local/lib/python3.10/site-packages/setuptools-59.8.0-py3.10.egg/setuptools/command/develop.py", line 52, in finalize_options
easy_install.finalize_options(self)
File "/Users/maverickoh/.local/lib/python3.10/site-packages/setuptools-59.8.0-py3.10.egg/setuptools/command/easy_install.py", line 263, in finalize_options
self._fix_install_dir_for_user_site()
File "/Users/maverickoh/.local/lib/python3.10/site-packages/setuptools-59.8.0-py3.10.egg/setuptools/command/easy_install.py", line 375, in _fix_install_dir_for_user_site
self.select_scheme(scheme_name)
File "/Users/maverickoh/.local/lib/python3.10/site-packages/setuptools-59.8.0-py3.10.egg/setuptools/command/easy_install.py", line 716, in select_scheme
scheme = INSTALL_SCHEMES[name]
KeyError: 'unix_user'
I was able to solve this by
pip install setuptools --upgrade
I also followed the direction of this link too, but it didn't help. It might have helped together with setuptools upgrading.
Description
I tried to install pyHalo on my intel Mac mini. It had an error. It seems to have come from MacOS's own setuptool issue. I was able to solve it with some other resources, but I thought it can be good to document it.
What I Did
I was able to solve this by
I also followed the direction of this link too, but it didn't help. It might have helped together with setuptools upgrading.