juncongmoo / pyllama

LLaMA: Open and Efficient Foundation Language Models
GNU General Public License v3.0
2.8k stars 312 forks source link

RecursionError running llama.download #90

Open anyangpeng opened 1 year ago

anyangpeng commented 1 year ago

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.

flyinghpluo commented 1 year ago

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

anyangpeng commented 1 year ago

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

No, unfortunately.

Vaibhav11002 commented 1 year ago

Were you able to resolve the issue?

anyangpeng commented 1 year ago

Were you able to resolve the issue?

Try python ~3.10