python+anaconda+pycharm工具包安装
2016-04-24 21:24
537 查看
更新额外包
$ conda update conda更新pip
python -m pip install --upgrade pip更新所有
conda update --all安装ffmpeg
conda install ffmpeg不存在该包,用anaconda search
[Anaconda2] C:\Users\xwei>anaconda search -t conda ffmpeg
groakat/ffmpeg-dev | 2.4.3 | conda | linux-64, win-64,osx-64
[Anaconda2] C:\Users\xwei>conda install -c https://conda.anaconda.org/groakat ffmpeg-dev
安装theano
source for win-installsource for install
stack overflow
[Anaconda2] C:\Users\xwei\Desktop\lstm-test>
anaconda search -t conda theano
jaikumarm/theano | 0.8.2 | conda | linux-64, win-32, win-64, linux-32, osx-64 : Optimizing compiler for evaluating mathematical expressions on CPUs and GPUs.
[Anaconda2] C:\Users\xwei\Desktop\lstm-test>
[Anaconda2] C:\Users\xwei\Desktop\lstm-test>python lstm.py
WARNING (theano.configdefaults): g++ not detected ! Theano will be unable to execute optimized C-implementations (for both CPU and GPU) and will default to Python implementations. Performance will be severely degraded. To remove this warning, set Theano flags cxx to an empty string.
[Anaconda2] C:\Users\xwei> conda install mingw libpython
之后即可以在anaconda Prompt 里面直接调用theano ,包括g++
运行LSTM Networks for Sentiment Analysis 明显快了很多很多,直接在cpu下运行纯python代码,一两分钟才出来第一次迭代, 安装之后,运行c代码的时候,基本上两三秒一次迭代。
安装出现Anaconda Python installation error
解决参考stackoverflow
First, open a DOS prompt and admin rights. Then, go to your Anaconda2\Scripts folder.
conda update conda
and allow all updates. One of the updates should be menuinst.
Then, change to the Anaconda2\Lib directory, and type in the following command:
..\python _nsis.py mkmenus
Wait for this to complete, then check your Start menu for the new shortcuts.
相关文章推荐
- python unittest
- Python引用(import)文件夹下的py文件的方法
- Python 学习随笔
- python自顶向下的设计方法进行体育竞技分析
- 嵌入式 python异常except语句用法与引发异常 zz
- python设计模式之观察者模式
- Python 常用函数总结
- 手把手实现AdaBoost算法
- Using Database with Python -Basic Structured Query Language-Email Database Demo
- Python学习笔记10
- Beautiful Soup 示例解析html文件(python)
- python中os/sys/platform模块区别
- Python 开发技巧和陷阱
- 【Python】__all__ 暴露接口
- 《用 Python 学微积分》笔记 3
- numpy中的nonzero()的用法
- Caesar_Ciphers(凯撒移位)python描述
- numpy 中array参数'f'与order='f'区别
- python中单引号,双引号,多引号区别
- DayDayUP_Python自学记录[4]_Python运算符