PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

Source is not recognized as an internal or external command, operable program or batch file

Open RaziHaj opened this issue 10 years ago • 24 comments

Hi guys, I feel exhausted. this was one difficult installation to do. I made sure to follow the instructions, researched as much as I could to avoid stupid questions (as this is the first time I'm working with Python). I have successfully did all the steps up until <source bin/activate>. ($ sign is not working with windows 10 apparently). I chose the master version. after printing the line I got that message, and I have no idea what I'm doing wrong.

OS: Windows 10 x64 bit.

RaziHaj avatar Jul 28 '16 14:07 RaziHaj

you can just skip that 'source bin/activate' step on windows and proceed with the next one work many times for me

bimahp avatar Jul 28 '16 15:07 bimahp

Yeah, that's what I did, but I encountered some problems going forward, so I figured it might be the source of it.

RaziHaj avatar Jul 28 '16 16:07 RaziHaj

hey razi,im facing the same problem,did you find a solution?

Afsalbinaziz avatar Aug 07 '17 10:08 Afsalbinaziz

try manual installation

Jcolomar avatar Aug 07 '17 12:08 Jcolomar

On Windows use Git Bash

karansamra avatar Dec 18 '17 13:12 karansamra

on windows use 'venv\scripts\activate'

vinayaposa avatar Apr 24 '18 09:04 vinayaposa

@vinayaposa Thank you so much

tayustayus avatar Mar 14 '19 09:03 tayustayus

virtualenv env ls -la env #For Unix/Linux source env/bin/activate #For Windows env\scripts\activate

john2912 avatar May 08 '19 07:05 john2912

on windows use 'venv\scripts\activate'

This worked on my windows. since I was already in my_env folder, I just typed scripts\activate.

Thank you.

basavdotio avatar Jan 01 '20 11:01 basavdotio

PS E:\Django\myproject> 'venv\scripts\activate'
venv\scripts\activate

It worked

repozitories avatar Mar 28 '20 12:03 repozitories

Thanks for the help :)

karthikkunala avatar Apr 16 '20 11:04 karthikkunala

Can anyone help me?? I used 'venv/Scripts/activate' in windows 7 but still cannot activate my virtualenv. I already have python 3.8 installed, when I tried to activate my venv it said "venv" is not recognized as internal or external command, or operable batch file.I also tried 'venv/Scripts/activate.bat' but NO LUCK...

tootiefrutie9999 avatar Jun 14 '20 08:06 tootiefrutie9999

I already successfully installed virtualenv package and venv packages and libraries. What do you think I should do???!

tootiefrutie9999 avatar Jun 14 '20 08:06 tootiefrutie9999

My venv name is "django"

tootiefrutie9999 avatar Jun 14 '20 08:06 tootiefrutie9999

My venv is actually a folder so I tried to activate the folder.

tootiefrutie9999 avatar Jun 14 '20 08:06 tootiefrutie9999

Consisting of my venv libraries and packages

tootiefrutie9999 avatar Jun 14 '20 08:06 tootiefrutie9999

navigate to env/Scripts/ cd env/Scripts then run the command activate

image

It will activate your virtual environment

then go back to the project directory using

cd..
cd..

image

to deactivate the virtual environment again navigate to cd env/Scripts and run deactivate

image

shrikantpardhi avatar Sep 15 '20 07:09 shrikantpardhi

navigate to env/Scripts/ cd env/Scripts then run the command activate

image

It will activate your virtual environment

then go back to the project directory using

cd..
cd..

image

to deactivate the virtual environment again navigate to cd env/Scripts and run deactivate

image

this is the only solution that worked for me for Windows 10. Thanks a lot.

largalaga avatar Aug 11 '21 21:08 largalaga

largalaga , thanks for the solution

Khosiyat avatar Oct 30 '21 08:10 Khosiyat

On Windows use Git Bash

On Gitbash It is working fine

sowrovsec avatar Jul 04 '22 16:07 sowrovsec