I get this error when trying to get a response using Bing:
Traceback (most recent call last):
File "c:\Users\lenovo\Documents\Projects\gpt4free-1\main copy.py", line 7, in <module>
response = g4f.ChatCompletion.create(model='gpt-4', messages=[
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\lenovo\Documents\Projects\gpt4free-1\g4f\__init__.py", line 48, in create
if stream else ''.join(engine._create_completion(model.name, messages, stream, **kwargs)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\lenovo\Documents\Projects\gpt4free-1\g4f\Provider\Providers\Bing.py", line 20, in _create_completion
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\lenovo\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1024, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\lenovo\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1509, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified
I get this error when trying to get a response using Bing:
```
Traceback (most recent call last):
File "c:\Users\lenovo\Documents\Projects\gpt4free-1\main copy.py", line 7, in <module>
response = g4f.ChatCompletion.create(model='gpt-4', messages=[
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\lenovo\Documents\Projects\gpt4free-1\g4f\__init__.py", line 48, in create
if stream else ''.join(engine._create_completion(model.name, messages, stream, **kwargs)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\lenovo\Documents\Projects\gpt4free-1\g4f\Provider\Providers\Bing.py", line 20, in _create_completion
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\lenovo\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1024, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\lenovo\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1509, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified
```
I get this error when trying to get a response using Bing:
Same dude