#๐ cmd can find module but vs code cant find module
17 messages ยท Page 1 of 1 (latest)
@mossy anchor
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
do two things:
- in the command window, re-run python, but this time invoke it like
py -m pip --version. Note the pathname of the folder that it prints out - in VSC, hit Control+Shift+P, then type "python interpreter", and examine the list of executables that it shows you; pick the one that most-closely resembles the pathname from the first step
that should do it
I don't use Windows or VSC, so this is all from memory
I can't explain why you have them, but it's a common problem
They might have left "uninstaller" executables around
In general, you should delete a version of python the same way you originally installed it -- but if you can't remember how you installed it, you're screwed. This drives me nuts.
okay thanks <3 take care of yourself@somber dove
๐
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.