How to fix virtualenv is not recognized as an internal and external command Error
Feb 12, 2025
Get the full source code of application here: Hi Join the official discord server to resolve doubts here: https://discord.gg/cRnjhk6nzW Visit my Online Free Media Tool Website https://freemediatools.com/ Buy Premium Scripts and Apps Here: https://procodestore.com/
View Video Transcript
0:00
uh Hello friends welcome to this video
0:02
so in this video I will show you how to
0:04
tackle this error message which comes if
0:05
you write virtual EnV virtual is not
0:09
recognized as an internal or external
0:10
command so it's essentially a python
0:12
package which allows you to create
0:14
virtual environments of your python
0:16
projects so if you are developing a
0:18
local python project you want to create
0:21
a virtual environment there is a
0:23
specific dependency so first of all you
0:25
do need to install python so this is I'm
0:29
assuming that you have installed python
0:31
so if you don't have python just go to
0:33
python download and install the latest
0:35
version so I've already gone to the
0:38
downloads and latest version I have so
0:41
first of all you need to go to your
0:43
environment variables and 90% of the
0:45
time you haven't added the path to the
0:47
environment variable so just go to this
0:49
environment variables and go to the
0:51
system variable right here and here you
0:53
will find out this path here simply
0:55
select this and click this edit button
0:58
and here you need to add add the path
1:00
here so typically python is installed in
1:03
the C directory simply go to the C
1:05
directory here and then you will find
1:08
out a users's folder if you see and then
1:12
whatever is your username mine is Asus
1:14
so go to this and inside this you will
1:17
find out this app data folder here you
1:20
can see that and inside this you need to
1:23
go to this folder which is
1:27
local and then we need to go to the
1:29
programs folder
1:33
folder so you will see this is your
1:35
programs folder and then inside this we
1:38
have this python installed here so your
1:41
python folder will appear here and
1:44
inside this whatever is your versions
1:46
here so I have two python versions
1:48
installed 3.9 and 3.12 so whatever
1:52
python versions you want to register so
1:54
I will want to register the latest
1:56
version which is python
1:58
312 and just copy this whole path and uh
2:03
go to your environment variables click
2:05
new and simply paste this path add this
2:08
to the path and also secondly we also
2:12
need the path here if you see there will
2:14
be a scripts
2:16
folder go to this folder and also add
2:19
this path as well so again right click
2:21
copy and repeat this again click the new
2:24
button and paste the path that's all
2:26
that we need to do we just need to add
2:28
the two paths here in this environment
2:31
variable the path here first one and the
2:34
second one so now click okay okay and
2:37
now just uh restart your
2:41
terminal and then we just need to again
2:43
if you see virtual is you need to
2:45
install the package first of all P
2:47
install virtual
2:51
EnV so as soon as you install
2:54
this you will
2:58
see it will will install the package
3:02
here so now if you execute the same
3:05
virtually andv will see the command will
3:07
be successful so in this way you can fix
3:10
this error message very simple and first
3:12
of all follow the instructions that I
3:15
showed you add this path to the
3:17
environment variable and then you can
3:19
install this package so thank you very
3:21
much for watching this video and also
3:23
check out my website as well free mediat
3:25
tools.com which contains thousands of
3:28
tools regarding audio video and image
3:31
and I will be seeing you in the next
3:33
video
#Programming