pyllama icon indicating copy to clipboard operation
pyllama copied to clipboard

RecursionError running llama.download

Open anyangpeng opened this issue 1 year ago • 4 comments

I am using python3.8.5, and installed all dependencies from both requirements files. Then run python -m llama.download --model_size 7B, got the following error message

  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/subprocess.py", line 854, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/subprocess.py", line 1620, in _execute_child
    for k, v in env.items():
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/_collections_abc.py", line 743, in __iter__
    for key in self._mapping:
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/os.py", line 697, in __iter__
    yield self.decodekey(key)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/os.py", line 753, in decode
    return value.decode(encoding, 'surrogateescape')
RecursionError: maximum recursion depth exceeded while calling a Python object

Thanks in advance.

anyangpeng avatar Apr 27 '23 02:04 anyangpeng

I also encountered the same problem. May I ask if you have resolved it

flyinghpluo avatar May 04 '23 13:05 flyinghpluo

I also encountered the same problem. May I ask if you have resolved it

No, unfortunately.

anyangpeng avatar May 05 '23 14:05 anyangpeng

Were you able to resolve the issue?

Vaibhav11002 avatar May 22 '23 09:05 Vaibhav11002

Were you able to resolve the issue?

Try python ~3.10

anyangpeng avatar May 27 '23 01:05 anyangpeng