New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot install tensorflow_text in virtual environment of python 3.8 mac m1 #54369
Comments
Hi @mohantym Thanks a lot for your quick response! Unfortunately, still the same error. |
Hi @sijia-w ! Could you please post on Tensorflow-text repo ?Attaching relevant thread for reference. Thanks! |
Hi @mohantym, Sure! See tensorflow/text#837. Shall I close this issue? |
Ok @sijia-w ! Closing this issue here as it will be tracked in Tensorflow-text repo. Thanks! |
Hi @sijia-w ! |
@mohantym I used it in Google Colab. Is this issue re-opened automatically? Shall I close it? |
@sijia-w, Also the similar issue was already being tracked in the tensorflow-text repo for the same. tensorflow/text#823. Thank you! |
This issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Thank you. |
Closing as stale. Please reopen if you'd like to work on this further. |
I'm running into the same issue. I have a mac with M1. |
Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information
Describe the problem
To use the
xx_use_md
model, I started a virtualenv.I tried to load the model by
Then, I encountered the error:
Guided by the discussion here: #38597, I tried to install
tensorflow_text
in the virtualenv via pip3, but this raised another error:Additionally, I tried to load the model by
which raised the error
Then, I used the command
pip3 install https://github.com/MartinoMensio/spacy-universal-sentence-encoder-tfhub/releases/download/xx_use_md-0.2.1/xx_use_md-0.2.1.tar.gz#xx_use_md-0.2.1
on https://pypi.org/project/spacy-universal-sentence-encoder/0.2.1/ . Another error happened:It is impossible to use the 'xx_use_md' model by
import spacy
orimport spacy_universal_sentence_encoder
in the virtualenv. However, when I tried with the same code on Colab, similar errors occurred and were resolved by installing and importingtensowflow_text
.The text was updated successfully, but these errors were encountered: