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

Error: proot-distro should not be executed as root user. #6

Open
Steveflyy opened this issue Sep 26, 2024 · 0 comments
Open

Error: proot-distro should not be executed as root user. #6

Steveflyy opened this issue Sep 26, 2024 · 0 comments

Comments

@Steveflyy
Copy link

root@localhost:~# # Login to linux distro proot-distro login debian --shared-tmp # Load python venv source .venv/bin/activate # Run script cd mobile-stable-diffusion python text2image_cli.py demo Error: proot-distro should not be executed as root user. /root/.venv/lib/python3.11/site-packages/torch/_subclasses/functional_tensor.py:258: UserWarning: Failed to initialize NumPy: No module named 'numpy' (Triggered internally at /pytorch/torch/csrc/utils/tensor_numpy.cpp:84.) cpu = _conversion_method_template(device=torch.device("cpu")) Traceback (most recent call last): File "/root/mobile-stable-diffusion/text2image_cli.py", line 5, in from diffusers import DiffusionPipeline, DPMSolverMultistepScheduler, EulerDiscreteScheduler ModuleNotFoundError: No module named 'diffusers'

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