We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
python 3.10
git pull最新版本之后发现无法启动
终端output如下
No response
(arco) PS E:\LLaMs\Wechat_auto-reply\new\wechat-gptbot> python app.py Traceback (most recent call last): File "E:\LLaMs\Wechat_auto-reply\new\wechat-gptbot\app.py", line 1, in <module> from channel.wechat import WeChatChannel File "E:\LLaMs\Wechat_auto-reply\new\wechat-gptbot\channel\wechat.py", line 9, in <module> from bot.bot import Bot File "E:\LLaMs\Wechat_auto-reply\new\wechat-gptbot\bot\bot.py", line 1, in <module> import litellm File "C:\Users\Ethan\AppData\Local\Programs\Python\Python310\lib\site-packages\litellm\__init__.py", line 75, in <module> from .utils import client, logging, exception_type, get_optional_params, modify_integration File "C:\Users\Ethan\AppData\Local\Programs\Python\Python310\lib\site-packages\litellm\utils.py", line 8, in <module> encoding = tiktoken.get_encoding("cl100k_base") File "C:\Users\Ethan\AppData\Local\Programs\Python\Python310\lib\site-packages\tiktoken\registry.py", line 63, in get_encoding enc = Encoding(**constructor()) File "C:\Users\Ethan\AppData\Local\Programs\Python\Python310\lib\site-packages\tiktoken_ext\openai_public.py", line 64, in cl100k_base mergeable_ranks = load_tiktoken_bpe( File "C:\Users\Ethan\AppData\Local\Programs\Python\Python310\lib\site-packages\tiktoken\load.py", line 117, in load_tiktoken_bpe return { File "C:\Users\Ethan\AppData\Local\Programs\Python\Python310\lib\site-packages\tiktoken\load.py", line 117, in <dictcomp> return { ValueError: not enough values to unpack (expected 2, got 1)
The text was updated successfully, but these errors were encountered:
你报的错跟api key没关系啊,检查下litellm和tiktoken版本和项目要求的版本是否一致
Sorry, something went wrong.
litellm版本是正确的, tiktoken 是0.4.0 干净的Conda环境
(webot) PS E:\LLaMs\Wechat_auto-reply\wechat-gptbot> pip show tiktoken Name: tiktoken Version: 0.4.0
(webot) PS E:\LLaMs\Wechat_auto-reply\wechat-gptbot> pip show litellm Name: litellm Version: 0.1.365
No branches or pull requests
Search for answers in existing issues
Python version
python 3.10
Issue description
git pull最新版本之后发现无法启动
终端output如下
Repro steps
No response
Relevant log output
The text was updated successfully, but these errors were encountered: