# Transformers installed, but cannot import

**URL:** <https://discuss.huggingface.co/t/transformers-installed-but-cannot-import/36102>\
**Category:** 🤗Transformers\
**Created:** [April 10, 2023, 8:46am UTC](https://discuss.huggingface.co/t/transformers-installed-but-cannot-import/36102 "2023-04-10T08:46:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex2032](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@Alex2032](https://discuss.huggingface.co/u/Alex2032)\
**Post date:** [April 10, 2023, 8:46am UTC](https://discuss.huggingface.co/t/transformers-installed-but-cannot-import/36102/1 "2023-04-10T08:46:13Z")

</div>

Tried pip3 and source methods to install transformer without popup error, pip3 show works, but the transformers hello test command cannot pass, when import transformers, it give error as below, any suggestion, thanks.

ModuleNotFoundError: No module named ‘transformers’

---

<div class="post-metadata">

**Author:** ![Alex2032](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@Alex2032](https://discuss.huggingface.co/u/Alex2032)\
**Post date:** [April 10, 2023, 9:43am UTC](https://discuss.huggingface.co/t/transformers-installed-but-cannot-import/36102/2 "2023-04-10T09:43:59Z")

</div>

After reinstall, ok.
