报错如下:
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安装包的时候提示找不到包
[fanyiyi@115 ~]$ conda install mingw libpython
Fetching package metadata .........
PackageNotFoundError: Package missing in current linux-64 channels:
- mingw
解决方法L:Anaconda找包,安装包时,遇到PackageNotFoundError: ''Package missing in current channels"
g++: command not found的解决
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++
网友评论