René's URL Explorer Experiment


Title: Unresolved Import · Issue #5563 · microsoft/vscode-python · GitHub

Open Graph Title: Unresolved Import · Issue #5563 · microsoft/vscode-python

X Title: Unresolved Import · Issue #5563 · microsoft/vscode-python

Description: Environment data VS Code version: 1.33.1 Extension version (available under the Extensions sidebar): 2019.4.12954 OS and version: Windows_NT x64 10.0.17134 Python version (& distribution if applicable, e.g. Anaconda): 2.7.11 64-bit Expec...

Open Graph Description: Environment data VS Code version: 1.33.1 Extension version (available under the Extensions sidebar): 2019.4.12954 OS and version: Windows_NT x64 10.0.17134 Python version (& distribution if applica...

X Description: Environment data VS Code version: 1.33.1 Extension version (available under the Extensions sidebar): 2019.4.12954 OS and version: Windows_NT x64 10.0.17134 Python version (& distribution if app...

Opengraph URL: https://github.com/microsoft/vscode-python/issues/5563

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unresolved Import","articleBody":"## Environment data\r\n\r\n- VS Code version: 1.33.1\r\n- Extension version (available under the Extensions sidebar): 2019.4.12954\r\n- OS and version: Windows_NT x64 10.0.17134\r\n- Python version (& distribution if applicable, e.g. Anaconda): 2.7.11 64-bit\r\n\r\n## Expected behaviour\r\n\r\nWith `python.autoComplete.extraPaths` set correctly, modules should import without issue.\r\n\r\n## Actual behaviour\r\n\r\nI receive a `Unresolved import 'moduleName'` when using syntax of the form\r\n`import workspace_folder.module as alt_name`\r\n_and_ if the .code-workspace file is in the same directory.\r\ne.g.\r\n![Code_2019-05-06_15-24-33](https://user-images.githubusercontent.com/1378483/57228023-16293680-7013-11e9-8a18-1f19ce5f6dac.png)\r\n\r\n## Steps to reproduce:\r\n1. Extract the following to a suitable location:\r\n[myLib.zip](https://github.com/Microsoft/vscode-python/files/3148114/myLib.zip)\r\n2. Inside myLib, open the Import_Bug.code-workspace file\r\n3. Go to workspace settings and change the `python.autoComplete.extraPaths` to the folder containing myLib.\r\n4. open libFunctions.py and see that `import myLib.importMe as im` has an unresolved import error.\r\n\r\nI am aware that the organization of this workspace is sub-optimal, with the code-workspace file being inside the python library folder. However, with all paths being set correctly, the import should still succeed.\r\n\r\n## Logs\r\nOutput for `Python` in the `Output` panel (`View`→`Output`, change the drop-down the upper-right of the `Output` panel to `Python`)\r\n\r\nBlank.\r\n\r\nOutput from `Console` under the `Developer Tools` panel (toggle Developer Tools on under `Help`; turn on source maps to make any tracebacks be useful by running `Enable source map support for extension debugging`)\r\n\r\nBlank.\r\n","author":{"url":"https://github.com/Anti-Distinctlyminty","@type":"Person","name":"Anti-Distinctlyminty"},"datePublished":"2019-05-06T13:37:42Z","url":"https://github.com/microsoft/vscode-python/issues/5563"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:7356f60f-0f0a-dc97-061b-ca49da138c09
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE5B8:3786C9:2D7E45:3B5056:6AFE5C18
html-safe-nonce0059d03cfce7ce5a02ae4ed529eb37d750dad533511cf05034dd52fecdc7bce1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUI4OjM3ODZDOToyRDdFNDU6M0I1MDU2OjZBRkU1QzE4IiwidmlzaXRvcl9pZCI6IjM1OTQzODQwNTY1MTY1MDA1MDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacffb90c43f31fc0cc280e05ef1440618309ba8faed0aa1fa1382cd6f1d906b8d0
hovercard-subject-tagissue:440704182
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/vscode-python/5563/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a53ca1a34c4f68d9e6f0f390c3731d80de47552ddcfbf8198d8de4b8f6116467/microsoft/vscode-python/issues/5563
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a53ca1a34c4f68d9e6f0f390c3731d80de47552ddcfbf8198d8de4b8f6116467/microsoft/vscode-python/issues/5563
og:image:altEnvironment data VS Code version: 1.33.1 Extension version (available under the Extensions sidebar): 2019.4.12954 OS and version: Windows_NT x64 10.0.17134 Python version (& distribution if applica...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAnti-Distinctlyminty
hostnamegithub.com
expected-hostnamegithub.com
Noneb3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86
turbo-cache-controlno-preview
go-importgithub.com/microsoft/vscode-python git https://github.com/microsoft/vscode-python.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id106462765
octolytics-dimension-repository_nwomicrosoft/vscode-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id49946255
octolytics-dimension-repository_parent_nwoDonJayamanne/pythonVSCode
octolytics-dimension-repository_network_root_id49946255
octolytics-dimension-repository_network_root_nwoDonJayamanne/pythonVSCode
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4a10310af51a1bfffbedc4fd81cb582acf0cb0ff
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/vscode-python/issues/5563#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode-python%2Fissues%2F5563
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode-python%2Fissues%2F5563
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2Fvscode-python
Reloadhttps://github.com/microsoft/vscode-python/issues/5563
Reloadhttps://github.com/microsoft/vscode-python/issues/5563
Reloadhttps://github.com/microsoft/vscode-python/issues/5563
microsofthttps://github.com/microsoft
vscode-pythonhttps://github.com/microsoft/vscode-python
Codehttps://github.com/microsoft/vscode-python
Issues344 (344)https://github.com/microsoft/vscode-python/issues
Pull requests54 (54)https://github.com/microsoft/vscode-python/pulls
Discussionshttps://github.com/microsoft/vscode-python/discussions
Actionshttps://github.com/microsoft/vscode-python/actions
Wikihttps://github.com/microsoft/vscode-python/wiki
Security and quality2 (2)https://github.com/microsoft/vscode-python/security
Insightshttps://github.com/microsoft/vscode-python/insights
https://github.com/microsoft/vscode-python
New issuehttps://github.com/login?return_to=https://github.com/microsoft/vscode-python/issues/5563
New issuehttps://github.com/login?return_to=https://github.com/microsoft/vscode-python/issues/5563
Unresolved Importhttps://github.com/microsoft/vscode-python/issues/5563#top
https://github.com/Anti-Distinctlyminty
Anti-Distinctlymintyhttps://github.com/Anti-Distinctlyminty
on May 6, 2019https://github.com/microsoft/vscode-python/issues/5563#issue-440704182
https://user-images.githubusercontent.com/1378483/57228023-16293680-7013-11e9-8a18-1f19ce5f6dac.png
myLib.ziphttps://github.com/Microsoft/vscode-python/files/3148114/myLib.zip
triage-neededNeeds assignment to the proper sub-teamhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22triage-needed%22
on May 6, 2019https://github.com/microsoft/vscode-python/issues/5563#event-2321000537
Luciana Abud (luabud)https://github.com/luabud
completedhttps://github.com/microsoft/vscode-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on May 9, 2019https://github.com/microsoft/vscode-python/issues/5563#event-2331024465
https://github.com/luabud
Luciana Abud (luabud)https://github.com/luabud
on May 9, 2019https://github.com/microsoft/vscode-python/issues/5563#issuecomment-491006896
microsoft/python-language-server #1060https://github.com/microsoft/python-language-server/issues/1060
ZenHubhttps://www.zenhub.com/
triage-neededNeeds assignment to the proper sub-teamhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22triage-needed%22
on May 9, 2019https://github.com/microsoft/vscode-python/issues/5563#event-2331024527
https://github.com/AlexanderSher
Alexander Sher (AlexanderSher)https://github.com/AlexanderSher
on May 9, 2019https://github.com/microsoft/vscode-python/issues/5563#issuecomment-491034542
https://www.python.org/dev/peps/pep-0008/#package-and-module-nameshttps://www.python.org/dev/peps/pep-0008/#package-and-module-names
lockhttps://github.com/apps/lock
on Jun 2, 2019https://github.com/microsoft/vscode-python/issues/5563#event-2383136644
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/vscode-python/issues/5563
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/vscode-python/issues/5563
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.