How to Use Different Python Version in VirtualEnv (2023)

Поделиться
HTML-код
  • Опубликовано: 3 фев 2025

Комментарии • 26

  • @TheCodeCity
    @TheCodeCity  2 месяца назад

    Video helped? Consider buying me a coffee so that I can continue making free helpful videos: www.buymeacoffee.com/thecodecity 🙏

  • @muirhead111
    @muirhead111 Год назад +1

    Holy moly! Thank you! That pythonX command was what I needed. Legend. Thank you.

    • @TheCodeCity
      @TheCodeCity  Год назад +1

      You're welcome! glad it helped :)

    • @muirhead111
      @muirhead111 Год назад

      @@TheCodeCity It helped greatly, I was able to get Stable Diffusion working. Thank you.

  • @aravindhanhbk2686
    @aravindhanhbk2686 11 месяцев назад +2

    When I use python --version, I can only see 3.12 after change the path not able to locate 3.7 what to do

  • @MuhammedInzamam-k6w
    @MuhammedInzamam-k6w Год назад +2

    It did not work for me:
    command: python38 -m venv myenv
    I updated the environment variables and verified that its saved
    I am getting the following error:
    Error: [WinError 2] The system cannot find the file specified

    • @TheCodeCity
      @TheCodeCity  Год назад

      Looks like the path of python.exe file is wrong

    • @MuhammedInzamam-k6w
      @MuhammedInzamam-k6w Год назад

      @@TheCodeCity Hi I used the following command: virtualenv -p venv ,to create the virtual environment with the desired version of python, so my issue is resolved

    • @ggg9gg
      @ggg9gg Год назад

      does not workfor me@@MuhammedInzamam-k6w

    • @TheCodeCity
      @TheCodeCity  11 месяцев назад

      great! @@MuhammedInzamam-k6w

    • @prnv26
      @prnv26 11 месяцев назад

      @@MuhammedInzamam-k6w i am getting access denied error

  • @himanshuatri3232
    @himanshuatri3232 2 месяца назад

    so the command python30 --version works fine and gives the correct version of python but the command python30 -m venv myenv gives the following error:
    Error: [WinError 2] The system cannot find the file specified
    how to fix this?

  • @natthaphobnimpitiwan7935
    @natthaphobnimpitiwan7935 4 месяца назад

    Didn't work for me..

  • @OboblhyvobovVkgitajflf
    @OboblhyvobovVkgitajflf Год назад

    How install different python version in ubuntu

  • @listentomusic8160
    @listentomusic8160 4 месяца назад

    You deserve like!

  • @robeidson2255
    @robeidson2255 9 месяцев назад

    It didn't work for me

  • @mohamedkeddache4202
    @mohamedkeddache4202 11 месяцев назад +2

    your cursor broo ! 😂

  • @Victor-ji1rz
    @Victor-ji1rz 11 месяцев назад

    goated trick

  • @itsdevilshot
    @itsdevilshot 9 месяцев назад

    Thank you brother, u r a legend

  • @M.Lozano
    @M.Lozano 7 месяцев назад

    gracias capo