Theano:g ++が検出されず、condaがパッケージを見つけることができず、g ++がインストールされます
Theano G Not Detected Conda Cant Find Package G Install
エラーは次のとおりです。
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.
回避策:conda install mingw libpython
mingwをインストールした後、対応するlibpythonパッケージが見つかりませんでした。このサーバーにはg ++がないことがわかったので、g ++をインストールして、トレーニング速度を向上させました。
condaにパッケージをインストールするときにパッケージを見つけるように促す
[root@xxxxx ~]$ conda install mingw libpython Fetching package metadata ......... PackageNotFoundError: Package missing in current linux-64 channels: - mingw
ソリューションL: アナコンダはパッケージを検出し、パッケージのインストール時にPackageNotFoundErrorを検出しました:「現在のチャネルにパッケージがありません」
g ++:ソリューションが見つかりません
g ++のインストール:g ++は操作速度を向上させることができます
(1)検出g ++:g++ --version
(2)g ++の更新とインストール(centosとubuntu)
#####centos: yum -y update gcc yum -y install gcc+ gcc-c++ #ubuntu: apt-get update gcc apt-get install g++