Use Git Bash Terminal For Django Virtualenv on Windows

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

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

  • @TechWithSabri
    @TechWithSabri 4 года назад

    thank you sir i just today started with django after 2 months of studying python and tkinter with you a learned a lot of stuffs
    so today i will start with you django
    so let's go

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

    Thank you, so much for such a detailed tutorial, it's been very frustrating for the last few days!

  • @aiabhijeet
    @aiabhijeet 4 года назад +1

    thank you so much ,its really worked thanks a lot . I was in trouble for installing it since 1 month.

    • @Codemycom
      @Codemycom  4 года назад +1

      Glad you got it sorted out!

  • @kironnibir834
    @kironnibir834 4 года назад +1

    Thank you so much sir.....for git bash commands

  • @isaquehg
    @isaquehg 2 года назад

    Thank u a lot! I was trying it in powershell, but wasn't working well. Now, in git bash it's working ok!

    • @Codemycom
      @Codemycom  2 года назад +1

      Yeah powershell sucks

  • @ShinyArjunSingh
    @ShinyArjunSingh 4 года назад

    nice one, subscribed. Please keep'em comin....

  • @ronnieabs4668
    @ronnieabs4668 3 года назад +1

    very helpful, thank you!

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

    Very helpful. Thank you so much ;))

  • @thieunguyen5395
    @thieunguyen5395 2 года назад

    Very helpful. Thank you so much

  • @daylightmontes
    @daylightmontes 2 года назад

    Thank you so much :) great content

  • @samuelfelipef
    @samuelfelipef 3 года назад

    Thanks a lottttt man very helpfull

    • @Codemycom
      @Codemycom  3 года назад

      Thanks for watching!

  • @whitebird365
    @whitebird365 5 лет назад

    Thank you for the video..
    Do you have a tutorial on how to push projects to github?

    • @Codemycom
      @Codemycom  5 лет назад

      Not here on youtube, but I can create one in a few days...

    • @whitebird365
      @whitebird365 5 лет назад

      @@Codemycom looking forward for it, thank you

    • @Codemycom
      @Codemycom  5 лет назад

      @@whitebird365 Done, check my channel...

  • @Cryptopunq
    @Cryptopunq 4 года назад

    If you want to Gitbash to use system packages what's the command for it? It's --system-site-packages for powershell but it doesn't work in bash

    • @Codemycom
      @Codemycom  4 года назад

      No idea...you'll have to google it

  • @chetty1212
    @chetty1212 2 года назад

    its actually 100% not a globe my friend =] thanks for the content tho learn so much from you

    • @Codemycom
      @Codemycom  2 года назад

      Not sure what you're talking about, but thanks for watching!

  • @user-gn8hj2cc6c
    @user-gn8hj2cc6c 3 года назад

    already installed django on virtualenv but keep getting ImportError not detected django when trying to runserver

    • @Codemycom
      @Codemycom  3 года назад

      then no, you did not install it in the virtualelv. Do it again.

  • @TheKbwriter
    @TheKbwriter 5 лет назад +1

    Very cool

  • @chrisa5544
    @chrisa5544 4 года назад

    Hey so i'm kind of new to all of this. So I was able to run the server through git bash, however how can I stop the server? I am unable to type any commands into git bash while the server is running, and I see your terminal is the same way

    • @Codemycom
      @Codemycom  4 года назад

      Ctrl+C usually ends it, or you can open another terminal for commands while the server is running.

  • @abdullahalsaeed8686
    @abdullahalsaeed8686 2 года назад

    you are the best

  • @himanshupandey6935
    @himanshupandey6935 3 года назад

    venv\activate command is not working

  • @ryan_0337
    @ryan_0337 4 года назад

    Do you know how to connect git bash and pycharm

    • @ryan_0337
      @ryan_0337 4 года назад

      ?

    • @Codemycom
      @Codemycom  4 года назад

      @@ryan_0337 no. I don't use pycharm, I don't like it.

  • @anzhemeng8833
    @anzhemeng8833 4 года назад

    How could solve the denial of pip by git bash??

    • @Codemycom
      @Codemycom  4 года назад

      Sorry, I don't know what you're talking about. If pip doesn't work, you need to reinstall python and make sure to add it to path.

  • @musmanmureed3728
    @musmanmureed3728 4 года назад

    Thanks sir

    • @Codemycom
      @Codemycom  4 года назад

      You're very welcome!

  • @JJ-ot3ps
    @JJ-ot3ps 2 года назад

    hi there, I was just trying to open a new folder to do a new django project, but when I type pip freeze , it says no pip command is found, nor does python. I mean i was literally just working on my another folder working on a django where I have stalled everrything in the virtual enviroment. Do i need to create and install new django everytime when I open a new folder ? i mean where I installed django in my old folder does it mean django is installed only in that old folder, not in my computer ?

    • @Codemycom
      @Codemycom  2 года назад

      Yes, of course you have to install django into each new virtual environment you create for each project you create. That's the point of a virtual environment, it's a walled garden that's separate from the rest of your computer.

    • @zandorachan
      @zandorachan 2 года назад

      don't forget to pip install django once inside the activated venv.

  • @davecox3013
    @davecox3013 4 года назад

    Getting the following when trying the pip process you get starting at 6:00:
    ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: 'c:\\program files (x86)\\python38-32\\Lib\\site-packages\\filelock.py'
    it then suggests
    Consider using the `--user` option or check the permissions
    How do I follow that up?

    • @Codemycom
      @Codemycom  4 года назад

      sounds like maybe you didn't install python correctly. Did you forget to check the "Add Python 3.x to Path" button during installation?

    • @davecox3013
      @davecox3013 4 года назад

      @@Codemycom I did yeah, I went back and reinstalled after watching the second time watching the video just incase I hadn't done it the first time and same thing.
      Thanks for a really quick reply! Very good of you!

    • @Codemycom
      @Codemycom  4 года назад

      @@davecox3013 Google: "Could not install packages due to an EnvironmentError: [Errno 13] Permission denied:" and you'll get a bunch of stack overflow suggestions to try

    • @davecox3013
      @davecox3013 4 года назад

      OK, on stack overflow I couldn't see a direct solution but one thing gave me an idea which was to close the terminal, open it as an administrator and try again. Hey presto, now I can finish your tutorial!
      Thanks for the assist! Great content btw mate!

    • @Codemycom
      @Codemycom  4 года назад

      @@davecox3013 Whew!

  • @mawkuri5496
    @mawkuri5496 3 года назад

    how do you deactivate venv on gitbash

    • @Codemycom
      @Codemycom  3 года назад +1

      Type the word: deactivate

    • @mawkuri5496
      @mawkuri5496 3 года назад

      @@Codemycom tnx man.. i was doing..source venv/script/deactivate.bat

  • @imandeepsingh
    @imandeepsingh 5 лет назад

    pip freeze not working

    • @Codemycom
      @Codemycom  5 лет назад

      Then you likely didn't install python correctly (didn't check the 'add python to path' button during installation). Uninstall python and reinstall. also, try pip3 freeze