0

I using pycharm 2018.3.7 (beacuse I have a 32-bit pc) and i have python 3.8.5 when i am choosing the the interpreter python from appdata/local/programs/python, it is showing python 3.7 (in pycharm only) but when i use idle and other ide's they are showing python 3.8.5.

why is it so....?

please help me

KARS_017
  • 11
  • 1
  • 2
  • I'm guessing that PyCharm is pointing to a bundled interpreter. Go to project settings and point to the version you want. Why are you using a 3 year old version of PyCharm? It's 2021. – duffymo May 07 '21 at 11:22
  • i am using pycharm 2018.3.7 coz i have a 32-bit pc – KARS_017 May 07 '21 at 11:24
  • You should upgrade that, too – duffymo May 07 '21 at 11:49
  • Does this answer your question? [PyCharm reports wrong Python version](https://stackoverflow.com/questions/50528919/pycharm-reports-wrong-python-version) – bad_coder May 07 '21 at 18:21
  • 1
    Welcome to Stack Overflow. There are already [a number of threads on this](https://stackoverflow.com/search?q=%5Bpycharm%5D+wrong+version) try those and if none help edit the question to include more specific details. – bad_coder May 07 '21 at 18:22
  • @KARS_017 it can sometimes happen that PyCharm understands the version number of your Python installation wrong. What you want to do is 1º look at [Configure a Python interpreter](https://www.jetbrains.com/help/pycharm/configuring-python-interpreter.html). 2º Create a venv 3º understand how [to activate](https://docs.python.org/3/library/venv.html#creating-virtual-environments) the venv. 4º test the venv on [PyCharm terminal](https://www.jetbrains.com/help/pycharm/terminal-emulator.html) or if you're on community edition test in the OS terminal. – bad_coder May 09 '21 at 12:50
  • After the above is done, [check what Python version](https://stackoverflow.com/questions/8917885) that interpreter is. If PyCharm gets the version number wrong for some reason don't worry about it, as long as the above steps confirm the version. You are working with an outdated system, that makes bugs more likely. But in any case the above steps are the solid method and you need to know how to take them in any scenario. – bad_coder May 09 '21 at 12:51
  • If for some reason the PyCharm version is incompatible with the interpreter version (I'm not sure but that can happen). Check the JetBrains page to see what interpreter version are compatible with what IDE version. – bad_coder May 09 '21 at 12:54

0 Answers0