Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
847c505b
提交
847c505b
authored
1月 26, 2010
作者:
Dumitru Erhan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
updated mac & windows troubleshooting instructions
上级
5638b7bb
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
26 行增加
和
3 行删除
+26
-3
install.txt
doc/install.txt
+26
-3
没有找到文件。
doc/install.txt
浏览文件 @
847c505b
...
...
@@ -166,14 +166,35 @@ Mac
.. code-block:: bash
$ sudo port install gcc44 py25-zlib py25-numpy py25-scipy mercurial
$ sudo port install gcc44 py25-zlib py25-numpy py25-scipy mercurial
python_select
Note that compiling gcc takes a significant time (hours) so it is probably
not the best solution if you are in a rush! It may happen that SciPy
fails to compile the first time and still compiles just fine on a second
try. Same thing with py25-zlib.
- scipy depends on ATLAS (a BLAS library), which will be installed by MacPorts.
- Please note that in order to use the MacPorts version of python, you might
need to explicitly select it with ``sudo python_select python25``. The
reason this is necessary is because you might have an Apple-provided python
(via, for example, an XCode installation). After performing this step, you
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 output of ``which python`` is ``/opt/local/bin/python`` and the symbolic
link points to ``/opt/local/bin/python2.5``. When executing ``sudo
python_select python26-apple`` (which you should **not** do), the link
points to ``/usr/bin/python2.6``.
- Once this is fixed, please check that the scipy module that is imported in
Python is the right one (and is a recent one). For instance, ``import
scipy`` followed by ``print scipy.version`` and ``print scipy.__path__``
should result in a version number of at least 0.7.0 and a path that starts
with ``/opt/local`` (the path where MacPorts installs its packages). If this
is not the case, then you might have some old installation of ``scipy`` in your
``PYTHONPATH`` so you should edit ``PYTHONPATH`` accordingly.
- The same advice applies to ``numpy``.
- ``scipy`` depends on ATLAS (a BLAS library), which will be installed by MacPorts.
- Set ``THEANO_BLAS_LDFLAGS`` to something which will link against said BLAS
library. E.g., ``THEANO_BLAS_LDFLAGS='-lcblas -latlas -lgfortran'``.
...
...
@@ -283,7 +304,9 @@ but this has not been tested yet.
- Please note that at this time, some tests (launched using ``nosetests``) are
still failing under Windows: we are working on fixing them.
It may also happen that many tests may fail while running the test-suite,
due to insufficient memory resources: one workaround is to run nosetests
due to insufficient memory resources (in which case you will probably get an
error of the type ``"Not enough storage is available to
process this command"``): one workaround is to run nosetests
multiple times under individual subdirectories.
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论