freegpt-webui icon indicating copy to clipboard operation
freegpt-webui copied to clipboard

ModuleNotFoundError: No module named 'execjs'

Open cctvoh opened this issue 1 year ago • 2 comments

When I use "python run.py", an issue happen(as follows), what should I do?

Traceback (most recent call last): File "c:\Users\Yuyue\freegpt-webui\run.py", line 5, in from server.backend import Backend_Api File "c:\Users\Yuyue\freegpt-webui\server\backend.py", line 3, in from g4f import ChatCompletion File "c:\Users\Yuyue\freegpt-webui\g4f_init_.py", line 2, in from . import Provider File "c:\Users\Yuyue\freegpt-webui\g4f\Provider_init_.py", line 2, in from .Providers import ( File "c:\Users\Yuyue\freegpt-webui\g4f\Provider\Providers\Vercel.py", line 4, in import execjs ModuleNotFoundError: No module named 'execjs'

cctvoh avatar Aug 01 '23 09:08 cctvoh

Did you install the dependencies?

ramon-victor avatar Aug 01 '23 13:08 ramon-victor

Did you install the dependencies?

Yes I have. what else dependencies should I install ? when I executed "pip install -r requirements.txt", there was no issues occurred.

cctvoh avatar Aug 02 '23 06:08 cctvoh