瀏覽代碼

Update sandbox.rst

Use the same option in the virtualenv command as the mkvirtualenv command uses.
apt-get is nowadays shortened to apt.
master
Roger Erens 6 年之前
父節點
當前提交
d2da32072c
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      docs/source/internals/sandbox.rst

+ 2
- 2
docs/source/internals/sandbox.rst 查看文件

55
 In order to compile uWSGI, which is a dependency of the sandbox, you will
55
 In order to compile uWSGI, which is a dependency of the sandbox, you will
56
 first need to install the Python development headers with:::
56
 first need to install the Python development headers with:::
57
 
57
 
58
-    $ sudo apt-get install python3-dev
58
+    $ sudo apt install python3-dev
59
 
59
 
60
 Install Oscar and its dependencies within a virtualenv:
60
 Install Oscar and its dependencies within a virtualenv:
61
 
61
 
79
 
79
 
80
 .. code-block:: bash
80
 .. code-block:: bash
81
 
81
 
82
-    $ virtualenv oscar
82
+    $ virtualenv --python=python3 oscar
83
     $ source ./oscar/bin/activate
83
     $ source ./oscar/bin/activate
84
     (oscar) $
84
     (oscar) $
85
 
85
 

Loading…
取消
儲存