#๐Ÿ”’ 3.12.1 packages being instaled in 3.9

10 messages ยท Page 1 of 1 (latest)

summer cliff
#

I included a screenshot. Any idea if I have the right interpreter selected its still trying to instal the packages in to the old one? Thanks

fluid crystalBOT
#

@summer cliff

Python help channel opened

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.

hardy hound
#

and check what the output is

storm berry
# summer cliff I included a screenshot. Any idea if I have the right interpreter selected its s...

The interpreter you have selected in VSCode has little to do with the system interpreter, which is what is invoked in Powershell there.

That said, given that you're invoking with python, it may be that Python 3.9 is aliased to python but 3.12 is not.

You can remove 3.9 if you don't need it, or you can try py -0 which should return Python 3.12 as your default interpreter (identifiable by an asterisk next to the version) and install packages via py -m pip install requests instead of python -m pip install requests.

#

If you wish to be explicit, py -3.12 -m pip install requests will allow you to install to a specific Windows Installer managed Python version.

summer cliff
summer cliff
#

!close

fluid crystalBOT
#
Python help channel closed

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.