Title: Add alternative to pip3 install of cargo lambda by Bryson14 · Pull Request #981 · aws/aws-lambda-rust-runtime · GitHub
Open Graph Title: Add alternative to pip3 install of cargo lambda by Bryson14 · Pull Request #981 · aws/aws-lambda-rust-runtime
X Title: Add alternative to pip3 install of cargo lambda by Bryson14 · Pull Request #981 · aws/aws-lambda-rust-runtime
Description: Another way to manage executable pip packages is with uv which has been very popular and helpful in the python community. 📬 *Issue #, if available:* Small issue, When running `pip3 install .....` it shows this error about system vs user installation: rror: externally-managed-environment × This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install. If you wish to install a non-Debian-packaged Python package, create a virtual environment using python3 -m venv path/to/venv. Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make sure you have python3-full installed. If you wish to install a non-Debian packaged Python application, it may be easiest to use pipx install xyz, which will manage a virtual environment for you. Make sure you have pipx installed. See /usr/share/doc/python3.12/README.venv for more information. ✍️ *Description of changes:* Experienced python users might already know that they can use `uv` to install and load python packages from pip as executable. But for those that don't know, adding this line can be a helpful alternative that doesn't show installation errors, reducing any friction to rust or python developers. 🔏 *By submitting this pull request* - [x] I confirm that I've ran `cargo +nightly fmt`. - [x] I confirm that I've ran `cargo clippy --fix`. - [x] I confirm that I've made a best effort attempt to update all relevant documentation. - [x] I confirm that my contribution is made under the terms of the Apache 2.0 license.
Open Graph Description: Another way to manage executable pip packages is with uv which has been very popular and helpful in the python community. 📬 *Issue #, if available:* Small issue, When running `pip3 install .....`...
X Description: Another way to manage executable pip packages is with uv which has been very popular and helpful in the python community. 📬 *Issue #, if available:* Small issue, When running `pip3 install .....`...
Opengraph URL: https://github.com/aws/aws-lambda-rust-runtime/pull/981
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:d233b426-9631-2495-dc5e-2cb0d2ea2a57 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 9C8C:3302AB:166B9F9:1CBA647:698BE43B |
| html-safe-nonce | c11fb9e838177b8391f7ff0c03862f2f16b7bbc9668a23ab7df9aee889038ca5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzhDOjMzMDJBQjoxNjZCOUY5OjFDQkE2NDc6Njk4QkU0M0IiLCJ2aXNpdG9yX2lkIjoiNjUyODI0ODA4MDA1OTA2NTQwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bbe8849d083c5ed22b82e631ddace27422cc92599e46d9d79228490ee630dea6 |
| hovercard-subject-tag | pull_request:2497128529 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/aws/aws-lambda-rust-runtime/pull/981/checks |
| twitter:image | https://avatars.githubusercontent.com/u/43580701?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/43580701?s=400&v=4 |
| og:image:alt | Another way to manage executable pip packages is with uv which has been very popular and helpful in the python community. 📬 *Issue #, if available:* Small issue, When running `pip3 install .....`... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 640eeb7b6ff4d8d106235d228c0c286e82592d4d2403227b5b2b4fc5832297a4 |
| turbo-cache-control | no-preview |
| go-import | github.com/aws/aws-lambda-rust-runtime git https://github.com/aws/aws-lambda-rust-runtime.git |
| octolytics-dimension-user_id | 2232217 |
| octolytics-dimension-user_login | aws |
| octolytics-dimension-repository_id | 156752158 |
| octolytics-dimension-repository_nwo | aws/aws-lambda-rust-runtime |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 156752158 |
| octolytics-dimension-repository_network_root_nwo | aws/aws-lambda-rust-runtime |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3d444f0a47beeeac94cddbb51c91ab408befe8d4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width