llm-workflow-engine icon indicating copy to clipboard operation
llm-workflow-engine copied to clipboard

Error keeps happening when i import file or use cli

Open betawarrior12 opened this issue 2 years ago • 2 comments

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.

betawarrior12 avatar Feb 15 '23 21:02 betawarrior12

same,any Solution?

alphaokxyz avatar Feb 23 '23 01:02 alphaokxyz

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.

udpcachefix avatar Feb 23 '23 11:02 udpcachefix

Thanks

betawarrior12 avatar Mar 28 '23 16:03 betawarrior12