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

[Docker] ModuleNotFoundError: No module named 'transformers' #935

Closed
docaohuynh opened this issue Sep 24, 2023 · 0 comments
Closed

[Docker] ModuleNotFoundError: No module named 'transformers' #935

docaohuynh opened this issue Sep 24, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@docaohuynh
Copy link

I've got error when using docker

docker compose up

[+] Running 2/2
 ✔ Network gpt4free_default       Created                                  0.2s 
 ✔ Container gpt4free-gpt4free-1  Creat...                                 0.3s 
Attaching to gpt4free-gpt4free-1
gpt4free-gpt4free-1  | Traceback (most recent call last):
gpt4free-gpt4free-1  |   File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
gpt4free-gpt4free-1  |     return _run_code(code, main_globals, None,
gpt4free-gpt4free-1  |   File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code
gpt4free-gpt4free-1  |     exec(code, run_globals)
gpt4free-gpt4free-1  |   File "/app/interference/app.py", line 9, in <module>
gpt4free-gpt4free-1  |     from transformers import AutoTokenizer
gpt4free-gpt4free-1  | ModuleNotFoundError: No module named 'transformers'
gpt4free-gpt4free-1 exited with code 1

Bug description
Follow docker install and got error when docker compose up

@docaohuynh docaohuynh added the bug Something isn't working label Sep 24, 2023
r1di added a commit to r1di/gpt4free that referenced this issue Sep 24, 2023
xtekky added a commit that referenced this issue Sep 24, 2023
#935 [Docker] ModuleNotFoundError: No module named 'transformers' and 'PyExecJS'
@xtekky xtekky closed this as completed Sep 25, 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

3 participants
@docaohuynh @xtekky and others