Skip to content

cannot import name 'deprecated' from 'typing_extensions' #9808

Closed Answered by keul
wocanbe asked this question in Questions
Discussion options

You must be logged in to vote

I was wrong.

Tried this specific import only (from typing_extensions import Annotated, deprecated) in dedicated virtualenv.

  • with typing_extensions-4.7.1 it works
  • with typing_extensions-4.4.0 it raises the error

So the issue seems on my env, someway the pip installed dependency is winning over conda. Now I've to understand which is installing it.

Sorry for the noise

Replies: 9 comments 21 replies

Comment options

You must be logged in to vote
4 replies
@keul
Comment options

@Kludex
Comment options

Kludex Jul 5, 2023
Collaborator Sponsor

@keul
Comment options

@keul
Comment options

Answer selected by Kludex
Comment options

You must be logged in to vote
7 replies
@andreped
Comment options

@HoagieFestDS
Comment options

@keul
Comment options

@HoagieFestDS
Comment options

@mattielang
Comment options

Comment options

You must be logged in to vote
1 reply
@Vvsmile
Comment options

Comment options

You must be logged in to vote
6 replies
@HoagieFestDS
Comment options

@kneuskens
Comment options

@HoagieFestDS
Comment options

@kneuskens
Comment options

@mcnewcp
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@a3131919
Comment options

@wanghaisheng
Comment options

Comment options

You must be logged in to vote
1 reply
@wanghaisheng
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Converted from issue

This discussion was converted from issue #9807 on July 05, 2023 10:01.