Skip to content

Commit f744712

Browse files
committed
Add ReadMe for virtualenv instructions
1 parent 7d31524 commit f744712

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

help_docs/virtualenv_instructions.md

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
### Virtual Environment Setup Instructions
2+
3+
Mac: (If you're using virtualenv):
4+
5+
```bash
6+
mkdir -p ~/Envs
7+
virtualenv ~/Envs/seleniumbase
8+
source ~/Envs/seleniumbase/bin/activate
9+
```
10+
11+
Mac: (If you're using virtualenvwrapper):
12+
13+
```bash
14+
mkvirtualenv seleniumbase
15+
```
16+
17+
Windows:
18+
19+
Use the "virtualenv" version above instead of "mkvirtualenv", but also make the following changes:
20+
1: Don't use "-p"
21+
2: Replace "~/" from above with the location of your home directory
22+
3: Instead of using the "source" command, go into the folder created and type ``activate``
23+
24+
If you ever need to leave your virtual environment, use the following command:
25+
26+
```bash
27+
deactivate
28+
```
29+
30+
You can always jump back in later:
31+
32+
(If you're using virtualenv):
33+
```bash
34+
source ~/Envs/seleniumbase/bin/activate
35+
```
36+
37+
(If you're using virtualenvwrapper):
38+
```bash
39+
workon seleniumbase
40+
```

0 commit comments

Comments
 (0)