Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I install the dependencies There is an error jumping out when I installed it. #3

Open
Jack-Liu0227 opened this issue Oct 15, 2024 · 2 comments

Comments

@Jack-Liu0227
Copy link

python=3.9,3.10,3.12 have the same problem.
I think this is attributed to the alfworld package. I try to upgrade setuptools and pip, it doesn't work.

Uploading Screenshot 2024-10-15 132327.png…

@Jack-Liu0227
Copy link
Author

Collecting jericho>=3.0.3 (from textworld>=1.6.1->textworld[pddl]>=1.6.1->alfworld[full])
Using cached jericho-3.2.1.tar.gz (1.3 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [17 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\dell\AppData\Local\Temp\pip-install-v9qfcf9v\jericho_7da51b33548647b295e0d4f7d0593306\setup.py", line 24, in
subprocess.check_call(['make', 'clean'], cwd=FROTZPATH)
File "C:\Users\dell\miniconda3\envs\alfworld\Lib\subprocess.py", line 408, in check_call
retcode = call(*popenargs, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dell\miniconda3\envs\alfworld\Lib\subprocess.py", line 389, in call
with Popen(*popenargs, **kwargs) as p:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dell\miniconda3\envs\alfworld\Lib\subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\dell\miniconda3\envs\alfworld\Lib\subprocess.py", line 1538, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] 系统找不到指定的文件。
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

@Ericccc02
Copy link
Collaborator

This error might be due to using Windows, as AlfWorld isn’t supported on Windows systems. I recommend trying it on a Linux environment instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants