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
  • 相关阅读:
    INSERT
    jQuery选择器
    工厂模式
    快乐的Linux命令行
    Linux常用命令与基本概念
    RAC 集群更换IP
    RMAN-03009 ORA-19504 ORA-27038
    Redhat 6.4_联网 yum 配置
    /dev/sda3: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY
    nginx安装笔记
  • 原文地址:https://www.cnblogs.com/Qwells/p/5403653.html
Copyright © 2011-2022 走看看