awesome-python-backend icon indicating copy to clipboard operation
awesome-python-backend copied to clipboard

Should a newcomer start working with pyenv or spesifics python installation?

Open IamTugy opened this issue 2 years ago • 2 comments

I think it's better to start with pyenv at the beginning, it super easy to set up (3 commands) and it will reduce the issues this person will have in the future, even if he doesn't need more then one version at the beginning

IamTugy avatar Feb 06 '23 14:02 IamTugy

I'm reading the docs and I see it doesn't work officially on Windows, and there's a fork for that. Is it something you use with Linux/Mac only or Windows as well?

Eldar1205 avatar Feb 06 '23 18:02 Eldar1205

@IamTugy Before we can recommend pyenv right from the beginning, I have some questions:

  1. How is it integrated into IDEs (PyCharm/VS Code) for choosing correct Python version? Do they support pyenv out of the box?
  2. How is it integration to Python native virtual envs support? If I use pyenv will I need to use virtual envs differently or it as witout pyenv?
  3. How is it integrated into Poetry? If I use pyenv will I have trouble or more difficulty using Poetry to manage my virtual envs and the Python versions used by each Poetry project?
  4. Is there anything else that needs to be handled/managed/maintained/operated differently due to using pyenv, or is it truly a complete extension that only adds and doesn't change anything that can be done when not using pyenv?
  5. Are any of the answers above change when considering Python on Windows?

I'm asking these questions based on your experience since if pyenv creates some limitations, then depending on those limitations it might not be correct to propose Python newcomers to start from pyenv not understanding the consequences yet.

Thank you!

Eldar1205 avatar Feb 06 '23 23:02 Eldar1205