google-research / google-research/language
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
- Dominant language
- Python
- Stars
- 1.8k
- Forks
- 362
- PR merge metrics
- No merged PRs in 30d
Description
When I am installing BERT Baseline for NQ I have the following error:
my command in colab: `!pip install bert-tensorflow natural-questions`
output:
Collecting bert-tensorflow
Using cached https://files.pythonhosted.org/packages/20/16/0f9376af49c6adcfbaf2470a8f500105a74dd803aa54ac0110af445837b5/bert_tensorflow-1.0.4-py2.py3-none-any.whl
Collecting natural-questions
Using cached https://files.pythonhosted.org/packages/d5/d7/020da0200e8129c0ae7a1da998c7ff84dd2f3a4660711b2aa39286c67f85/natural_questions-1.0.4-py2.py3-none-any.whl
Requirement already satisfied: six in /usr/local/lib/python3.6/dist-packages (from bert-tensorflow) (1.15.0)
Requirement already satisfied: tornado in /usr/local/lib/python3.6/dist-packages (from natural-questions) (5.1.1)
Requirement already satisfied: jinja2 in /usr/local/lib/python3.6/dist-packages (from natural-questions) (2.11.2)
Requirement already satisfied: absl-py in /usr/local/lib/python3.6/dist-packages (from natural-questions) (0.10.0)
Collecting wsgiref
Using cached https://files.pythonhosted.org/packages/41/9e/309259ce8dff8c596e8c26df86dbc4e848b9249fd36797fd60be456f03fc/wsgiref-0.1.2.zip
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
After I run : ` !gsutil cp -R gs://bert-nq/bert-joint-baseline . ` and here is no,
but this command also gives me error :
```
%%bash
python -m language.question_answering.bert_joint.run_nq \
--logtostderr \
--bert_config_file=bert-joint-baseline/bert_config.json \
--vocab_file=bert-joint-baseline/vocab-nq.txt \
--predict_file=tiny-dev/nq-dev-sample.no-annot.jsonl.gz \
--init_checkpoint=bert-joint-baseline/bert_joint.ckpt \
--do_predict \
--output_dir=bert_model_output \
--output_prediction_file=bert_model_output/predictions.json
```
output:/usr/bin/python3: Error while finding module specification for 'language.question_answering.bert_joint.run_nq' (ModuleNotFoundError: No module named 'language')
What is the problem?
Contributor guide
Assessment
This issue has not been assessed yet.