openclaw - 💡(How to fix) Fix [Bug]: Bug Report: Telegram plugin fails to load — Cannot find module 'grammy' [3 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#60070Fetched 2026-04-08 02:36:49
View on GitHub
Comments
3
Participants
2
Timeline
4
Reactions
0
Participants
Timeline (top)
commented ×3labeled ×1

After installing OpenClaw V4.2 via install.ps, the Telegram plugin fails to load on every Gateway startup with Cannot find module 'grammy'. The issue persists across reinstalls and manual grammy installation, indicating a packaging problem where grammy is not bundled as a dependency. Previously I already report a samilar bug, https://github.com/openclaw/openclaw/issues/58676.

Error Message

Plugin fails to load with grammy module not found — every restart, without exception.

Root Cause

After installing OpenClaw V4.2 via install.ps, the Telegram plugin fails to load on every Gateway startup with Cannot find module 'grammy'. The issue persists across reinstalls and manual grammy installation, indicating a packaging problem where grammy is not bundled as a dependency. Previously I already report a samilar bug, https://github.com/openclaw/openclaw/issues/58676.

RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

After installing OpenClaw V4.2 via install.ps, the Telegram plugin fails to load on every Gateway startup with Cannot find module 'grammy'. The issue persists across reinstalls and manual grammy installation, indicating a packaging problem where grammy is not bundled as a dependency. Previously I already report a samilar bug, https://github.com/openclaw/openclaw/issues/58676.

Steps to reproduce

Run install.ps to install OpenClaw Enable telegram plugin in config Start Gateway: openclaw gateway start Telegram plugin fails to load

Expected behavior

Telegram plugin loads successfully after installation without additional manual steps.

Actual behavior

Plugin fails to load with grammy module not found — every restart, without exception.

OpenClaw version

2026.4.2

Operating system

Windows11

Install method

install.ps

Model

minimax M2.7

Provider / routing chain

openclaw -> minimax

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

Same issue: #58676

extent analysis

TL;DR

The Telegram plugin fails to load due to a missing 'grammy' module, suggesting a packaging issue in OpenClaw V4.2 where 'grammy' is not included as a dependency.

Guidance

  • Verify the install.ps script to ensure it correctly installs all dependencies, including 'grammy', for the Telegram plugin.
  • Check the OpenClaw V4.2 package for any known issues or updates related to dependency management, especially concerning the 'grammy' module.
  • Consider manually installing 'grammy' as a temporary workaround to confirm if the issue is indeed related to its absence.
  • Review the previous similar bug report (#58676) for any insights or fixes that might apply to this situation.

Example

No specific code example is provided due to the lack of detailed technical information about the install.ps script or the OpenClaw package structure.

Notes

The solution may depend on the specifics of how OpenClaw and its plugins are packaged and installed, which is not fully detailed in the issue report. The previous bug report (#58676) might offer additional context or solutions.

Recommendation

Apply workaround: Manually install 'grammy' to verify if it resolves the plugin loading issue, as this directly addresses the reported error and can help confirm the root cause of the problem.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

Telegram plugin loads successfully after installation without additional manual steps.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING