Title: Unknown Python Environment in codespace/devcontainer · Issue #53 · microsoft/python-environment-tools · GitHub
Open Graph Title: Unknown Python Environment in codespace/devcontainer · Issue #53 · microsoft/python-environment-tools
X Title: Unknown Python Environment in codespace/devcontainer · Issue #53 · microsoft/python-environment-tools
Description: Testing microsoft/vscode-python#23675 Go to github.com/codespaces Pick Jupyter template Switch Codespace to use VS Code Insiders Switch Python to prerelease 2024-06-25 17:30:42.202 [info] Started Refreshing Environments 2024-06-25 17:30:...
Open Graph Description: Testing microsoft/vscode-python#23675 Go to github.com/codespaces Pick Jupyter template Switch Codespace to use VS Code Insiders Switch Python to prerelease 2024-06-25 17:30:42.202 [info] Started R...
X Description: Testing microsoft/vscode-python#23675 Go to github.com/codespaces Pick Jupyter template Switch Codespace to use VS Code Insiders Switch Python to prerelease 2024-06-25 17:30:42.202 [info] Started R...
Opengraph URL: https://github.com/microsoft/python-environment-tools/issues/53
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unknown Python Environment in codespace/devcontainer","articleBody":"Testing microsoft/vscode-python#23675\r\n\r\n- Go to github.com/codespaces\r\n- Pick Jupyter template\r\n- Switch Codespace to use VS Code Insiders\r\n- Switch Python to prerelease\r\n\r\n```\r\n2024-06-25 17:30:42.202 [info] Started Refreshing Environments\r\n2024-06-25 17:30:42.202 [error] Invalid state, ex (\"/usr/local/python/current/bin/python3\") is not in any of /bin, /usr/bin, /usr/local/bin\r\n2024-06-25 17:30:42.217 [warning] Unknown Env (\"/usr/local/python/current/bin/python3\") in Path resolved as ResolvedPythonEnv { executable: \"/usr/local/python/current/bin/python3\", prefix: \"/usr/local/python/current\", version: \"3.10.13.final.0\", is64_bit: true, symlink: None } and reported as Unknown\r\n2024-06-25 17:30:42.220 [info] Discovered env: /usr/local/python/current/bin/python3\r\n2024-06-25 17:30:42.358 [warning] Unknown Env (\"/home/codespace/.python/current/bin/python3\") in Path resolved as ResolvedPythonEnv { executable: \"/home/codespace/.python/current/bin/python3\", prefix: \"/home/codespace/.python/current\", version: \"3.10.13.final.0\", is64_bit: true, symlink: None } and reported as Unknown\r\n2024-06-25 17:30:42.364 [info] Discovered env: /home/codespace/.python/current/bin/python3\r\n2024-06-25 17:30:42.381 [error] Unable to find Conda Manager for the Conda env: CondaEnvironment { prefix: \"/opt/conda\", executable: Some(\"/opt/conda/bin/python\"), version: Some(\"3.12.3\"), conda_dir: None, arch: Some(X64) }\r\n2024-06-25 17:30:42.382 [error] Unable to find Conda Manager for env: CondaEnvironment { prefix: \"/opt/conda\", executable: Some(\"/opt/conda/bin/python\"), version: Some(\"3.12.3\"), conda_dir: None, arch: Some(X64) }\r\n2024-06-25 17:30:42.386 [error] Invalid state, ex (\"/usr/local/python/current/bin/python\") is not in any of /bin, /usr/bin, /usr/local/bin\r\n2024-06-25 17:30:42.388 [warning] Unknown Env (\"/usr/local/python/current/bin/python\") in Path resolved as ResolvedPythonEnv { executable: \"/usr/local/python/current/bin/python\", prefix: \"/usr/local/python/3.10.13\", version: \"3.10.13.final.0\", is64_bit: true, symlink: None } and reported as Unknown\r\n2024-06-25 17:30:42.388 [info] Discovered env: /usr/local/python/current/bin/python\r\n2024-06-25 17:30:42.808 [info] Discovered env: /opt/conda/bin/python\r\n2024-06-25 17:30:42.824 [error] Invalid state, ex (\"/home/codespace/.python/current/bin/python\") is not in any of /bin, /usr/bin, /usr/local/bin\r\n2024-06-25 17:30:42.826 [warning] Unknown Env (\"/home/codespace/.python/current/bin/python\") in Path resolved as ResolvedPythonEnv { executable: \"/home/codespace/.python/current/bin/python\", prefix: \"/usr/local/python/3.10.13\", version: \"3.10.13.final.0\", is64_bit: true, symlink: None } and reported as Unknown\r\n2024-06-25 17:30:42.827 [info] Discovered env: /home/codespace/.python/current/bin/python\r\n2024-06-25 17:30:42.827 [error] Invalid state, ex (\"/usr/local/python/current/bin/python3.10\") is not in any of /bin, /usr/bin, /usr/local/bin\r\n2024-06-25 17:30:42.828 [warning] Unknown Env (\"/usr/local/python/current/bin/python3.10\") in Path resolved as ResolvedPythonEnv { executable: \"/usr/local/python/current/bin/python3.10\", prefix: \"/usr/local/python/current\", version: \"3.10.13.final.0\", is64_bit: true, symlink: None } and reported as Unknown\r\n2024-06-25 17:30:42.828 [info] Discovered env: /usr/local/python/current/bin/python3.10\r\n2024-06-25 17:30:42.828 [warning] Unknown Env (\"/home/codespace/.python/current/bin/python3.10\") in Path resolved as ResolvedPythonEnv { executable: \"/home/codespace/.python/current/bin/python3.10\", prefix: \"/home/codespace/.python/current\", version: \"3.10.13.final.0\", is64_bit: true, symlink: None } and reported as Unknown\r\n2024-06-25 17:30:42.828 [info] Discovered env: /home/codespace/.python/current/bin/python3.10\r\n2024-06-25 17:30:42.829 [info] Discovered env: /bin/python3\r\n2024-06-25 17:30:42.829 [info] Locator VirtualEnvWrapper took 7.474µs\r\n2024-06-25 17:30:42.830 [info] Locator LinuxGlobalPython took 340ns\r\n2024-06-25 17:30:42.830 [info] Locator VirtualEnv took 271ns\r\n2024-06-25 17:30:42.830 [info] Locator PipEnv took 160ns\r\n2024-06-25 17:30:42.830 [info] Locator PyEnv took 1.479827ms\r\n2024-06-25 17:30:42.830 [info] Locator Conda took 100.675839ms\r\n2024-06-25 17:30:42.831 [info] Locator Venv took 150ns\r\n2024-06-25 17:30:42.831 [info] Locator Poetry took 3.905787ms\r\n2024-06-25 17:30:42.831 [info] Locator Homebrew took 832.338µs\r\n2024-06-25 17:30:42.831 [info] Environments found using locators in 102.61904ms\r\n2024-06-25 17:30:42.831 [info] Environments in PATH found in 590.153623ms\r\n2024-06-25 17:30:42.831 [info] Environments in global virtual env paths found in 481.598µs\r\n2024-06-25 17:30:43.241 [info] Environments in custom search paths found in 4.646347ms\r\n2024-06-25 17:30:43.249 [info] Refresh completed in 590ms\r\n2024-06-25 17:31:27.877 [info] Unknown Python Environment category 'global-paths' from Native Locator.\r\n2024-06-25 17:31:27.880 [info] Unknown Python Environment category 'linux-global' from Native Locator.\r\n```\r\n\r\nwhat I got from the legacy locator\r\n\r\n\u003cimg width=\"643\" alt=\"image\" src=\"https://github.com/user-attachments/assets/7eb65b95-f59a-4ea3-a6cb-3892feecd2aa\"\u003e\r\n","author":{"url":"https://github.com/rebornix","@type":"Person","name":"rebornix"},"datePublished":"2024-06-25T17:34:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/53/python-environment-tools/issues/53"}
| 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:cf40b538-68d3-7334-1f96-b25d3b24f002 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 982E:18F0F4:3AD598:4D5665:6A518176 |
| html-safe-nonce | 18d1dae14ede1c35564c5de81c11894279f09a9e9a751f53aa3465ff2c54724d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODJFOjE4RjBGNDozQUQ1OTg6NEQ1NjY1OjZBNTE4MTc2IiwidmlzaXRvcl9pZCI6Ijg2NDIyMzA5OTYwNDgxMTgxMzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f4c47c46e2c0b193a5eaa2fef18d9611e9ac8ef7a4180460d58b918d338888a9 |
| hovercard-subject-tag | issue:2373847554 |
| 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/microsoft/python-environment-tools/53/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8b59679182b0035270ff643914c6f39123a2f2ce3392946b5d59b292fe09e731/microsoft/python-environment-tools/issues/53 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8b59679182b0035270ff643914c6f39123a2f2ce3392946b5d59b292fe09e731/microsoft/python-environment-tools/issues/53 |
| og:image:alt | Testing microsoft/vscode-python#23675 Go to github.com/codespaces Pick Jupyter template Switch Codespace to use VS Code Insiders Switch Python to prerelease 2024-06-25 17:30:42.202 [info] Started R... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rebornix |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/python-environment-tools git https://github.com/microsoft/python-environment-tools.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 808419207 |
| octolytics-dimension-repository_nwo | microsoft/python-environment-tools |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 808419207 |
| octolytics-dimension-repository_network_root_nwo | microsoft/python-environment-tools |
| 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 | d01c62704ef24df49056c63892a149b775e1353d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width