英文:
I get an error when launching Automatic1111
问题
嗨!最近我安装了 Automatic1111 用于 Stable Diffusions web UI,但每当我尝试启动它时,命令提示符中会出现以下错误消息:
ImportError: 无法从部分初始化的模块 'numpy' 中导入名称 'lib'(很可能是由于循环导入引起的)(C:\Users\Student\OneDrive - Xenter Botkyrka\Dokument\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\lib\site-packages\numpy\__init__.py)
我可以尝试什么来解决这个问题?
(我已尝试重新安装 Python 和 Anaconda)
英文:
(Heads up that I know close to nothing about coding. I just watch tutorials and follow along)
Hi! I recently installed Automatic1111 for Stable Diffusions web UI, but whenever I try to launch it I get this error message in the command prompt:
ImportError: cannot import name 'lib' from partially initialized module 'numpy' (most likely due to a circular import) (C:\Users\Student\OneDrive - Xenter Botkyrka\Dokument\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\lib\site-packages\numpy\__init__.py)
What can I try to solve it?
(I have tried re-installing python and Anaconda)
答案1
得分: 2
Solved it! The problem was that A1111 was installed to my Documents folder while the documents folder were synced with Onedrive, which led to A1111 be located there as well. I stopped the sync, installed A1111 in my regular documents folder and run the app with no problem!
英文:
Solved it! The problem was that A1111 was installed to my Documents folder while the documents folder were synced with Onedrive, which led to A1111 be located there as well. I stopped the sync, installed A1111 in my regular documents folder and run the app with no problem!
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论