Manage Multiple Python Versions with PyEnv

  Рет қаралды 18,296

NeuralNine

NeuralNine

9 ай бұрын

Today we learn how to manage multiple Python versions with PyEnv.
PyEnv: github.com/pyenv/pyenv
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚
🐍 The Python Bible Book: www.neuralnine.com/books/
💻 The Algorithm Bible Book: www.neuralnine.com/books/
👕 Programming Merch: www.neuralnine.com/shop
💼 Services 💼
💻 Freelancing & Tutoring: www.neuralnine.com/services
🌐 Social Media & Contact 🌐
📱 Website: www.neuralnine.com/
📷 Instagram: / neuralnine
🐦 Twitter: / neuralnine
🤵 LinkedIn: / neuralnine
📁 GitHub: github.com/NeuralNine
🎙 Discord: / discord

Пікірлер: 34
@DJ-rr7cj
@DJ-rr7cj 8 ай бұрын
Absolutely love your content. Short, sweet, and to the point. Keep up the great work!
@henriquealves9879
@henriquealves9879 4 ай бұрын
It's 11:49 pm now here in Brazil and this video saved me. Thank you very much! It worked just fine.
@jamesfraser7394
@jamesfraser7394 9 ай бұрын
Wow! Solved my tkinter problem and I learned how to easily switch python versions. As a python newbie I love this channel more then all the others.
@Ratmirsh
@Ratmirsh 9 ай бұрын
Great! I needed it few days ago. Glad that I've found your channel)
@JesseJuup
@JesseJuup 9 ай бұрын
PyEnv or Conda? A: PyEnv is primarily a Python version manager, whereas Conda is a more versatile tool that can manage Python environments along with dependencies for various programming languages. The choice between them depends on your specific needs and whether you require isolation of both Python versions and packages or just Python version management. You could also research Docker - while PyEnv and Conda are primarily used for managing Python environments and dependencies, Docker provides a broader solution for packaging and running applications, including Python-based ones, in containers. The choice of which tool to use depends on your specific use case and requirements.
@FabianBarajas
@FabianBarajas 9 ай бұрын
I thought `pyenv virtualenv` provided package isolation along with giving you the ability to also use a named virtualenv and python version which can be automatically loaded just by jumping into a project directory
@tpag20
@tpag20 9 ай бұрын
good video. PDM is also a good alternative
@pintokatendejonathan1740
@pintokatendejonathan1740 9 ай бұрын
thanks a lot for this video Beacause i've some modules that are not compatible with the version of python great than 3.9
@muhammadaneeqasif572
@muhammadaneeqasif572 9 ай бұрын
hy i love hiur content, please make some videos on design principles
@kannansingaravelu
@kannansingaravelu 9 ай бұрын
Great find. However installation seems too heavy. Can you do a video on the installations as well?
@mikemixsosa4264
@mikemixsosa4264 8 ай бұрын
Pycharm already do that with venv files right ? Just with the command venv\Scripts\activate to navigate through virtual environments that you have
@HousamAlamour
@HousamAlamour 3 ай бұрын
Lifesaver
@intelligenceservices
@intelligenceservices Ай бұрын
trying to use pyenv to set up an older version of python and using pip installs, but even though I'm supposedly in a venv, i'm getting the "error externally managed environment". i imagine this is because with pyenv, the shell doesn't know that i'm in a venv even though I've switched to that older version of python. presuming your linux system is up to date, I guess you should have seen this kind of error as well?
@alfykerolous1869
@alfykerolous1869 9 ай бұрын
dude can u plz do dap on vimspector debugger i canot debug c c++ or anyother anything on vim plz u r my vim hero
@u2sukumar
@u2sukumar 9 ай бұрын
please zoom it, text size is very small
@mai6666
@mai6666 9 ай бұрын
conda > all, but it cannot be used in enterprise anymore
@BokoMoko65
@BokoMoko65 9 ай бұрын
Isn't it better to create a development container ?
@BokoMoko65
@BokoMoko65 9 ай бұрын
@@oppenheimer11 Rapid deploy, insulation from the environment, no need to use pyenv. I'm just asking. I don't know if it works for things like pygame
@jakubedzior
@jakubedzior 9 ай бұрын
Are you asking about venv?
@stevenpham6734
@stevenpham6734 Ай бұрын
You do this for all projects regardless of their sizes?
@BokoMoko65
@BokoMoko65 Ай бұрын
@@stevenpham6734 Yes, I do. Whenever I have the chance. It's pretty easy using VS code and some extensions. Add git and you can have multiple versions of different environments. It's so cool. Unfortunately, it's useless if you're using AWS Lambda or Azure Functions :(
@bennguyen1313
@bennguyen1313 9 ай бұрын
Doesn't venv come standard with python, so what advantage of doing installing pyenv separately? I suppose I'm asking, what's the difference between venv / virtualenv and pyenv (not pyvenv ) with or without the virtualenv plugin (i.e. pyenv-virtualenv)
@vaulttectradingco8438
@vaulttectradingco8438 9 ай бұрын
pyenv will let you switch the python versions easily like if you want to user an older version of python or the bleeding edge.
@bennguyen1313
@bennguyen1313 7 ай бұрын
@@vaulttectradingco8438 So if I install different python versions using pyenv, and set the global flag to a specific version.. Then will this cause 'pip install modulename' to install only for that version of python or will it instead be useable for ALL installed python versions? If the latter, and if you want to install a module only for only one particular version of python, then you have to create a virtual environment?
@ahopefiend1867
@ahopefiend1867 Ай бұрын
There's a lot of stuff missing from this video. I followed these steps on two different raspberry pis with different results. It was a bunch of missing libraries.
@jmirodg7094
@jmirodg7094 9 ай бұрын
PyEnv seems to do half of the job that Conda dose, why shall we use it?
@ncsgames
@ncsgames 9 ай бұрын
is it a good alternative for conda ??
@DhavalAhir10
@DhavalAhir10 Ай бұрын
It's better than conda. There is lots of issue with conda
@jonakthakuria8508
@jonakthakuria8508 9 ай бұрын
First Comment wooo Sir, could you give the Github repo link ?
@NeuralNine
@NeuralNine 9 ай бұрын
Just added it to the video description.
@jonakthakuria8508
@jonakthakuria8508 9 ай бұрын
@@NeuralNine thanks...
@user-gh4lv2ub2j
@user-gh4lv2ub2j 9 ай бұрын
Do not reccommend. It destroyed many paths in windows for me and was very difficult to uninstall. It never worked 100% because of some interaction with pipenv. It's actually easiest to build every subversion from source and do a "sudo make altinstall" and mv the superverion to a subversion (i.e. mv python3.11 python3.11.5). Everything works this way until the end of time.
@DhavalAhir10
@DhavalAhir10 Ай бұрын
No. It's very useful. You need to learn how to use pyenv like a Pro. It's your fault bro.
Professional Dependency Management with Pipfiles
11:17
NeuralNine
Рет қаралды 12 М.
Professional Project & Dependency Management in Python
7:59
NeuralNine
Рет қаралды 38 М.
Red❤️+Green💚=
00:38
ISSEI / いっせい
Рет қаралды 32 МЛН
Survival skills: A great idea with duct tape #survival #lifehacks #camping
00:27
- А что в креме? - Это кАкАооо! #КондитерДети
00:24
Телеканал ПЯТНИЦА
Рет қаралды 6 МЛН
Who has won ?? 😀 #shortvideo #lizzyisaeva
00:24
Lizzy Isaeva
Рет қаралды 61 МЛН
Python install with pyenv on Mac
8:14
THETA 360 Developers
Рет қаралды 6 М.
Search every repo on github.com with `gh search` CLI
1:47
Clean New Projects with venv - Virtual Environments
8:11
NeuralNine
Рет қаралды 12 М.
GUI Applications For All Platforms with Flet in Python
11:08
NeuralNine
Рет қаралды 38 М.
Using the LLDB Debugger for C Programs - Part 1
7:43
Swift Programming Tutorial for Beginners (Full Tutorial)
3:22:45
CodeWithChris
Рет қаралды 7 МЛН
Automatically Fill Word Files with Python
14:35
NeuralNine
Рет қаралды 17 М.
Опять съемные крышки в смартфонах? #cmf
0:50
КРУТОЙ ТЕЛЕФОН
0:16
KINO KAIF
Рет қаралды 5 МЛН
iPhone socket cleaning #Fixit
0:30
Tamar DB (mt)
Рет қаралды 9 МЛН
ОБСЛУЖИЛИ САМЫЙ ГРЯЗНЫЙ ПК
1:00
VA-PC
Рет қаралды 1,8 МЛН
WATERPROOF RATED IP-69🌧️#oppo #oppof27pro#oppoindia
0:10
Fivestar Mobile
Рет қаралды 18 МЛН