提交 79ebf621 authored 作者: Josh Bleecher Snyder's avatar Josh Bleecher Snyder

minor modifications to install docs, mainly to use python 2.6 on OS X

上级 2193b637
...@@ -330,7 +330,7 @@ Mac ...@@ -330,7 +330,7 @@ Mac
.. code-block:: bash .. code-block:: bash
$ sudo port install gcc44 py25-scipy mercurial python_select $ sudo port install gcc44 py26-scipy mercurial python_select
This will install all the required Theano dependencies. Note that This will install all the required Theano dependencies. Note that
compiling gcc takes significant time (hours)! SciPy depends on ATLAS (a compiling gcc takes significant time (hours)! SciPy depends on ATLAS (a
...@@ -344,13 +344,13 @@ Mac ...@@ -344,13 +344,13 @@ Mac
packages are updated quite frequently. packages are updated quite frequently.
- In order to use the MacPorts version of python, you might - In order to use the MacPorts version of python, you might
need to explicitly select it with ``sudo python_select python25``. The need to explicitly select it with ``sudo python_select python26``. The
reason this is necessary is because you might have an Apple-provided python reason this is necessary is because you might have an Apple-provided python
(via, for example, an Xcode installation). After performing this step, you (via, for example, an Xcode installation). After performing this step, you
should check that the symbolic link provided by ``which python`` points to should check that the symbolic link provided by ``which python`` points to
the MacPorts python. For instance, on Snow Leopard with the latest MacPorts, the MacPorts python. For instance, on Snow Leopard with the latest MacPorts,
the output of ``which python`` is ``/opt/local/bin/python`` and this symbolic the output of ``which python`` is ``/opt/local/bin/python`` and this symbolic
link points to ``/opt/local/bin/python2.5``. When executing ``sudo link points to ``/opt/local/bin/python2.6``. When executing ``sudo
python_select python26-apple`` (which you should **not** do), the link python_select python26-apple`` (which you should **not** do), the link
points to ``/usr/bin/python2.6``. points to ``/usr/bin/python2.6``.
...@@ -364,7 +364,7 @@ Mac ...@@ -364,7 +364,7 @@ Mac
- Please follow the same procedure with ``numpy``. - Please follow the same procedure with ``numpy``.
- Put ``export PYTHONPATH=/opt/local/lib/python2.5/site-packages:$PYTHONPATH`` - Put ``export PYTHONPATH=/opt/local/lib/python2.6/site-packages:$PYTHONPATH``
in your ``.bashrc`` in order to include your MacPorts Python packages in your ``.bashrc`` in order to include your MacPorts Python packages
(NumPy, SciPy) in Python's path. (NumPy, SciPy) in Python's path.
......
...@@ -21,7 +21,7 @@ Toolkit installs a folder on your computer with subfolders *bin*, *lib*, ...@@ -21,7 +21,7 @@ Toolkit installs a folder on your computer with subfolders *bin*, *lib*,
*include*, and some more too. (Sanity check: The *bin* subfolder should contain an *nvcc* *include*, and some more too. (Sanity check: The *bin* subfolder should contain an *nvcc*
program which is the compiler for GPU code.) This folder is called the *cuda program which is the compiler for GPU code.) This folder is called the *cuda
root* directory. root* directory.
On Linux or OS-X >= 10.4, you must add the 'lib' subdirectory (and/or 'lib64' subdirectory if you have a 64-bit On Linux or OS X >= 10.4, you must add the 'lib' subdirectory (and/or 'lib64' subdirectory if you have a 64-bit Linux
computer) to your ``$LD_LIBRARY_PATH`` environment variable. computer) to your ``$LD_LIBRARY_PATH`` environment variable.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论