Learn the powerful enterprise adaptable database:

Getting Started With ADABAS & Natural

Friday, October 14, 2022

Solution To Knime Error (ERROR BERT Model Selector 3:15 Execute failed)

Error Message:

ERROR BERT Model Selector 3:15 Execute failed: An error occurred while trying to launch Python: Could not start Python. There are problems with your Python environment: Library bert is missing.



Solution:

This could be due to certain required libraries missing/not-installed-yet.

Refer the guide in (https://www.knime.com/blog/bert-text-classification-for-everyone#Installation) that says that the following libraries need to be installed into the related Python environment.

For example, if your Python environment is managed by Anaconda/Conda, run Cmd/Terminal window from Anaconda/Conda navigator window as follows:


The full list of required modules are as follows:

bert==2.2.0

bert-for-tf2==0.14.4

Keras-Preprocessing==1.1.2

numpy==1.19.1

pandas==0.23.4

pyarrow==0.11.1

tensorboard==2.2.2

tensorboard-plugin-wit==1.7.0

tensorflow==2.2.0

tensorflow-estimator==2.2.0

tensorflow-hub==0.8.0

tokenizers==0.7.0

tqdm==4.48.0

transformers==3.0.2

.





No comments:

Post a Comment