Using multiple Python version on Windows

Поділитися
Вставка
  • Опубліковано 20 жов 2024

КОМЕНТАРІ • 99

  • @artusuroda487
    @artusuroda487 2 роки тому +4

    A couple of weeks ago I was sorting python versions at my machine. VSCode hasn't seen a certain version. It took me an hour to fix it. If I only saw your video. 👍👍👍

    • @DidCoding
      @DidCoding  2 роки тому +2

      I feel your pain 😀 This is the exact reason why I put the video together.

  • @nikola7771
    @nikola7771 9 місяців тому +3

    I giggled ☺
    Very interesting way to add multiple versions of Python and control their usage. Thank you for your time and for the video.

  • @manasuniyal2897
    @manasuniyal2897 6 місяців тому +1

    It's actually the cleanest and clearest video on you tube on this topic. THANK YOU

  • @Gareth.W
    @Gareth.W Рік тому +3

    Cheers - succinct and useful. Have seen some horribly complicated videos so I'm glad I stumbled on this one.

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

      Glad you found it useful 🙌

  • @ananthakrishnank3208
    @ananthakrishnank3208 11 місяців тому +1

    Thanks! If someone still gets "python not recognized as an internal ...", just try to move those two paths all the way to the top in your "SYSTEM" path. That worked for me.

  • @shazam1334
    @shazam1334 7 місяців тому +2

    its rare to see some solutions actually work in utube... good vid

  • @LisandroDC
    @LisandroDC Рік тому +3

    I would like to have something much cleaner like "node package manager". But I have to say that your approach is really concise and works perfectly

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

      I tend to dockerise projects now and install the correct packages.

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

    Thanks. Much easier than other guides.

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

      Thank you. I’m glad you like it

  • @fishfuse02
    @fishfuse02 2 роки тому +1

    Thank You so so much. This helped me download the Sentence-transformers. You saved me

  • @JosephAgwuh-y8b
    @JosephAgwuh-y8b Рік тому +2

    wow., the best tutorial ever

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

    This will help me and another programmer a lot in version management. Thanks Bro

    • @DidCoding
      @DidCoding  Рік тому +1

      It’s simple but effective 👍
      Thanks for the feedback.

  • @azvasamusic7095
    @azvasamusic7095 2 роки тому +1

    thank you heavens and you... simple to the point and useful af

  • @suvrangshubarua7117
    @suvrangshubarua7117 2 роки тому +4

    Clear, Concise, Easy. Better than any other ones out there. Thank you :D

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

      Thanks for the feedback 👍

  • @Zeworkicz
    @Zeworkicz 10 місяців тому +1

    The life saviour! Thank you!

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

      No worries 🙌

  • @makinarosa
    @makinarosa Рік тому +1

    crispy clear technique.Thank 😊you

  • @joelprestonsmith
    @joelprestonsmith Рік тому +1

    What exactly did you do at 3:06? Screens start magically appearing. You clicked on something in the lower part of the screen. What was it! I'm loving the video so far. Just can't figure out how you went from the Console to those navigation panes. Thank you.

  • @sushantsawant6468
    @sushantsawant6468 Рік тому +1

    hello
    i have two python version 3.10 and 3.7.8, I want PY 3.7.8 on priority when I type PY on CMD for Machine learning.

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

      To do that you may need to install 3.7.8 followed by your secondary versions. Alternatively, you can use pyenv or fire up a basic docker container with the version you need 🙌

  • @begaxo
    @begaxo Рік тому +1

    You're a life saver, thank you!

  • @robo4827
    @robo4827 6 місяців тому +1

    Hey manh i tried this its not working when i install a new version of Python does the environment variables get added directly in ur environment variables path
    Cuz when i download i need to manually add the path in env variables and when i move it up yet no change it is showing me the 3.11 version only whereas i want to run 3.7 version
    what should i do can someone pls help out?

    • @DidCoding
      @DidCoding  6 місяців тому

      Morning,
      Dockerizing your project is an easy way to use multiple Python versions 👍

  • @narpwa
    @narpwa Рік тому +1

    Is there a way to run a python script in for example 3.7.3 and at the same time run another script in 3.8.2 on the same computer ?

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

      One option is to use Docker and run a python image. This will give you a local python version and a different one in Docker 👍

  • @JouLopes
    @JouLopes Рік тому +1

    When you edit the version of Python, you edit it in all your computer or just in the current folder?

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

      Sorry for the delay. It changes it across your machine.

  • @lohithasai8161
    @lohithasai8161 Рік тому +1

    There are no python files in the path but i have installed both 3.7 and 3. 11 version. What shld i do

    • @DidCoding
      @DidCoding  Рік тому +1

      You can add them manually 👍

  • @lumpymilktea
    @lumpymilktea Рік тому +1

    yeah this works, thanks for the guide

  • @vishaltrivedi540
    @vishaltrivedi540 2 роки тому +1

    Thanks!!! It was really helpful.

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

      Thanks for the feedback 👍

  • @saraheidari2642
    @saraheidari2642 4 місяці тому +1

    thanks it was helpful

  • @iiannRB
    @iiannRB Рік тому +1

    very clear , thanks

  • @levvillanueva9047
    @levvillanueva9047 Рік тому +1

    It should also be mentioned that if you're on you venv and you want to use a package that is already installed on the host, that package will use the kernel for the *first* python version you installed regardless of the PATH configuration. To avoid this, install those packages again on your venv. (Tested while using jupyterlab/jupyter-lab). I ran into this issue because I thought 'I will need jupyter for everything', I might as well install it on the host and not time and time again on the venv's. Turns out, you need to for maximum compatibility with the version of python you want to use.

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

      Thanks for the comment. When I recorded this it was an easy fix to a problem I faced when swapping between projects. I tend to use docker these days to containerise…

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

      sorry i didnt understand, so i have to install numpy pandas etc in all version of my python?

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

      ​@@abhinayasheva2860 Specifically for jupyter-lab, if you just use the host version and it's not compatible with what your other package needs, you should install jupyterlab again on that VENV
      Scenario
      -HOST COMPUTER, FIRST PYTHON INSTALLED IS 3.10
      -HOST COMPUTER HAS JupyterLab installed (version not imporant here)
      At this point, whenever you create a VENV, jupyter lab will be available for you to use and it will use the 3.10 kernel regardless if your PATH configuration (in windows)
      -We install Python 3.8
      -We change the PATH configuration so that python 3.8 is on top
      -We create a new VENV (python --version -> 3.8)
      -JupyterLab is available, however, it will use the Python 3.10 kernel regardless of your PATH config
      -Run pip install jupyterlab for this VENV
      -JupyterLab will now use python 3.8 (the correct kernel for this VENV)

  • @AlDamara-x8j
    @AlDamara-x8j Рік тому +1

    Thanks a lot for this tutorial!

    • @DidCoding
      @DidCoding  Рік тому +1

      No problem. Glad you found it useful.

    • @AlDamara-x8j
      @AlDamara-x8j Рік тому

      @@DidCoding By the way, do you have a similar video for Linux? Thanks again!

  • @lil_4118
    @lil_4118 Рік тому +1

    very helpful, thanks

  • @levvillanueva9047
    @levvillanueva9047 Рік тому +1

    For 'smart' people, these python developers sure know as much as Jon Snow

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

    I have problem , i need python2 with keras, tensorflow in order to knime , but i cant becase i have python vertion 3
    Can you help me?

    • @DidCoding
      @DidCoding  Рік тому +1

      Have you tried using docker with a python2 image?

  • @alananalyst7795
    @alananalyst7795 Рік тому +1

    that was helpful, thanks!

  • @sk74962
    @sk74962 6 місяців тому +1

    Thank you so much.

  • @abdelrhmantarek5950
    @abdelrhmantarek5950 8 місяців тому +1

    Thank You ❤

  • @jizzervirusreptikonski8756
    @jizzervirusreptikonski8756 Рік тому +2

    6:25 why it didn't register it?

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

      I put this video together a while ago so I’ll need to have a look.

  • @rahulkr2575
    @rahulkr2575 11 місяців тому +1

    By far simplest aay to use multiple versions.

  • @sk45293
    @sk45293 Рік тому +1

    This is great

  • @programmerlovers8071
    @programmerlovers8071 8 місяців тому +1

    Nice ❤❤

  • @MAS_BIRU_LAUT
    @MAS_BIRU_LAUT Рік тому +1

    thanks man

  • @skaruts
    @skaruts 2 роки тому +1

    I wonder if you can write a python script to switch the path order automatically... lol :)

  • @infinitylogic_ahmed
    @infinitylogic_ahmed Рік тому +1

    thank you

  • @JavierSalazar-i4f
    @JavierSalazar-i4f 3 місяці тому +1

    Not bad but great. I may use this craft method if nothing better appears

    • @DidCoding
      @DidCoding  3 місяці тому

      🙌

    • @JavierSalazar-i4f
      @JavierSalazar-i4f 3 місяці тому

      YES. It has worked!! Your solution solved my obstacles regarding "ECG-image-kit" project (hearth & health stuff by Alphanumerics Lab). That code requires Python 3.8.18 and I have switched from my usual 3.12.1 down to 3.8.10 (current release available).

  • @hairulls
    @hairulls Рік тому +1

    thanks bro,

  • @matiasvasquez7300
    @matiasvasquez7300 Рік тому +1

    grande pelao se te quiere

  • @jparks6544
    @jparks6544 8 місяців тому +1

    DO NOT DO WHAT THIS GUY SAYS. This is idiotic.

    • @DidCoding
      @DidCoding  8 місяців тому

      Thanks for your constructive criticism 😂

  • @doniherald7745
    @doniherald7745 Рік тому +1

    thank you