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

[BUG] ModuleNotFoundError: No module named 'tiktoken' #101

Closed
wdnmd-ship opened this issue Feb 12, 2023 · 6 comments
Closed

[BUG] ModuleNotFoundError: No module named 'tiktoken' #101

wdnmd-ship opened this issue Feb 12, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@wdnmd-ship
Copy link

Traceback (most recent call last):
File "C:\Users\WYC\Downloads\quickstart-windows-amd64\chatgpt\bot.py", line 23, in
import chatbot
File "C:\Users\WYC\Downloads\quickstart-windows-amd64\chatgpt\chatbot.py", line 1, in
from revChatGPT.Official import Chatbot, Prompt
File "C:\Users\WYC\Downloads\quickstart-windows-amd64\chatgpt\python3.9\lib\site-packages\revChatGPT\Official.py", line 11, in
import tiktoken
ModuleNotFoundError: No module named 'tiktoken'
请问这是什么问题

@lss233
Copy link
Owner

lss233 commented Feb 12, 2023

依赖缺失了 需要你自己补一下

@wdnmd-ship
Copy link
Author

依赖缺失了 需要你自己补一下
请问要怎么补呢

@lss233
Copy link
Owner

lss233 commented Feb 12, 2023

提示 ModuleNotFoundError: No module named 'tiktoken'‘
那你就执行
python3.9\python.exe -m pip install tiktoken
以此类推。
在启动ChatGPT之后出现的那个黑框里面执行。

@wdnmd-ship
Copy link
Author

万分感谢

@wdnmd-ship
Copy link
Author

出现故障!如果这个问题持续出现,请和我说“重置会话” 来开启一段新的会话,或者发送 “回滚对话” 来回溯到上一条对话,你上一条说的我就当作没看见。
That model does not exist
这是什么情况

@lss233
Copy link
Owner

lss233 commented Feb 12, 2023

#82

@lss233 lss233 closed this as completed Feb 12, 2023
@lss233 lss233 added the bug Something isn't working label Feb 12, 2023
@lss233 lss233 changed the title win11 api版 chatgpt报错 [BUG] ModuleNotFoundError: No module named 'tiktoken' Feb 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants