Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reportMissingModuleSource error "Import ... could not be resolved from Source" #7710

Closed
vsfeedback opened this issue Aug 29, 2023 · 2 comments

Comments

@vsfeedback
Copy link

This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/reportMissingModuleSource error-Import-/10447137).


I was using Visual Studio Code fine without any problems, but for academic purposes, I needed to pivot to Visual Studio 2022. When I installed it, if I run the developer Powershell or the Developer Command Prompt, I'm able to run my Python codes just as in VS Code. Even in the integrated Developer Powershell, I have no problems. But, in the Visual Studio Interface, IntelliSense is detecting that I don't have some modules, that I have installed on VS Code. I tried to find this similar problem online and it says it may be related to choosing a different Python interpreter, but I only have one available, and as I tried to confirm it, I thinks is exactly the same as the one in VS Code. I'm also not able to run my code via the play button on the startup Item in the VS 2022 interface.

Any idea how to fix this issue? Thanks in advance!


Original Comments

Feedback Bot on 8/22/2023, 07:31 PM:

(private comment, text removed)


Original Solutions

(no solutions)

@StellaHuang95
Copy link
Contributor

Hi there, thanks for the issue. Could you check if those packages are installed in your selected environment in VS? This also might be a duplicate of #7068.

@StellaHuang95
Copy link
Contributor

Going to close this out. If the issue still persists, please reopen with the information requested. Thanks.😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants