Nifty installation
Installation Issues
Jakob Roth and me found a concerning issue.
Recently it is not possible to pip install -e .
Somehow this returns this error [1].
But the installation works for pip install .
You can try to reproduce it by uninstalling nifty and reinstalling it.. Does someone know why this is happening?
[1]
ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/veberle/MPA/nifty/setup.py'"'"'; __file__='"'"'/home/veberle/MPA/nifty/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps --user --prefix= cwd: /home/veberle/MPA/nifty/ Complete output (28 lines): running develop /tmp/pip-build-env-9z5pmolp/overlay/lib/python3.8/site-packages/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 "<string>", line 1, in <module> File "/home/veberle/MPA/nifty/setup.py", line 33, in <module> setup(name="nifty8", File "/tmp/pip-build-env-9z5pmolp/overlay/lib/python3.8/site-packages/setuptools/__init__.py", line 153, in setup return distutils.core.setup(**attrs) File "/tmp/pip-build-env-9z5pmolp/overlay/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 148, in setup return run_commands(dist) File "/tmp/pip-build-env-9z5pmolp/overlay/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 163, in run_commands dist.run_commands() File "/tmp/pip-build-env-9z5pmolp/overlay/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands self.run_command(cmd) File "/tmp/pip-build-env-9z5pmolp/overlay/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 985, in run_command cmd_obj.ensure_finalized() File "/tmp/pip-build-env-9z5pmolp/overlay/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 107, in ensure_finalized self.finalize_options() File "/tmp/pip-build-env-9z5pmolp/overlay/lib/python3.8/site-packages/setuptools/command/develop.py", line 52, in finalize_options easy_install.finalize_options(self) File "/tmp/pip-build-env-9z5pmolp/overlay/lib/python3.8/site-packages/setuptools/command/easy_install.py", line 263, in finalize_options self._fix_install_dir_for_user_site() File "/tmp/pip-build-env-9z5pmolp/overlay/lib/python3.8/site-packages/setuptools/command/easy_install.py", line 375, in _fix_install_dir_for_user_site self.select_scheme(scheme_name) File "/tmp/pip-build-env-9z5pmolp/overlay/lib/python3.8/site-packages/setuptools/command/easy_install.py", line 716, in select_scheme scheme = INSTALL_SCHEMES[name] KeyError: 'unix_user' ---------------------------------------- ERROR: Can't roll back nifty8; was not uninstalled ERROR: Command errored out with exit status 1: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/veberle/MPA/nifty/setup.py'"'"'; __file__='"'"'/home/veberle/MPA/nifty/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps --user --prefix= Check the logs for full command output.