Could not import sentence_transformers python package.
Labels: name: auto:bug

### System Info

  ```
  langchain: latest as of yesterday
  M2 Pro
  16 GB
  Macosx
  
  Darwin UAVALOS-M-NR30 22.5.0 Darwin Kernel Version 22.5.0: Thu Jun  8 22:22:23 PDT 2023; root:xnu-8796.121.3~7/RELEASE_ARM64_T6020 arm64
  
  Python 3.10.10
  GNU Make 3.81
  Apple clang version 14.0.3 (clang-1403.0.22.14.1)
  
  ```


### Who can help?

@eyurtsev

### Information

- [ ] The official example notebooks/scripts
- [X] My own modified scripts

### Related Components

- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async

### Reproduction

Steps to repo.

1. Install latest requirement
2. Try to load the `gtr-t5-xxl` embedding model from file.

```
!pip uninstall llama-cpp-python -y
!CMAKE_ARGS="-DLLAMA_METAL=on" FORCE_CMAKE=1 pip install -U llama-cpp-python --no-cache-dir
!pip install 'llama-cpp-python[server]'

!pip install sentence_transformers
!pip install git+https://github.com/huggingface/peft.git
!pip install git+https://github.com/huggingface/transformers.git
!pip install -v datasets loralib sentencepiece 
!pip -v install bitsandbytes accelerate
!pip -v install langchain
!pip install scipy
!pip install xformers
!pip install langchain faiss-cpu
# needed to load git repo
!pip install GitPython 

!pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu

// not this is the latest repo cloned locally
from langchain.embeddings import HuggingFaceEmbeddings
embeddings = HuggingFaceEmbeddings(model_name='/Users/uavalos/Documents/gtr-t5-xxl')
```

### Expected behavior

* that it loads the embeddings just fine
* in fact, it was working a few days ago
* it stopped working after creating a new conda environment and reinstalling everything fresh
* if you look at the logs, it's looking for a module that's already installed. It's also failing to import the `google` module... i get the same error if i explicitly install that as well

Failure logs

```
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
File ~/miniconda3/envs/llama3/lib/python3.11/site-packages/langchain/embeddings/huggingface.py:51, in HuggingFaceEmbeddings.__init__(self, **kwargs)
     50 try:
---> 51     import sentence_transformers
     53 except ImportError as exc:

File ~/miniconda3/envs/llama3/lib/python3.11/site-packages/sentence_transformers/__init__.py:3
      2 __MODEL_HUB_ORGANIZATION__ = 'sentence-transformers'
----> 3 from .datasets import SentencesDataset, ParallelSentencesDataset
      4 from .LoggingHandler import LoggingHandler

File ~/miniconda3/envs/llama3/lib/python3.11/site-packages/sentence_transformers/datasets/__init__.py:3
      2 from .NoDuplicatesDataLoader import NoDuplicatesDataLoader
----> 3 from .ParallelSentencesDataset import ParallelSentencesDataset
      4 from .SentencesDataset import SentencesDataset

File ~/miniconda3/envs/llama3/lib/python3.11/site-packages/sentence_transformers/datasets/ParallelSentencesDataset.py:4
      3 import gzip
----> 4 from .. import SentenceTransformer
      5 from ..readers import InputExample

File ~/miniconda3/envs/llama3/lib/python3.11/site-packages/sentence_transformers/SentenceTransformer.py:11
     10 from numpy import ndarray
---> 11 import transformers
     12 from huggingface_hub import HfApi, HfFolder, Repository, hf_hub_url, cached_download

File ~/miniconda3/envs/llama3/lib/python3.11/site-packages/transformers/__init__.py:26
     25 # Check the dependencies satisfy the minimal versions required.
---> 26 from . import dependency_versions_check
     27 from .utils import (
     28     OptionalDependencyNotAvailable,
     29     _LazyModule,
   (...)
     42     logging,
     43 )

File ~/miniconda3/envs/llama3/lib/python3.11/site-packages/transformers/dependency_versions_check.py:16
     15 from .dependency_versions_table import deps
---> 16 from .utils.versions import require_version, require_version_core
     19 # define which module versions we always want to check at run time
     20 # (usually the ones defined in `install_requires` in setup.py)
     21 #
     22 # order specific notes:
     23 # - tqdm must be checked before tokenizers

File ~/miniconda3/envs/llama3/lib/python3.11/site-packages/transformers/utils/__init__.py:188
    186 else:
    187     # just to get the expected `No module named 'google.protobuf'` error
--> 188     from . import sentencepiece_model_pb2
    191 WEIGHTS_NAME = "pytorch_model.bin"

File ~/miniconda3/envs/llama3/lib/python3.11/site-packages/transformers/utils/sentencepiece_model_pb2.py:17
      1 # Generated by the protocol buffer compiler.  DO NOT EDIT!
      2 # source: sentencepiece_model.proto
      3 
   (...)
     15 # See the License for the specific language governing permissions and
     16 # limitations under the License.
---> 17 from google.protobuf import descriptor as _descriptor
     18 from google.protobuf import message as _message

ModuleNotFoundError: No module named 'google'

The above exception was the direct cause of the following exception:

ImportError                               Traceback (most recent call last)
Cell In[8], line 2
      1 from langchain.embeddings import HuggingFaceEmbeddings
----> 2 embeddings = HuggingFaceEmbeddings(model_name='/Users/uavalos/Documents/gtr-t5-xxl')

File ~/miniconda3/envs/llama3/lib/python3.11/site-packages/langchain/embeddings/huggingface.py:54, in HuggingFaceEmbeddings.__init__(self, **kwargs)
     51     import sentence_transformers
     53 except ImportError as exc:
---> 54     raise ImportError(
     55         "Could not import sentence_transformers python package. "
     56         "Please install it with `pip install sentence_transformers`."
     57     ) from exc
     59 self.client = sentence_transformers.SentenceTransformer(
     60     self.model_name, cache_folder=self.cache_folder, **self.model_kwargs
     61 )

ImportError: Could not import sentence_transformers python package. Please install it with `pip install sentence_transformers`.

```