0

I'm trying to create a virtual environment for Django Project ,(Chapter 18-20) of Python Crash Course, and it won't work

I'm on python version 3.10.7

Here is a link to the book: https://www.google.com/books/edition/Python_Crash_Course_2nd_Edition/w1v6DwAAQBAJ?hl=en&gbpv=1 you can find the chapter in question at page 379

here is the file that generates when you run the first command: https://github.com/Hunty405/ll_env

C:\Python\Projects\Learning Log> python -m venv ll_env          **<- Create virtual Environment** 
C:\Python\Projects\Learning Log> source ll_env/bin/activate     **<- Activate virtual Environment**
source : The term 'source' 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
+ source ll_env/bin/activate
+ ~~~~~~
    + CategoryInfo          : ObjectNotFound: (source:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
 
PS C:\Users\hlehm\Onedrive Transfer\Python\Projects\Learning Log>

I tried running the given codes in the book but i can't get it to activate the environment please help

Plasmaneer
  • 13
  • 2

0 Answers0