Which version should the module "gradio" be?
I try to build this application on my PC but when I run the code the console showed this:
Traceback (most recent call last):
File E:\sd\app.py:1 in
import gradio as gr
File D:\anaconda3\envs\stable-diffusion\Lib\site-packages\gradio_init_.py:3 in
import gradio.components as components
File D:\anaconda3\envs\stable-diffusion\Lib\site-packages\gradio\components.py:40 in
from gradio.blocks import Block
File D:\anaconda3\envs\stable-diffusion\Lib\site-packages\gradio\blocks.py:20 in
from gradio import (
File D:\anaconda3\envs\stable-diffusion\Lib\site-packages\gradio\networking.py:18 in
from gradio.routes import App
File D:\anaconda3\envs\stable-diffusion\Lib\site-packages\gradio\routes.py:20 in
import orjson
File D:\anaconda3\envs\stable-diffusion\Lib\site-packages\orjson_init_.py:1 in
from .orjson import *
ModuleNotFoundError: No module named 'orjson.orjson'
I think the different version of module "gradio" causes this error.My version of module "gradio" is 3.4.0,which version should the module "gradio" be for this code?Or there is some other error?