Skip to content

[Support] 🚀Linux系统(Docker)出现 No module named 'werkzeug.exceptions'🌈解决方法 #1261

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

Open
Nothingness-Void opened this issue Nov 25, 2023 · 6 comments
Labels
stale 功能/建议 New feature or request

Comments

@Nothingness-Void
Copy link

Nothingness-Void commented Nov 25, 2023

近日linux一键脚本启动的程序会出现 No module named 'werkzeug.exceptions' 报错
是依赖更新引起的
可通过手动挂载依赖来解决
就如同解决EdgeGPT问题一样
只需在docker-compose.yml文件的
volumes里添加一行映射
image


- ./werkzeug:/usr/local/lib/python3.10/site-packages/werkzeug

并将此帖附件(解压后)上传到程序根目录,即:chatgpt-qq下
如图
image
即可解决


附件:werkzeug.zip

@Nothingness-Void Nothingness-Void added the 功能/建议 New feature or request label Nov 25, 2023
@Nothingness-Void Nothingness-Void changed the title [Support] 🚀No module named 'werkzeug.exceptions'🌈解决方法 [Support] 🚀Linux系统(Docker)出现 No module named 'werkzeug.exceptions'🌈解决方法 Nov 25, 2023
@iamastudentlo
Copy link

记得搞完之后重构容器,docker-compose up -d

@xupeng19881010
Copy link

这个包是不是从老的版本里提取出来的?报错的版本是werkzeug-3.0.1.dist-info

@Nothingness-Void
Copy link
Author

这个包是不是从老的版本里提取出来的?报错的版本是werkzeug-3.0.1.dist-info

对 我之前版本的时候备份过

@aiyurui
Copy link

aiyurui commented Dec 4, 2023

谢谢 解决了

@Cal0rie
Copy link

Cal0rie commented Dec 5, 2023

万分感谢

Copy link

👋 您好!这个 issue 已经 60 天没有活动了。
为了保持我们的 issue 列表整洁,我们会标记长时间不活跃的 issue。 如果您认为这个 issue 仍然重要且有效,请留下评论或移除 "stale" 标签, 否则它将在 14 天后自动关闭。
感谢您的理解和贡献!

@github-actions github-actions bot added the stale label May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale 功能/建议 New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants