Wrong version of python

Hi everyone!

Im new to python and pycharm and trying to learn. I have installed anaconda and pycharm from anaconda navigator. When I start pycharm project I start it from anaconda environment. What I react on is that when I creat a new project from anaconda environment I start it as python version 3.10 which command prompt confirms is the current version.

However the interpreter keeps telling me its python 3.11 which is wrong and creates problems. How do I fix this?

 

Thanks in advance!

1

Hi, I assume the conda environment with python 3.10 is already created. So, please try creating a new interpreter in PyCharm, select "Conda environment | Existing environment", and point to your python 3.10 executable from the correct conda environment.

More info on interpreters: https://www.jetbrains.com/help/pycharm/configuring-python-interpreter.html 

If it doesn't work, could you please specify the path to your interpreter and it's "python -V" output?

0

I'm seeing the same thing. This appears to simply be a display issue only. The environment works in PyCharm. It is of course available through the Anaconda Prompt or Jupyter, etc.

Steps to reproduce:

1. Create environment in Anaconda Navigator. Specify python = 3.10

2. PyCharm > Conda environment > Existing environment.

note environment name in Python Interpreter -> Python 3.11 (new_env)

This is also displayed in the status bar at the lower right corner.

 

0

I reproduced the issue as well and reported it as https://youtrack.jetbrains.com/issue/PY-53178

Please follow and vote.

1

This appears to simply be a display issue only. The environment works in PyCharm.

I reproduced the issue as well and reported it as https://youtrack.jetbrains.com/issue/PY-53178/epayitonline.com

Please follow and vote.

voted for the Best!

1

请先登录再写评论。