Title: Installing via pip fails on Ubuntu 24 · Issue #122 · python-virtualenvwrapper/virtualenvwrapper · GitHub
Open Graph Title: Installing via pip fails on Ubuntu 24 · Issue #122 · python-virtualenvwrapper/virtualenvwrapper
X Title: Installing via pip fails on Ubuntu 24 · Issue #122 · python-virtualenvwrapper/virtualenvwrapper
Description: According to the installation instructions, one should run pip install virtualenvwrapper to install virtualenvwrapper. On Ubuntu 24 this fails due to the new managed env setup: error: externally-managed-environment × This environment is ...
Open Graph Description: According to the installation instructions, one should run pip install virtualenvwrapper to install virtualenvwrapper. On Ubuntu 24 this fails due to the new managed env setup: error: externally-ma...
X Description: According to the installation instructions, one should run pip install virtualenvwrapper to install virtualenvwrapper. On Ubuntu 24 this fails due to the new managed env setup: error: externally-ma...
Opengraph URL: https://github.com/python-virtualenvwrapper/virtualenvwrapper/issues/122
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Installing via pip fails on Ubuntu 24","articleBody":"According to the [installation instructions](https://virtualenvwrapper.readthedocs.io/en/latest/#introduction), one should run `pip install virtualenvwrapper` to install virtualenvwrapper.\n\nOn Ubuntu 24 this fails due to the new managed env setup:\n\n```\nerror: externally-managed-environment\n\n× This environment is externally managed\n╰─\u003e To install Python packages system-wide, try apt install\n python3-xyz, where xyz is the package you are trying to\n install.\n \n If you wish to install a non-Debian-packaged Python package,\n create a virtual environment using python3 -m venv path/to/venv.\n Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make\n sure you have python3-full installed.\n \n If you wish to install a non-Debian packaged Python application,\n it may be easiest to use pipx install xyz, which will manage a\n virtual environment for you. Make sure you have pipx installed.\n \n See /usr/share/doc/python3.12/README.venv for more information.\n\nnote: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.\nhint: See PEP 668 for the detailed specification.\n```\n\nMy current workaround is using the `sudo apt install python3-virtualenvwrapper` command instead.\n\nCan we add this to the Documentation somewhere? Maybe with a warning flag?","author":{"url":"https://github.com/SCrocky","@type":"Person","name":"SCrocky"},"datePublished":"2025-09-11T01:48:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/122/virtualenvwrapper/issues/122"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8687782d-7812-3a0d-a5e7-def89c7472ca |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A6E4:155BED:FD7527:15D2A24:696A9405 |
| html-safe-nonce | 1df4a6820f95c68fe0753563eeb24f6a7fa1ee49ab5e545521f2db29e27975fa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkU0OjE1NUJFRDpGRDc1Mjc6MTVEMkEyNDo2OTZBOTQwNSIsInZpc2l0b3JfaWQiOiI0NDI3NTUyNjI4OTU4NDY3MDc3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ff25236e07f8ebd1d6950431ef35e960327ad0a040502437447ec13ae21a4776 |
| hovercard-subject-tag | issue:3404439473 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/python-virtualenvwrapper/virtualenvwrapper/122/issue_layout |
| twitter:image | https://opengraph.githubassets.com/91b9ce39fc50437032ad83a0b8f4a000052601cd534ef6e95580e20aae48f1c8/python-virtualenvwrapper/virtualenvwrapper/issues/122 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/91b9ce39fc50437032ad83a0b8f4a000052601cd534ef6e95580e20aae48f1c8/python-virtualenvwrapper/virtualenvwrapper/issues/122 |
| og:image:alt | According to the installation instructions, one should run pip install virtualenvwrapper to install virtualenvwrapper. On Ubuntu 24 this fails due to the new managed env setup: error: externally-ma... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SCrocky |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4dd496afc954da9c207b2d9fbe86e3074619f565754aa1d9274aec30d9e5b8d7 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-virtualenvwrapper/virtualenvwrapper git https://github.com/python-virtualenvwrapper/virtualenvwrapper.git |
| octolytics-dimension-user_id | 122572748 |
| octolytics-dimension-user_login | python-virtualenvwrapper |
| octolytics-dimension-repository_id | 589228542 |
| octolytics-dimension-repository_nwo | python-virtualenvwrapper/virtualenvwrapper |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 589228542 |
| octolytics-dimension-repository_network_root_nwo | python-virtualenvwrapper/virtualenvwrapper |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 31496a13b80a2f6ad77d6c617ee2255a3545b539 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width