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.
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
Question: I am running Stable Diffusion 1.5 on Automatic1111 which requires Python 3.10.6, nothing newer. I would also like to run LORA applications (add-ons to Stable Diffusion, 'SD'), but LORAs require newer versions of Python. Can I run two Pythons simultaneously, 3.10.6 for Automatic1111 and 3.10.10 for a LORA? If not, how can I get LORAs to enhance SD images?
@@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 :(
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?
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 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?
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.
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.
It's 11:49 pm now here in Brazil and this video saved me. Thank you very much! It worked just fine.
Absolutely love your content. Short, sweet, and to the point. Keep up the great work!
Great! I needed it few days ago. Glad that I've found your channel)
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.
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.
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
Question: I am running Stable Diffusion 1.5 on Automatic1111 which requires Python 3.10.6, nothing newer. I would also like to run LORA applications (add-ons to Stable Diffusion, 'SD'), but LORAs require newer versions of Python. Can I run two Pythons simultaneously, 3.10.6 for Automatic1111 and 3.10.10 for a LORA? If not, how can I get LORAs to enhance SD images?
Isn't it better to create a development container ?
@@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
Are you asking about venv?
You do this for all projects regardless of their sizes?
@@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 :(
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?
Pycharm already do that with venv files right ? Just with the command venv\Scripts\activate to navigate through virtual environments that you have
please zoom it, text size is very small
conda > all, but it cannot be used in enterprise anymore
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)
pyenv will let you switch the python versions easily like if you want to user an older version of python or the bleeding edge.
@@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?
PyEnv seems to do half of the job that Conda dose, why shall we use it?
Great find. However installation seems too heavy. Can you do a video on the installations as well?
is it a good alternative for conda ??
It's better than conda.
There is lots of issue with conda
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.
good video. PDM is also a good alternative
hy i love hiur content, please make some videos on design principles
thanks a lot for this video
Beacause i've some modules that are not compatible with the version of python great than 3.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
thanks a ton :)
"I Use Arch, btw"
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.
No. It's very useful.
You need to learn how to use pyenv like a Pro. It's your fault bro.
First Comment wooo
Sir, could you give the Github repo link ?
Just added it to the video description.
@@NeuralNine thanks...
Lifesaver