環境
さくらVPS CentOS 6.1
python3.6
(python3系を実行するときは、python3コマンドを実行し、python2.7を実行するときはpythonとなる環境です。)
やったこと
pip3 install neologdn
pip3 install neologdn Collecting neologdn Using cached https://files.pythonhosted.org/packages/18/fd/9e84b382e4f12b73737faabeeb57fd617198dbb29b7084e28604803f7926/neologdn-0.4.tar.gz Installing collected packages: neologdn Running setup.py install for neologdn ... error Complete output from command /usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-1zjhqldp/neologdn/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-5j1godqg/install-record.txt --single-version-externally-managed --compile: running install running build running build_ext building 'neologdn' extension creating build creating build/temp.linux-x86_64-3.6 gcc -pthread -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c neologdn.cpp -o build/temp.linux-x86_64-3.6/neologdn.o -std=c++11 cc1plus: error: unrecognized command line option "-std=c++11" error: command 'gcc' failed with exit status 1 ---------------------------------------- Command "/usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-1zjhqldp/neologdn/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-5j1godqg/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-1zjhqldp/neologdn/
上記エラーが出るので、下記を実行。
yum -y install libxslt1, libxslt, libxml2-devel, gcc gcc-c++ kernel-devel, python-devel
エラー内容変わらず。
どなたかご教授お願い致します。。

回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。