Skip to content
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

Missing pip and python3-venv for default python3 in jammy kubernetes images #560

Open
Trevor-Reid opened this issue Jun 9, 2023 · 0 comments
Labels
bug Something isn't working workbench Specific to workbench images

Comments

@Trevor-Reid
Copy link
Contributor

For Kubernetes image rstudio/r-session-complete-preview:dev-jammy-2023.06.0-421.pro1 the default python3 is missing many modules that we use in the Workbench QA Automation tests.

The default python3 can no longer call venv or pip

$ python3 -m pip install test
/bin/python3: No module named pip
$ python3 -m venv .venv
The virtual environment was not created successfully because ensurepip is not
available.  On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.

    apt install python3.10-venv

You may need to use sudo with that command.  After installing the python3-venv
package, recreate your virtual environment.

Failing command: ['/mnt/home/rich/.venv/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']

For Workbench QA Automation, this is used in our KubernetesUbuntu environment launched via fuzzbucket

@Trevor-Reid Trevor-Reid added the bug Something isn't working label Jun 9, 2023
@colearendt colearendt added the workbench Specific to workbench images label Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working workbench Specific to workbench images
Projects
None yet
Development

No branches or pull requests

2 participants