提交 af29025c authored 作者: Frederic's avatar Frederic

fix Ubuntu installation instruction display

上级 08703e60
...@@ -5,14 +5,14 @@ Easy Installation of an Optimized Theano on Current Ubuntu ...@@ -5,14 +5,14 @@ Easy Installation of an Optimized Theano on Current Ubuntu
For Ubuntu 11.10 through 14.04: For Ubuntu 11.10 through 14.04:
.. code-block: bash .. code-block:: bash
sudo apt-get install python-numpy python-scipy python-dev python-pip python-nose g++ libopenblas-dev git sudo apt-get install python-numpy python-scipy python-dev python-pip python-nose g++ libopenblas-dev git
sudo pip install Theano sudo pip install Theano
For Ubuntu 11.04: For Ubuntu 11.04:
.. code-block: bash .. code-block:: bash
sudo apt-get install python-numpy python-scipy python-dev python-pip python-nose g++ git libatlas3gf-base libatlas-dev sudo apt-get install python-numpy python-scipy python-dev python-pip python-nose g++ git libatlas3gf-base libatlas-dev
sudo pip install Theano sudo pip install Theano
...@@ -71,7 +71,7 @@ If you would like, instead, to install the bleeding edge Theano (from github) ...@@ -71,7 +71,7 @@ If you would like, instead, to install the bleeding edge Theano (from github)
such that you can edit and contribute to Theano, replace the `pip install Theano` such that you can edit and contribute to Theano, replace the `pip install Theano`
command with: command with:
.. code-block: bash .. code-block:: bash
git clone git://github.com/Theano/Theano.git git clone git://github.com/Theano/Theano.git
cd Theano cd Theano
...@@ -85,7 +85,7 @@ If you would like to install Theano in a VirtualEnv, you will want to pass the ...@@ -85,7 +85,7 @@ If you would like to install Theano in a VirtualEnv, you will want to pass the
`--system-site-packages` flag when creating the VirtualEnv so that it will pick up `--system-site-packages` flag when creating the VirtualEnv so that it will pick up
the system-provided `Numpy` and `SciPy`. the system-provided `Numpy` and `SciPy`.
.. code-block: bash .. code-block:: bash
virtualenv --system-site-packages -p python2.7 theano-env virtualenv --system-site-packages -p python2.7 theano-env
source theano-env/bin/activate source theano-env/bin/activate
...@@ -166,7 +166,7 @@ Updating Bleeding Edge Installs ...@@ -166,7 +166,7 @@ Updating Bleeding Edge Installs
Change to the Theano directory and run: Change to the Theano directory and run:
.. code-block: bash .. code-block:: bash
git pull git pull
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论