llama
llama copied to clipboard
example_text_completion.py doesn't work with Python 3.10
I try install llama package and I have the following error:
`pip install llama Defaulting to user installation because normal site-packages is not writeable Collecting llama Using cached llama-0.1.1.tar.gz (387 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "
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. ` I try to convert with 2to3 and I have the following error:
`pip install llama-0.1.1-1.tar.gz Processing ./llama-0.1.1-1.tar.gz Preparing metadata (setup.py) ... error error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
Traceback (most recent call last):
File "
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. ` Suggestions please.
I try "modernize" but I have the following error:
pip install llama-0.1.1-1.tar.gz Processing ./llama-0.1.1-1.tar.gz Preparing metadata (setup.py) ... done Collecting apscheduler>=3.2.0 Using cached APScheduler-3.10.1-py3-none-any.whl (59 kB) Collecting docopt>=0.6.2 Using cached docopt-0.6.2.tar.gz (25 kB) Preparing metadata (setup.py) ... done Collecting flask>=0.10.1 Using cached Flask-2.3.2-py3-none-any.whl (96 kB) Collecting futures>=3.0.3 Using cached futures-3.0.5.tar.gz (25 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [25 lines of output]
Traceback (most recent call last):
File "
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.
the same to me.
I have the same problem. Did you find the solution yet?