Explorar el Código

virtual env notes

Kristofer Younger hace 6 años
padre
commit
53ea2226cf
Se han modificado 1 ficheros con 13 adiciones y 0 borrados
  1. 13
    0
      README.md

+ 13
- 0
README.md Ver fichero

@@ -10,6 +10,19 @@ Ideas around python/flask labs and lectures:
10 10
 `brew install python` gets python3 on your mac
11 11
 [The Hitchhiker’s Guide to Python](http://docs.python-guide.org/en/latest/) for *fascinating* information on your new **Best Friend**, *python* (3)
12 12
 
13
+#### Creating and Using a Virtual Python Environment
14
+
15
+```bash
16
+$ python3 -m venv ./PythonEnv
17
+
18
+$ source ./PythonEnv/bin/activate
19
+
20
+$ which python
21
+
22
+```
23
+
24
+just kill the terminal window to rid yourself of the virtual env.
25
+
13 26
 ### Docker
14 27
 
15 28
 once installed, and the mysql is running: