File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 18
18
01:09 that I used in the previous example,
19
19
01:12 now I am going to use the requirements.txt file
20
20
01:15 to reinstall all of these dependencies in their exact same versions listed here.
21
- 01:19 The command you need for that is pip install-r
21
+ 01:19 The command you need for that is pip install -r
22
22
01:24 and then you pass the name of the requirements file,
23
23
01:28 I am going to go ahead and run this now.
24
24
01:33 As you can see here, this went over
38
38
02:18 The first step, happens during ongoing development
39
39
02:22 where you install necessary dependencies as you're working on your program.
40
40
02:26 For example, you might decide to install the Requests package
41
- 02:32 because you need to support http downloads in your program.
41
+ 02:32 because you need to support HTTP downloads in your program.
42
42
02:35 So you would just go ahead and do a pip install requests to install that package.
43
43
02:39 And when you're ready to deploy your program
44
44
02:42 or even if you just need to take a snapshot to send to git
58
58
03:29 Because the output of the pip freeze command also includes
59
59
03:33 specific version numbers for those packages,
60
60
03:35 this will recreate the exact same set of dependencies
61
- 03:38 including secondary dependencies.
61
+ 03:38 including secondary dependencies.
You can’t perform that action at this time.
0 commit comments