# Error when using pipeline library on offline mode

**URL:** <https://discuss.huggingface.co/t/error-when-using-pipeline-library-on-offline-mode/68526>\
**Category:** 🤗Transformers\
**Created:** [January 9, 2024, 2:42pm UTC](https://discuss.huggingface.co/t/error-when-using-pipeline-library-on-offline-mode/68526 "2024-01-09T14:42:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hafizhry](https://avatars.discourse-cdn.com/v4/letter/h/9de0a6/32.png) [@hafizhry](https://discuss.huggingface.co/u/hafizhry)\
**Post date:** [January 9, 2024, 2:42pm UTC](https://discuss.huggingface.co/t/error-when-using-pipeline-library-on-offline-mode/68526/1 "2024-01-09T14:42:29Z")

</div>

Hi,

I just started using the pipeline library to do zero shot classification. I’m trying to implement it inside an offline environment (with firewall), but when I try to run the pipeline library it gave me an error with message like this

> RuntimeError: Failed to import transformers.pipelines because of following error: No module named ‘google’

That error points out to more direct error with message like this

> No module named ‘google’ on “from google.protobuf import descriptor as \_descriptor”

Does this means that I need to install the protobuf? And is it safe to install it inside a firewalled environment?

Appreciate any help regarding this, thanks!
