Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python demo_toolbox.py 运行这个报错 #1015

Open
tts2 opened this issue Dec 4, 2024 · 1 comment
Open

python demo_toolbox.py 运行这个报错 #1015

tts2 opened this issue Dec 4, 2024 · 1 comment

Comments

@tts2
Copy link

tts2 commented Dec 4, 2024

Summary[问题简述(一句话)]
A clear and concise description of what the issue is.
python demo_toolbox.py 运行这个报错
Env & To Reproduce[复现与环境]
描述你用的环境、代码版本、模型
版本:master
系统:windows 10
python:canda
Screenshots[截图(如有)]
If applicable, add screenshots to help
Uploading test.jpg…

@tts2
Copy link
Author

tts2 commented Dec 4, 2024

(MockingBird) E:\sjy\python\Project\MockingBird-main>python demo_toolbox.py
Traceback (most recent call last):
File "E:\sjy\python\Project\MockingBird-main\demo_toolbox.py", line 2, in
from control.toolbox import Toolbox
File "E:\sjy\python\Project\MockingBird-main\control\toolbox_init_.py", line 1, in
from control.toolbox.ui import UI
File "E:\sjy\python\Project\MockingBird-main\control\toolbox\ui.py", line 4, in
import matplotlib.pyplot as plt
File "C:\Users\tts4.conda\envs\MockingBird\lib\site-packages\matplotlib_init_.py", line 113, in
from . import _api, _version, cbook, _docstring, rcsetup
File "C:\Users\tts4.conda\envs\MockingBird\lib\site-packages\matplotlib\rcsetup.py", line 27, in
from matplotlib.colors import Colormap, is_color_like
File "C:\Users\tts4.conda\envs\MockingBird\lib\site-packages\matplotlib\colors.py", line 51, in
from PIL import Image
File "C:\Users\tts4.conda\envs\MockingBird\lib\site-packages\PIL\Image.py", line 68, in
from .typing import StrOrBytesPath, TypeGuard
File "C:\Users\tts4.conda\envs\MockingBird\lib\site-packages\PIL_typing.py", line 8, in
import numpy.typing as npt
File "C:\Users\tts4.conda\envs\MockingBird\lib\site-packages\numpy\typing_init
.py", line 158, in
from numpy.typing import (
File "C:\Users\tts4.conda\envs\MockingBird\lib\site-packages\numpy_typing_init
.py", line 148, in
from ._scalars import (
File "C:\Users\tts4.conda\envs\MockingBird\lib\site-packages\numpy_typing_scalars.py", line 13, in
_UIntLike_co = Union[_BoolLike_co, np.unsignedinteger[Any]]
TypeError: 'type' object is not subscriptable

(MockingBird) E:\sjy\python\Project\MockingBird-main>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant