Getting Started With pyenv to Manage Multiple Python Versions

Поділитися
Вставка
  • Опубліковано 14 кві 2021
  • Have you ever wanted to contribute to a project that supports multiple versions of Python but aren’t sure how you would easily test all the versions? Are you ever curious about the latest and greatest versions of Python? Maybe you’d like to try out these new features, but you don’t want to worry about messing up your development environment.
    This is an advanced topic
    It assumes you know about terminal commands, and are excited by the idea of searching for answers if you run into stumbling blocks. If you are a beginner, this is not a topic to tackle until you have more experience.
    The original article mentioned in the video - realpython.com/intro-to-pyenv/
    The full course is here - realpython.com/courses/start-...

КОМЕНТАРІ • 23

  • @brianwoodruff1927
    @brianwoodruff1927 3 роки тому +54

    9:07 Is where he tells you how to install pyenv.

  • @user-or7ji5hv8y
    @user-or7ji5hv8y 3 роки тому +1

    How do we decide which version of Python to install? What does the asterisk mean next to the version number on the list of Python versions available for installation?

  • @user-or7ji5hv8y
    @user-or7ji5hv8y 3 роки тому

    How do you avoid issues with home brew for Mac users? As reflected when you run brew doctor.

  • @RebelPhoton
    @RebelPhoton 3 роки тому

    Thanks, the video and pyenv are great. Is there a recommended way to combine it with pipx without conflicts?

  • @bennguyen1313
    @bennguyen1313 Рік тому

    Is running the command-prompt as admin the same as using powershell?
    What happens if you already have multiple python versions already installed, before you've installed pyenv?
    I sometimes have to run a windows setup exe or a whl to install a specific python package.. (for example PyQt 5.4 can't be installed via pip), how would this work with pyenv/virtualenv?
    I'm actually only interested in building EXEs from 2 python versions.. Python 3.4.4 (32-bit for WinXP) and Python 3.11.1 (64-bit). Would it be easier in my case to just change the PATH whenever I want to switch between? What would pyenv/venv add?

  • @MasterSergius
    @MasterSergius 3 роки тому

    What if I don't want to add anything into my *rc files?

  • @user-or7ji5hv8y
    @user-or7ji5hv8y 3 роки тому +2

    This topic is very useful. Can you talk about Poetry in future video.

  • @jmreagle
    @jmreagle 3 роки тому +3

    When/where is the next video/part?

    • @Toksicboy
      @Toksicboy 3 роки тому

      I was wondering too... found it (sorta) realpython.com/lessons/installation-location/

  • @jeanpeuplu3862
    @jeanpeuplu3862 2 роки тому

    Thank you, I don't get why using pyenv when I use venv: one project = one virtual environment
    I don't get the difference

    • @OfficialMazLi
      @OfficialMazLi 10 місяців тому

      Pyenv is a python version control, you can control what version you run on your system and switch between different python versions

  • @MegaSysadm
    @MegaSysadm 3 роки тому +1

    Isn't virtualenv easier? Looks like you need to have sudo access on a host to use this one.

    • @BastiDevil80
      @BastiDevil80 3 роки тому +4

      virtualenv != pyenv. Virtualenv manages separate environments for the same Python version (or for the one active while creating it), pyenv handles different Python version and can be used in combination with virtualenv

    • @MegaSysadm
      @MegaSysadm 3 роки тому +1

      @@BastiDevil80 got it, thanks!

  • @vladepast4936
    @vladepast4936 Рік тому

    that's funny, kind of, 95% of the world uses Windows(you like it or not) but you do not have the course for windows... By the way, the video is great! Thank you

  • @grandparick3176
    @grandparick3176 Рік тому

    Kind of an off topic question, but can someone tell me how to make art/picturesl like the one they used on this videos thumbnail? I really seem to like these sort of pictures they make.