Link to home
Start Free TrialLog in
Avatar of Abufahad Abdullah
Abufahad Abdullah

asked on

Virtualenv Issue is raised once Installing Django on windows 10 power shell

I have tried to install Django and I have written the following command in Power Shell:

PS C:\project\firstproject> virtualenv venv-first-project

but the below error is raised :

virtualenv : The term 'virtualenv' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ virtualenv venv-first-project
+ ~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (virtualenv:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

how can I solve this error?
Avatar of David Favor
David Favor
Flag of United States of America image

My first thought when I read this title was... "why..."

Trying to run Django at all, using a LAMP Stack, can take a good bit of time to get working well.

Trying to do this on Windows... Wow... Likely a fair bit of time + you'll likely have many subtle oddities that crop up.

First you must install Python + get virtualenv working...

Start with these resources...

https://docs.python.org/3/using/windows.html

https://virtualenv.pypa.io/en/latest/

First you must get Python working... then virtualenv... then Django...
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.