ImportError: cannot import name 'OptionalDependencyNotAvailable' from 'transformers.utils'
Author: chengyjonathan
Pull request: no
Labels: name: bug

### System Info

```shell
Cannot import any models from transformers

# Name                    Version                   Build  Channel
aiohttp                   3.8.1                    pypi_0    pypi
aiosignal                 1.2.0                    pypi_0    pypi
async-timeout             4.0.2                    pypi_0    pypi
attrs                     21.4.0                   pypi_0    pypi
bzip2                     1.0.8                he774522_0
ca-certificates           2022.4.26            haa95532_0
certifi                   2022.5.18.1     py310haa95532_0
charset-normalizer        2.0.12                   pypi_0    pypi
colorama                  0.4.4                    pypi_0    pypi
cudatoolkit               11.3.1               h59b6b97_2
datasets                  2.2.2                    pypi_0    pypi
dill                      0.3.4                    pypi_0    pypi
filelock                  3.7.0                    pypi_0    pypi
frozenlist                1.3.0                    pypi_0    pypi
fsspec                    2022.5.0                 pypi_0    pypi
huggingface-hub           0.7.0                    pypi_0    pypi
idna                      3.3                      pypi_0    pypi
libffi                    3.4.2                h604cdb4_1
multidict                 6.0.2                    pypi_0    pypi
multiprocess              0.70.12.2                pypi_0    pypi
numpy                     1.22.4                   pypi_0    pypi
openssl                   1.1.1o               h2bbff1b_0
packaging                 21.3                     pypi_0    pypi
pandas                    1.4.2                    pypi_0    pypi
pip                       21.2.4          py310haa95532_0
pyarrow                   8.0.0                    pypi_0    pypi
pyparsing                 3.0.9                    pypi_0    pypi
python                    3.10.4               hbb2ffb3_0
python-dateutil           2.8.2                    pypi_0    pypi
pytz                      2022.1                   pypi_0    pypi
pyyaml                    6.0                      pypi_0    pypi
regex                     2022.4.24                pypi_0    pypi
requests                  2.27.1                   pypi_0    pypi
responses                 0.18.0                   pypi_0    pypi
sentencepiece             0.1.96                   pypi_0    pypi
setuptools                61.2.0          py310haa95532_0
six                       1.16.0                   pypi_0    pypi
sqlite                    3.38.3               h2bbff1b_0
tk                        8.6.11               h2bbff1b_1
tokenizers                0.12.1                   pypi_0    pypi
torch                     1.11.0                   pypi_0    pypi
tqdm                      4.64.0                   pypi_0    pypi
transformers              4.19.2                   pypi_0    pypi
typing-extensions         4.2.0                    pypi_0    pypi
tzdata                    2022a                hda174b7_0
urllib3                   1.26.9                   pypi_0    pypi
vc                        14.2                 h21ff451_1
vs2015_runtime            14.27.29016          h5e58377_2
wheel                     0.37.1             pyhd3eb1b0_0
wincertstore              0.2             py310haa95532_2
xxhash                    3.0.0                    pypi_0    pypi
xz                        5.2.5                h8cc25b3_1
yarl                      1.7.2                    pypi_0    pypi
zlib                      1.2.12               h8cc25b3_2
```


### Who can help?

_No response_

### Information

- [ ] The official example scripts
- [ ] My own modified scripts

### Tasks

- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)

### Reproduction

1. from transformers import AutoTokenizer

### Expected behavior

```shell
Able to import without error.
```


Comments: