Traceback (most recent call last):
File "D:\Pydata\anacondai\envs\visgpt\lib\site-packages\altair\utils\core.py", line 20, in
from pandas.api.types import infer_dtype as _infer_dtype
ModuleNotFoundError: No module named 'pandas.api'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "F:\AI\visual-chatgpt-main\visual_chatgpt.py", line 5, in
import gradio as gr
File "D:\Pydata\anacondai\envs\visgpt\lib\site-packages\gradio__init.py", line 3, in
import gradio.components as components
File "D:\Pydata\anacondai\envs\visgpt\lib\site-packages\gradio\components.py", line 21, in
import altair as alt
File "D:\Pydata\anacondai\envs\visgpt\lib\site-packages\altair__init.py", line 4, in
from .vegalite import *
File "D:\Pydata\anacondai\envs\visgpt\lib\site-packages\altair\vegalite\init.py", line 2, in
from .v4 import *
File "D:\Pydata\anacondai\envs\visgpt\lib\site-packages\altair\vegalite\v4\init.py", line 2, in
from .schema import *
File "D:\Pydata\anacondai\envs\visgpt\lib\site-packages\altair\vegalite\v4\schema\init__.py", line 2, in
from .core import *
File "D:\Pydata\anacondai\envs\visgpt\lib\site-packages\altair\vegalite\v4\schema\core.py", line 4, in
from altair.utils.schemapi import SchemaBase, Undefined, _subclasses
File "D:\Pydata\anacondai\envs\visgpt\lib\site-packages\altair\utils\init__.py", line 1, in
from .core import (
File "D:\Pydata\anacondai\envs\visgpt\lib\site-packages\altair\utils\core.py", line 23, in
from pandas.lib import infer_dtype as _infer_dtype
ModuleNotFoundError: No module named 'pandas.lib'
Traceback (most recent call last): File "D:\Pydata\anacondai\envs\visgpt\lib\site-packages\altair\utils\core.py", line 20, in
from pandas.api.types import infer_dtype as _infer_dtype
ModuleNotFoundError: No module named 'pandas.api'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "F:\AI\visual-chatgpt-main\visual_chatgpt.py", line 5, in
import gradio as gr
File "D:\Pydata\anacondai\envs\visgpt\lib\site-packages\gradio__init.py", line 3, in
import gradio.components as components
File "D:\Pydata\anacondai\envs\visgpt\lib\site-packages\gradio\components.py", line 21, in
import altair as alt
File "D:\Pydata\anacondai\envs\visgpt\lib\site-packages\altair__init.py", line 4, in
from .vegalite import *
File "D:\Pydata\anacondai\envs\visgpt\lib\site-packages\altair\vegalite\ init.py", line 2, in
from .v4 import *
File "D:\Pydata\anacondai\envs\visgpt\lib\site-packages\altair\vegalite\v4\ init.py", line 2, in
from .schema import *
File "D:\Pydata\anacondai\envs\visgpt\lib\site-packages\altair\vegalite\v4\schema\ init__.py", line 2, in
from .core import *
File "D:\Pydata\anacondai\envs\visgpt\lib\site-packages\altair\vegalite\v4\schema\core.py", line 4, in
from altair.utils.schemapi import SchemaBase, Undefined, _subclasses
File "D:\Pydata\anacondai\envs\visgpt\lib\site-packages\altair\utils\ init__.py", line 1, in
from .core import (
File "D:\Pydata\anacondai\envs\visgpt\lib\site-packages\altair\utils\core.py", line 23, in
from pandas.lib import infer_dtype as _infer_dtype
ModuleNotFoundError: No module named 'pandas.lib'
how to solove? panda vison?