HOW TO: Install and Use Python in Git Bash for Windows 10?

preview_player
Показать описание
How to install and use Python in Git Bash for Windows?

UPDATE: If the python command doesn't work, try run this in git bash:

Steps:
(scroll down a little and click the 'Download' button)
3. Open 'Anaconda Prompt' or 'Git Bash' and run: conda init bash
If you are in 'Git Bash' run: echo '. ${HOME}/.bash_profile' > > /.bashrc
N.B. I can't put angled brackets in here.
4. Reopen 'Git Bash' and you should see (base) in the first line. Now you can run: ipython
5. That's it!

N.B.
Leave comments below if it helped!
Рекомендации по теме
Комментарии
Автор

Dude, you are a life saver.
I've been struggling with how to activate my conda environment until you typed the "conda init bash".
Thank you so much.
Great tutorial!

obermawy
Автор

Thank you! For me running "conda init bas" in the Anaconda prompt was the life saver!

gigo
Автор

Bro!! After hours of research "conda init bash" was it.
Thank you so much

nosakhareedokpayi
Автор

Oh Mine!!!
Worked perfectly!
Thank youuu!

samsononi
Автор

Thank u so much!!! You saved my project :)) keep going!

enkhgerelenebish
Автор

heyyy thanks for this video, it helped me a lot. greetings from Argentina

marcoslezcano
Автор

Dude, you are an absolute life-saver💙
Great tutorial..!!! Thanks mate..!!!

sameerherkal
Автор

You just earned yourself a subscriber!

sibusisocomfort
Автор

Hello thank you so much for the video you just saved me a whole day of research thank you so much

iremenjkygismybias
Автор

gotta love the internet for actual information

avramdagoat
Автор

Thank you so much for the video. I can now develop a mobile application from windows.

nergal
Автор

Now whenever I launch git bash it instantly closes again

georgehornsby
Автор

Hello Bhaiya.
In time installation of anaconda , anaconda not shows advance option, what should I do?

deepakpant
Автор

hey how can i open a python script through git bash ?

YuriYodie
Автор

i got infinite loop and cant break it hope u can help

mohamedkamel
Автор

Hi. How can i deactivate (base)? Use this comment "echo '. ${HOME}/.bash_profile' &gt &gt /.bashrc", and the (base) enviroment always activated. Can i help me? . Thank you.

cheslalo
Автор

conda init bash is not working
thank you

Mahmoud-yskt
Автор

I tried several ways but it's not working with me. I used Anaconda prompt but once I used echo '.${HOME}/.bash_profile' >> ~/.bashrc, I got "The system cannot find the path specified". I tried git bash as well but nothing's working!

Blackestdome