# BERT Model Selector

**URL:** <https://forum.knime.com/t/bert-model-selector/28216>\
**Category:** Community Extensions\
**Tags:** redfield\
**Created:** [October 25, 2020, 2:04pm UTC](https://forum.knime.com/t/bert-model-selector/28216 "2020-10-25T14:04:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mfhilmi](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/m/d07c76/32.png) [@mfhilmi](https://forum.knime.com/u/mfhilmi)\
**Post date:** [October 25, 2020, 2:04pm UTC](https://forum.knime.com/t/bert-model-selector/28216/1 "2020-10-25T14:04:02Z")

</div>

Hi,

Need help. I got the following:

ERROR BERT Model Selector 0:171 Execute failed: An error occurred while trying to launch Python: Could not start Python kernel. Error during Python installation test: Library bert is missing.  
Library tensorflow\_hub is not properly installed. Details: module ‘tensorflow.python.pywrap\_tensorflow’ has no attribute ‘RegisterType’

when I execute the “BERT Model Selector” node. Any setup needed?

Thank you.

---

<div class="post-metadata">

**Author:** ![ipazin](https://forum-cdn.knime.com/user_avatar/forum.knime.com/ipazin/32/806_2.png) [@ipazin](https://forum.knime.com/u/ipazin)\
**Post date:** [October 27, 2020, 10:02am UTC](https://forum.knime.com/t/bert-model-selector/28216/2 "2020-10-27T10:02:02Z")

</div>

Hello @mfhilmi,

did you configured Python within KNIME? That is what is needed (actually TensorFlow 2 Python environment). See this section of TensorFlow integration guide:

> **[KNIME Deep Learning Integration Installation Guide](https://docs.knime.com/latest/deep_learning_installation_guide/index.html#tensorflow2-integration)**

Additionally check required Python packages within this workflow example:

> **[Sentiment Analysis with BERT extension by Redfield – redfield](https://hub.knime.com/redfield/spaces/Public/latest/BERT_Sentiment_Analysis_with_BERT_extension)**
>
> This workflow demonstrates how to do sentiment analysis with BERT extension for Knime by Redfield. The dataset used here consists of the first 10000 reviews in…

Br,  
Ivan

---

<div class="post-metadata">

**Author:** ![mfhilmi](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/m/d07c76/32.png) [@mfhilmi](https://forum.knime.com/u/mfhilmi)\
**Post date:** [October 28, 2020, 11:50am UTC](https://forum.knime.com/t/bert-model-selector/28216/3 "2020-10-28T11:50:44Z")

</div>

Ivan,

Appreciate your help. It is working now. Thanks

Faiz
