Title: If the working directory and the venv are on different disks, venv doesn't work in bash on Windows · Issue #103088 · python/cpython · GitHub
Open Graph Title: If the working directory and the venv are on different disks, venv doesn't work in bash on Windows · Issue #103088 · python/cpython
X Title: If the working directory and the venv are on different disks, venv doesn't work in bash on Windows · Issue #103088 · python/cpython
Description: Environment OS: Windows 10 Architecture: x86_64 Shell: bash 4.4.23, part of the git 2.37.0 install Python version: 3.11.1 Output of path/to/python -m pip list: Package Version ---------- ------- pip 23.0.1 setuptools 65.5.0 Issue When I ...
Open Graph Description: Environment OS: Windows 10 Architecture: x86_64 Shell: bash 4.4.23, part of the git 2.37.0 install Python version: 3.11.1 Output of path/to/python -m pip list: Package Version ---------- ------- pi...
X Description: Environment OS: Windows 10 Architecture: x86_64 Shell: bash 4.4.23, part of the git 2.37.0 install Python version: 3.11.1 Output of path/to/python -m pip list: Package Version ---------- ------- pi...
Opengraph URL: https://github.com/python/cpython/issues/103088
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"If the working directory and the venv are on different disks, venv doesn't work in bash on Windows","articleBody":"**Environment**\r\n\r\n- OS: Windows 10\r\n- Architecture: x86_64\r\n- Shell: bash 4.4.23, part of the git 2.37.0 install\r\n- Python version: 3.11.1\r\n- Output of `path/to/python -m pip list`:\r\n\r\n```console\r\nPackage Version\r\n---------- -------\r\npip 23.0.1\r\nsetuptools 65.5.0\r\n```\r\n\r\n**Issue**\r\n\r\nWhen I create a venv on D: and use it from C:, executables like pip or python can't be found:\r\n\r\n```console\r\n$ pwd\r\n/d\r\n$ /path/to/python -m venv myenv\r\n$ . myenv/Scripts/activate\r\n$ pip --version\r\npip 22.3.1 from D:\\myenv\\Lib\\site-packages\\pip (python 3.11)\r\n$ cd /c\r\n$ pip --version\r\nbash: \\myenv/Scripts/pip: No such file or directory\r\n```\r\n\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-103325\n* gh-103470\n* gh-103500\n* gh-103591\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/Zabolekar","@type":"Person","name":"Zabolekar"},"datePublished":"2023-03-28T15:33:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":25},"url":"https://github.com/103088/cpython/issues/103088"}
| 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:ca01e1f2-93de-40a8-9db9-2adc5612ba3e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DA82:8ADEB:F0BE34:14BB548:6969F649 |
| html-safe-nonce | 233dfc470d6ee78024a55617f74a1bec5fbc8e4b23cf15ed81782fff774c8147 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTgyOjhBREVCOkYwQkUzNDoxNEJCNTQ4OjY5NjlGNjQ5IiwidmlzaXRvcl9pZCI6IjU1NjQ4MDE4NTgwMzE3MTE4MTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f19617346f31b541cec4933c44357c448cd13d3832bb92db5b56710d583bc431 |
| hovercard-subject-tag | issue:1644208513 |
| 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/cpython/103088/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fa4b1f6c113b1975cfc8a851bc49f1e1c31e9185b8aaefdc1721ef08e309e7c0/python/cpython/issues/103088 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fa4b1f6c113b1975cfc8a851bc49f1e1c31e9185b8aaefdc1721ef08e309e7c0/python/cpython/issues/103088 |
| og:image:alt | Environment OS: Windows 10 Architecture: x86_64 Shell: bash 4.4.23, part of the git 2.37.0 install Python version: 3.11.1 Output of path/to/python -m pip list: Package Version ---------- ------- pi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Zabolekar |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| 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 | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width