Traceback (most recent call last):
File "C:\Users\USER\Pemi\PYTHON\Projects\Made\chat\chat.py", line 101, in
import chatgpt_wrapper
File "C:\Users\USER\AppData\Local\Programs\Python\Python3.8.10\lib\site-packages\chatgpt_wrapper_init_.py", line 1, in
from .chatgpt import ChatGPT
File "C:\Users\USER\AppData\Local\Programs\Python\Python3.8.10\lib\site-packages\chatgpt_wrapper\chatgpt.py", line 10, in
from playwright.sync_api import sync_playwright
File "C:\Users\USER\AppData\Local\Programs\Python\Python3.8.10\lib\site-packages\playwright\sync_api_init_.py", line 25, in
import playwright.sync_api._generated
File "C:\Users\USER\AppData\Local\Programs\Python\Python3.8.10\lib\site-packages\playwright\sync_api_generated.py", line 25, in
from playwright._impl._accessibility import Accessibility as AccessibilityImpl
File "C:\Users\USER\AppData\Local\Programs\Python\Python3.8.10\lib\site-packages\playwright_impl_accessibility.py", line 17, in
from playwright._impl.connection import Channel
File "C:\Users\USER\AppData\Local\Programs\Python\Python3.8.10\lib\site-packages\playwright_impl_connection.py", line 23, in
from greenlet import greenlet
File "C:\Users\USER\AppData\Local\Programs\Python\Python3.8.10\lib\site-packages\greenlet_init.py", line 29, in
from ._greenlet import _C_API # pylint:disable=no-name-in-module
ImportError: DLL load failed while importing _greenlet: The specified module could not be found.
I would recommend three potential solutions, although I am not sure which will resolve the issue, if at all.
- Reinstall the greenlet module
- Verify that all required dependencies are installed properly
- Update Python
Other than that, from that traceback above, I can barely conclude anything.. hope it helps nonetheless.