How to Download & Install pyenv in Windows | pyenv is not recognized as command Error
Feb 19, 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/
Show More Show Less View Video Transcript
0:00
uh hello guys welcome to this video so
0:03
in this video I will show you how to
0:05
install Pi
0:08
EnV P EnV is a tool in Python to manage
0:12
multiple versions of python similar to
0:15
NVM for node node version manager so
0:18
this is a tool right here in Python py
0:21
EnV if you type this if this message
0:24
comes that p&v is not recognized as an
0:27
internal or external command so this
0:30
typically means that you haven't
0:32
installed this tool so now in the
0:34
command line if you want to install
0:38
this then uh you can actually first of
0:42
all go to Google and just type here py
0:45
EnV Windows
0:47
download so if you just write this on
0:50
Google for specifically for
0:53
Windows there will be this uh GitHub
0:56
page go to this GitHub page and uh
1:01
and right here go to the releases
1:04
section and here you will find out the
1:10
actual this is the source code here
1:12
which is
1:15
there but if you want the exe file here
1:18
for the
1:19
download so you this is a easy way you
1:23
can open your Powershell if you have
1:26
Powershell this is a direct way that you
1:28
can install this open the powers shell
1:31
and then execute this command so they
1:33
have given this command here and
1:36
directly paste this command in the
1:38
powers
1:39
shell this is different from uh command
1:42
line so just search poers shell and once
1:45
it opens simply paste this command and
1:47
as soon as you paste this command you
1:49
will see the P en EnV
1:52
3.1.1 is installed so in this way I will
1:56
give the link of this GitHub in the
1:58
description of this video so you can
2:00
directly go and copy this command and
2:03
once you do this if you now type the py
2:07
EnV so now you will
2:11
see the command will be
2:17
successful and just open the command
2:27
line p
2:35
just make sure uh you install this in
2:40
the Powershell just open Powershell here
2:43
and paste this
2:48
command yeah I think it is p EnV windows
3:05
installation reopen the command
3:10
prompt so they have given this command
3:16
here I think they uh need to restart the
3:19
terminal still if you are getting this
3:21
message you can see in my case I'm
3:23
getting this message so they tell you
3:26
that uh you need to check your uh when
3:30
environment variables so just make sure
3:34
open this PA here and here you need to
3:37
replace your own username so just
3:40
replace whatever is your username here
3:43
so I will go into my file
3:46
explorer and simply paste the path here
3:49
that they
3:51
given and here in the username section
3:55
you will replace your own usern name of
3:57
your computer so in my case is
4:00
Asus so you will see uh now this is
4:04
installed here you will see that it has
4:06
this executable py EnV and if you
4:10
directly open uh command line here type
4:14
the command so now if you see p&v
4:17
command is working so if you want to
4:20
print out the version which is 3.1.1 so
4:23
similarly the Powershell has
4:25
successfully installed it so now we just
4:28
need to make sure that we copy this this
4:29
path right click copy and just make sure
4:32
that you have added this inside your
4:35
environment variable so just go to
4:37
environment variable and then system
4:40
variables and go to the path edit and
4:44
just made a new entry and paste it
4:48
that's all and now just restart the
4:50
terminal and just execute the same
4:54
command so now you'll see you can access
4:57
your py EnV
5:00
to install multiple versions of python
5:03
at the same time
5:04
concurrently so now you can run this so
5:07
I've shown you step by step guys I will
5:09
give this link in the description of
5:11
this video so you can just check out the
5:13
steps that I showed you in the video
5:15
first of all you need to open Powershell
5:17
and install this by executing this
5:19
command then you need to go to the
5:21
environment variable and then set this
5:23
environment variable and then restart
5:26
the terminal
5:28
so this is a step by step video guys
5:31
hopefully your problem will be solved so
5:34
thank you very much for watching this
5:35
video and also check out my website as
5:38
well free mediat tools.com uh which
5:41
contains thousands of tools regarding
5:43
audio video and image and I will be
5:46
seeing you in the next video
