I have recently started using [PEP 484](https://www.python.org/dev/peps/pep-0484/) and [PEP 586](https://www.python.org/dev/peps/pep-0586/) to make my code clearer and more accessible. So far everything was ok, but when I wanted to use `Literal` from the package `typing` it appears it couldn't be imported.
What is the most surprising is that PyCharm isn't complaining at all for importing it or using it.

The code I want to use in the end is looking like that :

```py
SomeVar = TypeVar("SomeVar", Literal['choice1'], Literal['choice2'], someType)

```

It would be used in the cases where you can have a string to describe what you want or an already made solution e.g :

```py
def someFunc(my_var: SomeVar = 'choice1'):
    result = []
    if my_var == 'choice1':
        result.append(...)
    else:
        result = my_var
    return result

```

I use an Anaconda environment with Python 3.7.7.