Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
05f36e3e
提交
05f36e3e
authored
6月 10, 2013
作者:
Olivier Delalleau
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Typo and doc formatting fixes
上级
72c4382a
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
5 行增加
和
5 行删除
+5
-5
install.txt
doc/install.txt
+3
-3
cmodule.py
theano/gof/cmodule.py
+2
-2
没有找到文件。
doc/install.txt
浏览文件 @
05f36e3e
...
...
@@ -850,7 +850,7 @@ You can then proceed to the :ref:`windows_basic` or the :ref:`windows_bleeding_e
Alternative: Canopy
###################
Another software from Enthought that install
all Theano dependancy
.
Another software from Enthought that install
s all Theano dependencies
.
If you are affiliated with a university (as student or employee), you
can download the installation for free.
...
...
@@ -863,8 +863,8 @@ can download the installation for free.
- In Canopy Package Manager, search and install packages "mingw 4.5.2" and "libpython 1.2"
- (Needed only for Theano 0.6rc3 or earlier)
The "libpython 1.2" package installs files `libpython27.a` and `libmsvcr90.a` to
`C:\
Users\<USER>\AppData\Local\Enthought\Canopy\User
\libs`. Copy the two files to
`C:\
Users\<USER>\AppData\Local\Enthought\Canopy\App\appdata
\canopy-1.0.0.1160.win-x86_64\libs`.
`C:\
\Users\\<USER>\\AppData\\Local\\Enthought\\Canopy\\User\
\libs`. Copy the two files to
`C:\
\Users\\<USER>\\AppData\\Local\\Enthought\\Canopy\\App\\appdata\
\canopy-1.0.0.1160.win-x86_64\libs`.
- (Needed only for Theano 0.6rc3 or earlier) Set the Theano flags
``blas.ldflags=-LC:\Users\<USER>\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.0.0.1160.win-x86_64\Scripts -lmk2_core -lmk2_intel_thread -lmk2_rt``.
...
...
theano/gof/cmodule.py
浏览文件 @
05f36e3e
...
...
@@ -1457,7 +1457,7 @@ def std_lib_dirs_and_libs():
# directories.
python_lib_dirs
=
[
os
.
path
.
join
(
os
.
path
.
dirname
(
python_inc
),
'libs'
)]
if
"Canopy"
in
python_lib_dirs
[
0
]:
# Canopy store libpython27.a and libmsccr90.a in this directory.
# Canopy store
s
libpython27.a and libmsccr90.a in this directory.
# For some reason, these files are needed when compiling Python
# modules, even when libpython27.lib and python27.dll are
# available, and the *.a files have to be found earlier than
...
...
@@ -1467,7 +1467,7 @@ def std_lib_dirs_and_libs():
for
f
,
lib
in
[(
'libpython27.a'
,
'libpython 1.2'
),
(
'libmsvcr90.a'
,
'mingw 4.5.2'
)]:
if
not
os
.
path
.
exists
(
os
.
path
.
join
(
libdir
,
f
)):
print
(
"Your
p
ython version is from Canopy. "
+
print
(
"Your
P
ython version is from Canopy. "
+
"You need to install the package '"
+
lib
+
"' from Canopy package manager."
)
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论