circlestarzero / EX-chatGPT

Let ChatGPT truly learn how to go online and call APIs! 'EX-ChatGPT' can rival and even surpass NewBing
MIT License
2.01k stars 331 forks source link

ModuleNotFoundError: No module named 'graiax' #45

Open luckyhug opened 1 year ago

luckyhug commented 1 year ago

似乎在requirements里面包没有给全?

stormcenter commented 1 year ago

运行时报一样的错误 $ python main.py Traceback (most recent call last): File "/media/chi/extension/develop/EX-chatGPT/chatGPTEx/main.py", line 8, in from graiax.text2img.playwright.plugins.code.highlighter import Highlighter File "/home/chi/miniconda3/lib/python3.10/site-packages/graiax/text2img/playwright/init.py", line 3, in from .renderer import HTMLRenderer, PageOption, ScreenshotOption File "/home/chi/miniconda3/lib/python3.10/site-packages/graiax/text2img/playwright/renderer.py", line 8, in from graiax.playwright import PlaywrightBrowser ModuleNotFoundError: No module named 'graiax.playwright'

graiax.playwright已经安装了

找到问题了 pip install graiax-playwright==0.2.1

如果安装的pip install graiax-playwright 是0.2.2就会报找不到的错误。

lyuzhenhong commented 1 year ago

请问graiax包要如何安装?网上似乎没找到

blackwint3r commented 1 year ago

如果安装了graiax-playwright仍然报错, 需要再安装 graiax-text2img-playwright