google-research / scenic

Scenic: A Jax Library for Computer Vision Research and Beyond
Apache License 2.0
3.32k stars 434 forks source link

Unable to install environment #470

Closed Soldelli closed 1 year ago

Soldelli commented 2 years ago

I am unable to install the environment through pip install . Follows the error trace:


Building wheels for collected packages: scenic
  Building wheel for scenic (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [247 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build/lib/scenic
      copying scenic/app.py -> build/lib/scenic
      copying scenic/__init__.py -> build/lib/scenic
      copying scenic/main.py -> build/lib/scenic
      copying scenic/main_deprecated.py -> build/lib/scenic
      creating build/lib/scenic/projects
      copying scenic/projects/__init__.py -> build/lib/scenic/projects
      creating build/lib/scenic/train_lib
      copying scenic/train_lib/trainers.py -> build/lib/scenic/train_lib
      copying scenic/train_lib/optimizers.py -> build/lib/scenic/train_lib
      copying scenic/train_lib/train_utils.py -> build/lib/scenic/train_lib
      copying scenic/train_lib/lr_schedules.py -> build/lib/scenic/train_lib
      copying scenic/train_lib/__init__.py -> build/lib/scenic/train_lib
      copying scenic/train_lib/classification_trainer.py -> build/lib/scenic/train_lib
      copying scenic/train_lib/pretrain_utils.py -> build/lib/scenic/train_lib
      copying scenic/train_lib/optax.py -> build/lib/scenic/train_lib
      creating build/lib/scenic/model_lib
      copying scenic/model_lib/models.py -> build/lib/scenic/model_lib
      copying scenic/model_lib/__init__.py -> build/lib/scenic/model_lib
      creating build/lib/scenic/train_lib_deprecated
      copying scenic/train_lib_deprecated/segmentation_trainer.py -> build/lib/scenic/train_lib_deprecated
      copying scenic/train_lib_deprecated/trainers.py -> build/lib/scenic/train_lib_deprecated
      copying scenic/train_lib_deprecated/optimizers.py -> build/lib/scenic/train_lib_deprecated
      copying scenic/train_lib_deprecated/train_utils.py -> build/lib/scenic/train_lib_deprecated
      copying scenic/train_lib_deprecated/lr_schedules.py -> build/lib/scenic/train_lib_deprecated
      copying scenic/train_lib_deprecated/__init__.py -> build/lib/scenic/train_lib_deprecated
      copying scenic/train_lib_deprecated/classification_trainer.py -> build/lib/scenic/train_lib_deprecated
      copying scenic/train_lib_deprecated/pretrain_utils.py -> build/lib/scenic/train_lib_deprecated
      creating build/lib/scenic/common_lib
      copying scenic/common_lib/video_utils.py -> build/lib/scenic/common_lib
      copying scenic/common_lib/common_utils.py -> build/lib/scenic/common_lib
      copying scenic/common_lib/__init__.py -> build/lib/scenic/common_lib
      copying scenic/common_lib/debug_utils.py -> build/lib/scenic/common_lib
      copying scenic/common_lib/export_utils.py -> build/lib/scenic/common_lib
      copying scenic/common_lib/image_utils.py -> build/lib/scenic/common_lib
      creating build/lib/scenic/dataset_lib
      copying scenic/dataset_lib/cifar10_dataset.py -> build/lib/scenic/dataset_lib
      copying scenic/dataset_lib/video_ops.py -> build/lib/scenic/dataset_lib
      copying scenic/dataset_lib/fashion_mnist_dataset.py -> build/lib/scenic/dataset_lib
      copying scenic/dataset_lib/cityscapes_dataset.py -> build/lib/scenic/dataset_lib
      copying scenic/dataset_lib/dataset_utils.py -> build/lib/scenic/dataset_lib
      copying scenic/dataset_lib/oxford_pets_dataset.py -> build/lib/scenic/dataset_lib
      copying scenic/dataset_lib/bair_dataset.py -> build/lib/scenic/dataset_lib
      copying scenic/dataset_lib/__init__.py -> build/lib/scenic/dataset_lib
      copying scenic/dataset_lib/svhn_dataset.py -> build/lib/scenic/dataset_lib
      copying scenic/dataset_lib/mnist_dataset.py -> build/lib/scenic/dataset_lib
      copying scenic/dataset_lib/datasets.py -> build/lib/scenic/dataset_lib
      copying scenic/dataset_lib/imagenet_dataset.py -> build/lib/scenic/dataset_lib
      creating build/lib/scenic/projects/owl_vit
      copying scenic/projects/owl_vit/layers.py -> build/lib/scenic/projects/owl_vit
      copying scenic/projects/owl_vit/models.py -> build/lib/scenic/projects/owl_vit
      copying scenic/projects/owl_vit/utils.py -> build/lib/scenic/projects/owl_vit
      copying scenic/projects/owl_vit/__init__.py -> build/lib/scenic/projects/owl_vit
      creating build/lib/scenic/projects/omninet
      copying scenic/projects/omninet/model_utils.py -> build/lib/scenic/projects/omninet
      copying scenic/projects/omninet/model.py -> build/lib/scenic/projects/omninet
      copying scenic/projects/omninet/__init__.py -> build/lib/scenic/projects/omninet
      copying scenic/projects/omninet/main.py -> build/lib/scenic/projects/omninet
      creating build/lib/scenic/projects/svvit
      copying scenic/projects/svvit/inference.py -> build/lib/scenic/projects/svvit
      copying scenic/projects/svvit/__init__.py -> build/lib/scenic/projects/svvit
      copying scenic/projects/svvit/vit.py -> build/lib/scenic/projects/svvit
      copying scenic/projects/svvit/classification_trainer.py -> build/lib/scenic/projects/svvit
      copying scenic/projects/svvit/xvit.py -> build/lib/scenic/projects/svvit
      copying scenic/projects/svvit/main.py -> build/lib/scenic/projects/svvit
      copying scenic/projects/svvit/transfer_trainer.py -> build/lib/scenic/projects/svvit
      copying scenic/projects/svvit/metrics.py -> build/lib/scenic/projects/svvit
      creating build/lib/scenic/projects/fast_vit
      copying scenic/projects/fast_vit/model_utils.py -> build/lib/scenic/projects/fast_vit
      copying scenic/projects/fast_vit/__init__.py -> build/lib/scenic/projects/fast_vit
      copying scenic/projects/fast_vit/xvit.py -> build/lib/scenic/projects/fast_vit
      copying scenic/projects/fast_vit/main.py -> build/lib/scenic/projects/fast_vit
      creating build/lib/scenic/projects/baselines
      copying scenic/projects/baselines/simple_cnn.py -> build/lib/scenic/projects/baselines
      copying scenic/projects/baselines/unet.py -> build/lib/scenic/projects/baselines
      copying scenic/projects/baselines/mixer.py -> build/lib/scenic/projects/baselines
      copying scenic/projects/baselines/resnet.py -> build/lib/scenic/projects/baselines
      copying scenic/projects/baselines/hybrid_vit.py -> build/lib/scenic/projects/baselines
      copying scenic/projects/baselines/__init__.py -> build/lib/scenic/projects/baselines
      copying scenic/projects/baselines/vit.py -> build/lib/scenic/projects/baselines
      copying scenic/projects/baselines/fully_connected.py -> build/lib/scenic/projects/baselines
      copying scenic/projects/baselines/bit_resnet.py -> build/lib/scenic/projects/baselines
      copying scenic/projects/baselines/axial_resnet.py -> build/lib/scenic/projects/baselines
      creating build/lib/scenic/projects/owl_vit/tests
      copying scenic/projects/owl_vit/tests/models_test.py -> build/lib/scenic/projects/owl_vit/tests
      copying scenic/projects/owl_vit/tests/__init__.py -> build/lib/scenic/projects/owl_vit/tests
      copying scenic/projects/owl_vit/tests/utils_test.py -> build/lib/scenic/projects/owl_vit/tests
      copying scenic/projects/owl_vit/tests/layers_test.py -> build/lib/scenic/projects/owl_vit/tests
      creating build/lib/scenic/projects/owl_vit/clip
      copying scenic/projects/owl_vit/clip/tokenizer.py -> build/lib/scenic/projects/owl_vit/clip
      copying scenic/projects/owl_vit/clip/model.py -> build/lib/scenic/projects/owl_vit/clip
      copying scenic/projects/owl_vit/clip/layers.py -> build/lib/scenic/projects/owl_vit/clip
      copying scenic/projects/owl_vit/clip/__init__.py -> build/lib/scenic/projects/owl_vit/clip
      creating build/lib/scenic/projects/owl_vit/configs
      copying scenic/projects/owl_vit/configs/clip_l14.py -> build/lib/scenic/projects/owl_vit/configs
      copying scenic/projects/owl_vit/configs/clip_b32.py -> build/lib/scenic/projects/owl_vit/configs
      copying scenic/projects/owl_vit/configs/__init__.py -> build/lib/scenic/projects/owl_vit/configs
      copying scenic/projects/owl_vit/configs/clip_b16.py -> build/lib/scenic/projects/owl_vit/configs
      creating build/lib/scenic/projects/owl_vit/notebooks
      copying scenic/projects/owl_vit/notebooks/interactive.py -> build/lib/scenic/projects/owl_vit/notebooks
      copying scenic/projects/owl_vit/notebooks/numpy_cache.py -> build/lib/scenic/projects/owl_vit/notebooks
      copying scenic/projects/owl_vit/notebooks/inference.py -> build/lib/scenic/projects/owl_vit/notebooks
      copying scenic/projects/owl_vit/notebooks/plotting.py -> build/lib/scenic/projects/owl_vit/notebooks
      copying scenic/projects/owl_vit/notebooks/__init__.py -> build/lib/scenic/projects/owl_vit/notebooks
      creating build/lib/scenic/projects/omninet/tests
      copying scenic/projects/omninet/tests/__init__.py -> build/lib/scenic/projects/omninet/tests
      copying scenic/projects/omninet/tests/test_model.py -> build/lib/scenic/projects/omninet/tests
      creating build/lib/scenic/projects/svvit/tests
      copying scenic/projects/svvit/tests/__init__.py -> build/lib/scenic/projects/svvit/tests
      copying scenic/projects/svvit/tests/metrics_test.py -> build/lib/scenic/projects/svvit/tests
      creating build/lib/scenic/projects/fast_vit/tests
      copying scenic/projects/fast_vit/tests/test_model_utils.py -> build/lib/scenic/projects/fast_vit/tests
      copying scenic/projects/fast_vit/tests/__init__.py -> build/lib/scenic/projects/fast_vit/tests
      creating build/lib/scenic/projects/baselines/tests
      copying scenic/projects/baselines/tests/test_vit.py -> build/lib/scenic/projects/baselines/tests
      copying scenic/projects/baselines/tests/__init__.py -> build/lib/scenic/projects/baselines/tests
      copying scenic/projects/baselines/tests/test_axial_resnet.py -> build/lib/scenic/projects/baselines/tests
      copying scenic/projects/baselines/tests/test_mixer.py -> build/lib/scenic/projects/baselines/tests
      copying scenic/projects/baselines/tests/test_unet.py -> build/lib/scenic/projects/baselines/tests
      creating build/lib/scenic/projects/baselines/clip
      copying scenic/projects/baselines/clip/tokenizer.py -> build/lib/scenic/projects/baselines/clip
      copying scenic/projects/baselines/clip/model.py -> build/lib/scenic/projects/baselines/clip
      copying scenic/projects/baselines/clip/layers.py -> build/lib/scenic/projects/baselines/clip
      copying scenic/projects/baselines/clip/__init__.py -> build/lib/scenic/projects/baselines/clip
      copying scenic/projects/baselines/clip/download.py -> build/lib/scenic/projects/baselines/clip
      creating build/lib/scenic/projects/baselines/bert
      copying scenic/projects/baselines/bert/model.py -> build/lib/scenic/projects/baselines/bert
      copying scenic/projects/baselines/bert/bert_base_model.py -> build/lib/scenic/projects/baselines/bert
      copying scenic/projects/baselines/bert/train_utils.py -> build/lib/scenic/projects/baselines/bert
      copying scenic/projects/baselines/bert/layers.py -> build/lib/scenic/projects/baselines/bert
      copying scenic/projects/baselines/bert/trainer.py -> build/lib/scenic/projects/baselines/bert
      copying scenic/projects/baselines/bert/__init__.py -> build/lib/scenic/projects/baselines/bert
      copying scenic/projects/baselines/bert/main.py -> build/lib/scenic/projects/baselines/bert
      creating build/lib/scenic/projects/baselines/detr
      copying scenic/projects/baselines/detr/model.py -> build/lib/scenic/projects/baselines/detr
      copying scenic/projects/baselines/detr/train_utils.py -> build/lib/scenic/projects/baselines/detr
      copying scenic/projects/baselines/detr/trainer.py -> build/lib/scenic/projects/baselines/detr
      copying scenic/projects/baselines/detr/input_pipeline_detection.py -> build/lib/scenic/projects/baselines/detr
      copying scenic/projects/baselines/detr/detr_base_model.py -> build/lib/scenic/projects/baselines/detr
      copying scenic/projects/baselines/detr/__init__.py -> build/lib/scenic/projects/baselines/detr
      copying scenic/projects/baselines/detr/main.py -> build/lib/scenic/projects/baselines/detr
      copying scenic/projects/baselines/detr/transforms.py -> build/lib/scenic/projects/baselines/detr
      creating build/lib/scenic/projects/baselines/bert/datasets
      copying scenic/projects/baselines/bert/datasets/bert_glue_dataset.py -> build/lib/scenic/projects/baselines/bert/datasets
      copying scenic/projects/baselines/bert/datasets/__init__.py -> build/lib/scenic/projects/baselines/bert/datasets
      copying scenic/projects/baselines/bert/datasets/bert_wikibooks_dataset.py -> build/lib/scenic/projects/baselines/bert/datasets
      creating build/lib/scenic/projects/baselines/detr/tests
      copying scenic/projects/baselines/detr/tests/test_util.py -> build/lib/scenic/projects/baselines/detr/tests
      copying scenic/projects/baselines/detr/tests/test_detr_base_model.py -> build/lib/scenic/projects/baselines/detr/tests
      copying scenic/projects/baselines/detr/tests/__init__.py -> build/lib/scenic/projects/baselines/detr/tests
      copying scenic/projects/baselines/detr/tests/test_train_utils.py -> build/lib/scenic/projects/baselines/detr/tests
      copying scenic/projects/baselines/detr/tests/test_datasets.py -> build/lib/scenic/projects/baselines/detr/tests
      copying scenic/projects/baselines/detr/tests/test_model.py -> build/lib/scenic/projects/baselines/detr/tests
      copying scenic/projects/baselines/detr/tests/test_transforms.py -> build/lib/scenic/projects/baselines/detr/tests
      creating build/lib/scenic/train_lib/tests
      copying scenic/train_lib/tests/test_classification_trainer.py -> build/lib/scenic/train_lib/tests
      copying scenic/train_lib/tests/test_lr_schedules.py -> build/lib/scenic/train_lib/tests
      copying scenic/train_lib/tests/__init__.py -> build/lib/scenic/train_lib/tests
      copying scenic/train_lib/tests/test_optax.py -> build/lib/scenic/train_lib/tests
      copying scenic/train_lib/tests/test_optimizers.py -> build/lib/scenic/train_lib/tests
      creating build/lib/scenic/model_lib/layers
      copying scenic/model_lib/layers/attention_layers.py -> build/lib/scenic/model_lib/layers
      copying scenic/model_lib/layers/nn_layers.py -> build/lib/scenic/model_lib/layers
      copying scenic/model_lib/layers/__init__.py -> build/lib/scenic/model_lib/layers
      copying scenic/model_lib/layers/masked_layers.py -> build/lib/scenic/model_lib/layers
      copying scenic/model_lib/layers/nn_ops.py -> build/lib/scenic/model_lib/layers
      creating build/lib/scenic/model_lib/tests
      copying scenic/model_lib/tests/test_models.py -> build/lib/scenic/model_lib/tests
      copying scenic/model_lib/tests/__init__.py -> build/lib/scenic/model_lib/tests
      creating build/lib/scenic/model_lib/base_models
      copying scenic/model_lib/base_models/model_utils.py -> build/lib/scenic/model_lib/base_models
      copying scenic/model_lib/base_models/base_model.py -> build/lib/scenic/model_lib/base_models
      copying scenic/model_lib/base_models/classification_model.py -> build/lib/scenic/model_lib/base_models
      copying scenic/model_lib/base_models/segmentation_model.py -> build/lib/scenic/model_lib/base_models
      copying scenic/model_lib/base_models/encoder_decoder_model.py -> build/lib/scenic/model_lib/base_models
      copying scenic/model_lib/base_models/multilabel_classification_model.py -> build/lib/scenic/model_lib/base_models
      copying scenic/model_lib/base_models/__init__.py -> build/lib/scenic/model_lib/base_models
      copying scenic/model_lib/base_models/regression_model.py -> build/lib/scenic/model_lib/base_models
      copying scenic/model_lib/base_models/box_utils.py -> build/lib/scenic/model_lib/base_models
      creating build/lib/scenic/model_lib/matchers
      copying scenic/model_lib/matchers/hungarian.py -> build/lib/scenic/model_lib/matchers
      copying scenic/model_lib/matchers/greedy.py -> build/lib/scenic/model_lib/matchers
      copying scenic/model_lib/matchers/lazy.py -> build/lib/scenic/model_lib/matchers
      copying scenic/model_lib/matchers/hungarian_jax.py -> build/lib/scenic/model_lib/matchers
      copying scenic/model_lib/matchers/__init__.py -> build/lib/scenic/model_lib/matchers
      copying scenic/model_lib/matchers/common.py -> build/lib/scenic/model_lib/matchers
      copying scenic/model_lib/matchers/sinkhorn.py -> build/lib/scenic/model_lib/matchers
      copying scenic/model_lib/matchers/hungarian_cover.py -> build/lib/scenic/model_lib/matchers
      creating build/lib/scenic/model_lib/layers/tests
      copying scenic/model_lib/layers/tests/test_masked_layers.py -> build/lib/scenic/model_lib/layers/tests
      copying scenic/model_lib/layers/tests/test_attention_layers.py -> build/lib/scenic/model_lib/layers/tests
      copying scenic/model_lib/layers/tests/test_nn_ops.py -> build/lib/scenic/model_lib/layers/tests
      copying scenic/model_lib/layers/tests/__init__.py -> build/lib/scenic/model_lib/layers/tests
      copying scenic/model_lib/layers/tests/test_nn_layers.py -> build/lib/scenic/model_lib/layers/tests
      creating build/lib/scenic/model_lib/base_models/tests
      copying scenic/model_lib/base_models/tests/test_encoder_decoder_model.py -> build/lib/scenic/model_lib/base_models/tests
      copying scenic/model_lib/base_models/tests/test_model_utils.py -> build/lib/scenic/model_lib/base_models/tests
      copying scenic/model_lib/base_models/tests/test_segmentation_model.py -> build/lib/scenic/model_lib/base_models/tests
      copying scenic/model_lib/base_models/tests/test_multilabel_classification_model.py -> build/lib/scenic/model_lib/base_models/tests
      copying scenic/model_lib/base_models/tests/__init__.py -> build/lib/scenic/model_lib/base_models/tests
      copying scenic/model_lib/base_models/tests/test_regression_model.py -> build/lib/scenic/model_lib/base_models/tests
      copying scenic/model_lib/base_models/tests/test_classification_model.py -> build/lib/scenic/model_lib/base_models/tests
      copying scenic/model_lib/base_models/tests/test_box_utils.py -> build/lib/scenic/model_lib/base_models/tests
      creating build/lib/scenic/model_lib/matchers/tests
      copying scenic/model_lib/matchers/tests/__init__.py -> build/lib/scenic/model_lib/matchers/tests
      copying scenic/model_lib/matchers/tests/test_matchers.py -> build/lib/scenic/model_lib/matchers/tests
      creating build/lib/scenic/train_lib_deprecated/tests
      copying scenic/train_lib_deprecated/tests/test_lr_schedules.py -> build/lib/scenic/train_lib_deprecated/tests
      copying scenic/train_lib_deprecated/tests/test_segmentation_trainer.py -> build/lib/scenic/train_lib_deprecated/tests
      copying scenic/train_lib_deprecated/tests/__init__.py -> build/lib/scenic/train_lib_deprecated/tests
      creating build/lib/scenic/common_lib/tests
      copying scenic/common_lib/tests/test_common_utils.py -> build/lib/scenic/common_lib/tests
      copying scenic/common_lib/tests/test_debug_utils.py -> build/lib/scenic/common_lib/tests
      copying scenic/common_lib/tests/__init__.py -> build/lib/scenic/common_lib/tests
      copying scenic/common_lib/tests/test_video_utils.py -> build/lib/scenic/common_lib/tests
      copying scenic/common_lib/tests/test_image_utils.py -> build/lib/scenic/common_lib/tests
      creating build/lib/scenic/dataset_lib/tests
      copying scenic/dataset_lib/tests/test_dataset_utils.py -> build/lib/scenic/dataset_lib/tests
      copying scenic/dataset_lib/tests/__init__.py -> build/lib/scenic/dataset_lib/tests
      creating build/lib/scenic/dataset_lib/big_transfer
      copying scenic/dataset_lib/big_transfer/builder.py -> build/lib/scenic/dataset_lib/big_transfer
      copying scenic/dataset_lib/big_transfer/registry.py -> build/lib/scenic/dataset_lib/big_transfer
      copying scenic/dataset_lib/big_transfer/__init__.py -> build/lib/scenic/dataset_lib/big_transfer
      copying scenic/dataset_lib/big_transfer/bit.py -> build/lib/scenic/dataset_lib/big_transfer
      creating build/lib/scenic/dataset_lib/coco_dataset
      copying scenic/dataset_lib/coco_dataset/coco_utils.py -> build/lib/scenic/dataset_lib/coco_dataset
      copying scenic/dataset_lib/coco_dataset/__init__.py -> build/lib/scenic/dataset_lib/coco_dataset
      copying scenic/dataset_lib/coco_dataset/coco_eval.py -> build/lib/scenic/dataset_lib/coco_dataset
      creating build/lib/scenic/dataset_lib/big_transfer/preprocessing
      copying scenic/dataset_lib/big_transfer/preprocessing/autoaugment.py -> build/lib/scenic/dataset_lib/big_transfer/preprocessing
      copying scenic/dataset_lib/big_transfer/preprocessing/utils.py -> build/lib/scenic/dataset_lib/big_transfer/preprocessing
      copying scenic/dataset_lib/big_transfer/preprocessing/__init__.py -> build/lib/scenic/dataset_lib/big_transfer/preprocessing
      copying scenic/dataset_lib/big_transfer/preprocessing/vtab_ops.py -> build/lib/scenic/dataset_lib/big_transfer/preprocessing
      copying scenic/dataset_lib/big_transfer/preprocessing/ops.py -> build/lib/scenic/dataset_lib/big_transfer/preprocessing
      creating build/lib/scenic/dataset_lib/coco_dataset/tests
      copying scenic/dataset_lib/coco_dataset/tests/test_coco_utils.py -> build/lib/scenic/dataset_lib/coco_dataset/tests
      copying scenic/dataset_lib/coco_dataset/tests/__init__.py -> build/lib/scenic/dataset_lib/coco_dataset/tests
      running egg_info
      writing manifest file 'scenic.egg-info/SOURCES.txt'
      /home/CORP/m.soldan/.local/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      running install
      running simclr_download
      error: HTTP Error 400: Bad Request
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for scenic
  Running setup.py clean for scenic
Failed to build scenic
Installing collected packages: scenic
  Running setup.py install for scenic ... error
  error: subprocess-exited-with-error

  × Running setup.py install for scenic did not run successfully.
  │ exit code: 1
  ╰─> [5 lines of output]
      running install
      /home/CORP/m.soldan/.local/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      running simclr_download
      error: HTTP Error 400: Bad Request
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> scenic

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
` ` ` 

Kindly let me know how to solve this issue. 
mjlm commented 2 years ago

I see error: HTTP Error 400: Bad Request, could this be some connectivity or firewall issue? Maybe just try again?

shay1bz commented 2 years ago

+1 Running behind corp proxy, getting 502 on the same spot. http_proxy properly set.

StonePanda commented 1 year ago

Hello, have u resolve this problem ? I have met a smilar one which get "error: [Errno socket error] [Errno 111] Connection refused", and still have no idea how to resolve it.

mjlm commented 1 year ago

I don't have a specific solution but general advice: The setup and code needs to download some data files, e.g. some components for SimCLR, CLIP tokenizer vocabulary files, and possibly others. Looking at the error posted above, the issue is in simclr_download. So I would start looking there for debugging. If you search the Scenic code for this term, you will find that it is used in setup.py: https://github.com/google-research/scenic/search?q=simclr_download

If you don't use SimCLR, you can probably just comment out the part where it is downloaded. Otherwise, you may be able to download the files manually, save them under a local path, and hard-code that path into setup.py.