OpenHands
OpenHands copied to clipboard
make build error
Describe the bug
I get this error when I type the command make build
OS?
Windows 11, python 3.11.6
Where did you run this?
locally inside the OpenDevin directory
In WSL terminal?
No, this is VS Code powershell
Okay, I just installed WSL and cloned the repo there. Now, there is this new error here:
Building project...
Checking dependencies...
Checking Python installation...
Python 3.11.0 is already installed.
Checking npm installation...
npm 9.8.1 is already installed.
Checking Docker installation...
Docker version 24.0.6, build ed223bc is already installed.
Checking Poetry installation...
Poetry version 1.1.12 is already installed.
Dependencies checked successfully.
Pulling Docker image...
Using default tag: latest
latest: Pulling from opendevin/sandbox
Digest: sha256:486e3da1d7c8ec54a2e3269071eed9b91bc75b82ca5d1ac1760d33883c39e575
Status: Image is up to date for ghcr.io/opendevin/sandbox:latest
ghcr.io/opendevin/sandbox:latest
What's Next?
View a summary of image vulnerabilities and recommendations → docker scout quickview ghcr.io/opendevin/sandbox
Docker image pulled successfully.
Installing Python dependencies...
Stack trace:
11 /usr/lib/python3/dist-packages/clikit/console_application.py:123 in run
io = io_factory(
10 /usr/lib/python3/dist-packages/poetry/console/config/application_config.py:221 in create_io
resolved_command = application.resolve_command(args)
9 /usr/lib/python3/dist-packages/clikit/console_application.py:110 in resolve_command
return self._config.command_resolver.resolve(args, self)
8 /usr/lib/python3/dist-packages/clikit/resolver/default_resolver.py:34 in resolve
return self.create_resolved_command(result)
7 /usr/lib/python3/dist-packages/clikit/resolver/default_resolver.py:166 in create_resolved_command
if not result.is_parsable():
6 /usr/lib/python3/dist-packages/clikit/resolver/resolve_result.py:43 in is_parsable
self._parse()
5 /usr/lib/python3/dist-packages/clikit/resolver/resolve_result.py:49 in _parse
self._parsed_args = self._command.parse(self._raw_args)
4 /usr/lib/python3/dist-packages/clikit/api/command/command.py:113 in parse
return self._config.args_parser.parse(args, self._args_format, lenient)
3 /usr/lib/python3/dist-packages/clikit/args/default_args_parser.py:53 in parse
self._parse(args, _fmt, lenient)
2 /usr/lib/python3/dist-packages/clikit/args/default_args_parser.py:101 in _parse
self._parse_long_option(token, tokens, fmt, lenient)
1 /usr/lib/python3/dist-packages/clikit/args/default_args_parser.py:247 in _parse_long_option
self._add_long_option(name, None, tokens, fmt, lenient)
NoSuchOptionException
The "--without" option does not exist.
at /usr/lib/python3/dist-packages/clikit/args/default_args_parser.py:300 in _add_long_option
296│ def _add_long_option(
297│ self, name, value, tokens, fmt, lenient
298│ ): # type: (str, Optional[str], List[str], ArgsFormat, bool) -> None
299│ if not fmt.has_option(name):
→ 300│ raise NoSuchOptionException(name)
301│
302│ option = fmt.get_option(name)
303│
304│ if value is False:
make[1]: *** [Makefile:84: install-python-dependencies] Error 1
make: *** [Makefile:25: build] Error 2
check poetry version >=1.8
poetry -V
if so, just run poetry install --without evaluation
@MohamedAtta-AI you are using Poetry version 1.1.12 so try to upgrade your poetry version to version 1.8>=
@SmartManoj hello, i have this :
linux ,centos.
i change makefile
@echo "$(BLUE)Usage: make [target]$(RESET)" to @echo -e "$(BLUE)Usage: make [target]$(RESET)", color is work.
windows is work? no idea.
upgrade your poetry version to version 1.8>=
@a18792721831 run this to update poetry
curl -sSL https://install.python-poetry.org | python3 -
upgrade your poetry version to version 1.8>=
@a18792721831 run this to update poetry
curl -sSL https://install.python-poetry.org | python3 -
Can you pls try these steps and send me the full terminal output:
- pull the latest changes
- and run
make build
Can you pls try these steps and send me the full terminal output:
- pull the latest changes
- and run
make build
make build can work, but color :
so what's the issue now?
so what's the issue now?
new issue , i create now .
so what's the issue now?
new issue , i create now .
https://github.com/OpenDevin/OpenDevin/issues/893