GoogleCloudPlatform / GoogleCloudPlatform/training-data-analyst

`courses/data_analysis/lab2/python/install_packages.sh` fails

Open
#1,906 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
8.6k
Forks
6.1k
Avg merge
4h 44m
Merged PRs (30d)
2

Description

When I run `courses/data_analysis/lab2/python/install_packages.sh` (for example in Cloud Shell), it fails during apache-beam installation.

```
$ python3 --version
Python 3.9.2

$ sudo ./install_packages.sh

...

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.
╰─> numpy

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

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

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.