Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
39cf0c45
提交
39cf0c45
authored
2月 22, 2013
作者:
nouiz
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #1236 from lamblin/anaconda_win_install
Update installation instructions for Anaconda
上级
d723a72f
795f357c
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
88 行增加
和
11 行删除
+88
-11
install.txt
doc/install.txt
+45
-11
theano_installer_for_anaconda.bat
doc/theano_installer_for_anaconda.bat
+43
-0
没有找到文件。
doc/install.txt
浏览文件 @
39cf0c45
...
@@ -776,23 +776,26 @@ pip is not included in EPD, but you can simply install it with::
...
@@ -776,23 +776,26 @@ pip is not included in EPD, but you can simply install it with::
You can then proceed to the :ref:`windows_basic` or the :ref:`windows_bleeding_edge`.
You can then proceed to the :ref:`windows_basic` or the :ref:`windows_bleeding_edge`.
Alternative: Anaconda
0.8.3 (Linux VM on Windows)
Alternative: Anaconda
CE
#######################
##########################
#######################
ContinuumIO_ was providing a free VM with Theano installed. Now they
ContinuumIO_ is providing a free Python distribution for Windows (32-bit
provide a new installation system that installs itself on Windows.
and 64-bit), including all dependencies of Theano. If you are not
Since we lack time to update this part of the documentation, it has been
eligible for a download of EPD (via a commercial, or free academic
removed for now. Check back later!
licence), this is the easiest way to install
Theano's dependencies. Simply download and execute the installer from
`AnacondaCE downlowad page <http://continuum.io/anacondace.html>`__,
then download and execute the :ref:`windows_anaconda`.
.. _ContinuumIO: http://continuum.io
.. _ContinuumIO: http://continuum.io
Alternative: Python(x,y)
Alternative: Python(x,y)
########################
########################
If you
are not eligible to a free download of EPD, and
If you
do not have a commercial licence of EPD, and are not eligible to a free
neither Python nor MinGW is installed on your computer, the easiest way to
academic licence, and neither
install most dependencies is to install
Python nor MinGW is installed on your computer, you can install most
`Python(x,y) <http://www.pythonxy.com>`__.
dependencies of Theano with
`Python(x,y) <http://www.pythonxy.com>`__.
It is a single installation
It is a single installation
file that contains additional packages like NumPy, SciPy, IPython, Matplotlib,
file that contains additional packages like NumPy, SciPy, IPython, Matplotlib,
MinGW, Nose, etc.
MinGW, Nose, etc.
...
@@ -900,6 +903,36 @@ Theano. The easiest way is to install the latest released version
...
@@ -900,6 +903,36 @@ Theano. The easiest way is to install the latest released version
development version, or edit the code, you should follow the
development version, or edit the code, you should follow the
instructions in :ref:`windows_bleeding_edge`.
instructions in :ref:`windows_bleeding_edge`.
.. _windows_anaconda:
Installation script for AnacondaCE
##################################
If you installed AnacondaCE, the simplest way to install and configure
Theano is to download and execute this :download:`installation script
for Theano on AnacondaCE for Windows <theano_installer_for_anaconda.bat>`.
.. note
This script was tested on Windows 7, 64-bit edition, and AnacondaCE
version 1.3.1. It is still experimental, please get back to us if
you experience trouble with it.
This script will:
- Copy MinGW runtime DLLs into ``C:\\Anaconda\\Scripts``, so they are in the ``PATH``;
- Call ``pip install theano``, installing the latest released version;
- Set up a default configuration file for Theano, ``.theanorc.txt``, containing:
.. code-block:: config
[global]
openmp=False
[blas]
ldflags=
.. _windows_basic:
.. _windows_basic:
Basic user installation
Basic user installation
...
@@ -957,7 +990,8 @@ used within an MSYS Shell (not available if you only installed Python(x,y)).
...
@@ -957,7 +990,8 @@ used within an MSYS Shell (not available if you only installed Python(x,y)).
Configure Theano
Configure Theano
################
################
If you installed Python through EPD, you should be all set by now. Otherwise,
If you installed Python through EPD, or through the installation script for
Anaconda, you should be all set by now. Otherwise,
whether you installed Theano through pip or git, you should follow these
whether you installed Theano through pip or git, you should follow these
steps.
steps.
...
...
doc/theano_installer_for_anaconda.bat
0 → 100644
浏览文件 @
39cf0c45
@echo off
rem if ANACONDA_DIR is not defined
if [%ANACONDA_DIR%] == [^%ANACONDA_DIR^%] (
if exist "c:\Anaconda" set ANACONDA_DIR=C:\Anaconda
)
if [%ANACONDA_DIR%] == [^%ANACONDA_DIR^%] (
echo "Anaconda not found. Please install AnacondaCE or set the ANACONDA_DIR environment variable to the location of your Anaconda installation."
goto end
)
if not exist %ANACONDA_DIR% (
echo Anaconda install directory %ANACONDA_DIR% does not exist
goto end)
echo Anaconda found in %ANACONDA_DIR%
echo copying dlls from %ANACONDA_DIR%\MinGW\x86_64-w64-mingw32\lib to %ANACONDA_DIR%\
copy %ANACONDA_DIR%\MinGW\x86_64-w64-mingw32\lib\*.dll %ANACONDA_DIR%
echo done
echo Trying to install theano
pip install Theano
echo installed
rem Put a default .theanorc.txt
set THEANORC=%HOMEPATH%\.theanorc.txt
set THEANORC_=%HOMEPATH%\.theanorc_install.txt
echo [global]> %THEANORC_%
echo openmp=False>> %THEANORC_%
echo.>> %THEANORC_%
echo [blas]>> %THEANORC_%
echo ldflags=>> %THEANORC_%
if exist %THEANORC% (
echo A .theanorc.txt config file already exists, so we will not change it.
echo The default version is in %THEANORC_%, we suggest you check it out.
) else (
rename %THEANORC_% .theanorc.txt
)
:end
echo end
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论