diff --git a/mim/commands/install.py b/mim/commands/install.py index 976644a..ca89ca0 100644 --- a/mim/commands/install.py +++ b/mim/commands/install.py @@ -471,6 +471,10 @@ def install_from_repo(repo_root: str, install_cmd = ['python', '-m', 'pip', 'install'] if is_editable: install_cmd.append('-e') + else: + # solving issues related to out-of-tree builds + # more datails at https://github.com/pypa/pip/issues/7555 + install_cmd.append('--use-feature=in-tree-build') install_cmd.append(repo_root) if is_user_dir: install_cmd.append('--user')