I can't import the richMenuAlias module
See original GitHub issuerequest
I need you to add a RichMenuAlias
to the code below.
System Informations
- Python version: 3.8
- SDK version: 1.20.0 , 2.0.1
What I want to do
from linebot.models import RichMenuAlias
Current Behavior
Logs
[ERROR] Runtime.ImportModuleError: Unable to import module 'app': cannot import name 'RichMenuAlias' from 'linebot.models' (/var/task/linebot/models/__init__.py)
Traceback (most recent call last):
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
python - Unable to import a module that is definitely installed
In my case, it is permission problem. The package was somehow installed with root rw permission only, other user just cannot rw to...
Read more >How to Fix ImportError: Cannot Import Name in Python - Rollbar
The imported class name is misspelled. The imported class from a module is misplaced. The imported class is unavailable in the Python library....
Read more >Resolve "Unable to import module" errors from Python ... - AWS
I receive an "Unable to import module" error when I try to run my AWS Lambda code in Python. How do I resolve...
Read more >5. The import system — Python 3.11.1 documentation
When a module is first imported, Python searches for the module and if found, it creates a module object 1, initializing it. If...
Read more >Cannot import a package with "type": "module" from cjs even if ...
The specifier only resolves to an ES module, which cannot be imported synchronously. Version & Regression Information. I was unable to test ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@TF-Takishita Could you assist to add
RichMenuAlias
inline-bot-sdk-python/linebot/models/__init__.py
with new Pull Request ?Thanks for your report. 😃
If you want to use
RichMenuAlias
ASAP, please import like the following until the issue is fixed 😃