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

ModuleNotFoundError: No module named 'tensorboard',ModuleNotFoundError: No module named 'google' #12

Open
LucasLOOT opened this issue Sep 3, 2023 · 0 comments

Comments

@LucasLOOT
Copy link

LucasLOOT commented Sep 3, 2023

when running this command, python -m anything2image.appi met this problem

image

Traceback (most recent call last):
File "/home/dell/anaconda3/envs/i/lib/python3.8/site-packages/accelerate/tracking.py", line 43, in
from torch.utils import tensorboard
File "/home/dell/anaconda3/envs/i/lib/python3.8/site-packages/torch/utils/tensorboard/init.py", line 1, in
import tensorboard
ModuleNotFoundError: No module named 'tensorboard'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/dell/anaconda3/envs/i/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/dell/anaconda3/envs/i/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/dell/桌面/Anything2Image/anything2image/cli.py", line 3, in
from anything2image.api import Anything2Image
File "/home/dell/桌面/Anything2Image/anything2image/api.py", line 4, in
from diffusers import StableUnCLIPImg2ImgPipeline
File "/home/dell/anaconda3/envs/i/lib/python3.8/site-packages/diffusers/init.py", line 3, in
from .configuration_utils import ConfigMixin
File "/home/dell/anaconda3/envs/i/lib/python3.8/site-packages/diffusers/configuration_utils.py", line 34, in
from .utils import (
File "/home/dell/anaconda3/envs/i/lib/python3.8/site-packages/diffusers/utils/init.py", line 21, in
from .accelerate_utils import apply_forward_hook
File "/home/dell/anaconda3/envs/i/lib/python3.8/site-packages/diffusers/utils/accelerate_utils.py", line 24, in
import accelerate
File "/home/dell/anaconda3/envs/i/lib/python3.8/site-packages/accelerate/init.py", line 3, in
from .accelerator import Accelerator
File "/home/dell/anaconda3/envs/i/lib/python3.8/site-packages/accelerate/accelerator.py", line 41, in
from .tracking import LOGGER_TYPE_TO_CLASS, GeneralTracker, filter_trackers
File "/home/dell/anaconda3/envs/i/lib/python3.8/site-packages/accelerate/tracking.py", line 45, in
import tensorboardX as tensorboard
File "/home/dell/.local/lib/python3.8/site-packages/tensorboardX-2.6.2-py3.8.egg/tensorboardX/init.py", line 5, in
from .torchvis import TorchVis
File "/home/dell/.local/lib/python3.8/site-packages/tensorboardX-2.6.2-py3.8.egg/tensorboardX/torchvis.py", line 10, in
from .writer import SummaryWriter
File "/home/dell/.local/lib/python3.8/site-packages/tensorboardX-2.6.2-py3.8.egg/tensorboardX/writer.py", line 16, in
from .comet_utils import CometLogger
File "/home/dell/.local/lib/python3.8/site-packages/tensorboardX-2.6.2-py3.8.egg/tensorboardX/comet_utils.py", line 5, in
from google.protobuf.json_format import MessageToJson
ModuleNotFoundError: No module named 'google'

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