After upgrading from 0.11 to 0.12 I get "AttributeError: module 'typer' has no attribute 'Typer'" #799
Replies: 3 comments 2 replies
-
Hi! I can't reproduce this. Could you create an entirely fresh environment, |
Beta Was this translation helpful? Give feedback.
-
I use While investigating the issue I looked into the installed Here's also a
|
Beta Was this translation helpful? Give feedback.
-
Just had this come up myself. I don't know where the responsibility lay (and sadly I lost the Terminal window that had every Traceback and command) but this came up for me after: In a pretty large and well-used venv I had to reinstall
Which is why I mentioned all my rich/textual related stuff above. I wish I had the original Traceback for you, but that was the error verbatim and it lead me here. This was also from:
Their CLI tool made with typer. In my case I got lucky and the line that tried calling other relevant versions: pip 25.2 on python 3.12.8 I was able to fix this like I mentioned, by just removing the offending line from the Typer-based tool Update, here is the offending portion of code that
Lines 1249 and 1250 in their cli.py module. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Broken out from #784 (reply in thread)
Example Code
Description
Getting error with 0.12.3, not with 0.11.1
Operating System
macOS
Operating System Details
No response
Typer Version
0.12.3
Python Version
3.11.8
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions