zoukankan      html  css  js  c++  java
  • python+anaconda+pycharm工具包安装

    更新额外包

    $ conda update conda

    更新pip

    python -m pip install --upgrade pip

    更新所有

    conda update --all

    安装ffmpeg

    conda install ffmpeg

    不存在该包,用anaconda search

    [Anaconda2] C:Usersxwei>anaconda search -t conda ffmpeg

    groakat/ffmpeg-dev | 2.4.3 | conda | linux-64, win-64,osx-64

    [Anaconda2] C:Usersxwei>conda install -c https://conda.anaconda.org/groakat ffmpeg-dev

    安装theano

    source for win-install

    source for install

    stack overflow

    [Anaconda2] C:UsersxweiDesktoplstm-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:UsersxweiDesktoplstm-test>

    conda install -c https://conda.anaconda.org/jaikumarm theano

    [Anaconda2] C:UsersxweiDesktoplstm-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:Usersxwei> 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 Anaconda2Scripts folder.

    conda update conda

    and allow all updates. One of the updates should be menuinst.

    Then, change to the Anaconda2Lib 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.

    该博客停止更新,继续关注请移步: www.foolweel.com
  • 相关阅读:
    Linux系统中的load average
    通过数据库评估存储设备IO性能-Oracle11gIO校准功能介绍
    ORACLE查询字段中含有空格的数据
    JavaScript&Typescript中的时间
    LeetCode
    LeetCode
    面试问题及知识汇总
    Bootstrap布局容器与栅格系统
    JVM垃圾回收(GC)
    9. 专题
  • 原文地址:https://www.cnblogs.com/Qwells/p/5403653.html
Copyright © 2011-2022 走看看