スポンサーリンク
robotframeworkを使った試験を行うときに、どうしても全角文字を使う必要が出てきました。
ググってみると、mojimoji
というパッケージを入れればおk的なことが書いてあったので早速入れようとしたところ、失敗してしまいました。
コマンドはこんな感じ
pip install -U mojimoji
エラー内容はこんな感じ
Collecting mojimoji
Using cached mojimoji-0.0.7.tar.gz
Installing collected packages: mojimoji
Running setup.py install for mojimoji ... error
Complete output from command /usr/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-0sNKtQ/mojimoji/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-Ermhvf-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_ext
building 'mojimoji' extension
creating build
creating build/temp.linux-x86_64-2.7
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c mojimoji.cpp -o build/temp.linux-x86_64-2.7/mojimoji.o
mojimoji.cpp:4:20: 致命的エラー: Python.h: そのようなファイルやディレクトリはありません
#include "Python.h"
^
コンパイルを停止しました。
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/usr/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-0sNKtQ/mojimoji/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-Ermhvf-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-0sNKtQ/mojimoji/
pythonの開発ライブラリが入ってないことが原因でした。
以下で解決します。
yum install python-devel
これを行った後はすんなり行きます。
# pip install -U mojimoji
Collecting mojimoji
Using cached mojimoji-0.0.7.tar.gz
Installing collected packages: mojimoji
Running setup.py install for mojimoji ... done
Successfully installed mojimoji-0.0.7
以上です。
スポンサーリンク
2022/05/21 04:10:30
buy modafinil online cheap buy modafinil 200mg online cheap order modafinil 100mg without prescription
2022/05/21 07:24:18
dissertation paper help
custom dissertation writing
cheap dissertation help in chicago
2022/04/08 03:53:15
female viagra pill п»їviagra
2022/04/09 02:03:31
tadalafil powder bulk is tadalafil a name brand drug
2022/04/09 03:57:18
vardenafil vs sildenafil vs tadalafil tadalafil vidalista
2022/04/09 11:55:40
order sildenafil what is the use of sildenafil citrate tablets
2022/04/09 14:56:40
cialis online no prescription cialis daily
2022/04/10 07:13:26
over the counter viagra viagra patent viagra cheapest price of viagra
2022/04/12 00:46:33
sildenafil citrate 20mg sildenafil patent
2022/04/12 19:44:33
buy viagra fast delivery buy female viagra online australia
2022/04/13 16:17:48
sildenafil 100mg canada sildenafil tablets 50mg buy
2022/04/14 12:09:27
apply to cvs pharmacy online Biltricide
2022/04/14 23:40:31
recommended canadian online pharmacy store pharmacy
2022/04/15 03:02:33
cialis coupon walgreens buy cialis online cheap
2022/04/14 17:46:20
real viagra online canadian pharmacy canadian pharmacy adderall
2022/04/15 17:59:18
levitra vs staxyn levitra cost per pill at walmart
2022/04/16 16:51:07
tadalafil drug test buy liquid tadalafil
2022/04/17 13:44:24
viagra usa pharmacy price of viagra 50 mg in india
2022/04/17 19:26:40
cost of cialis at costco how can i cialis without custom delayed in canada
2022/04/18 03:46:25
ivermectin resistance ivermectin lawsuit
2022/04/18 07:18:23
ivermectin paste for horses ivermectin for scabies in humans
2022/04/18 19:22:56
roadrunner pharmacy best online canadian pharmacy reviews
2022/04/20 01:40:15
best generic cialis discount super active cialis
2022/04/21 11:06:07
how much is cialis buy generic cialis with paypal
2022/04/20 20:45:55
popular prescription drugs recommended canadian online pharmacy
2022/04/21 02:03:33
can you buy over the counter viagra in canada buy sildenafil online australia
2022/04/21 14:37:08
viagra levitra and cialis side effects levitra dosage timing
2022/04/22 01:21:02
levitra dosing instructions levitra pill image
2022/04/22 15:40:05
2022/04/23 06:10:21
pharmacy cheap online pharmacy tech program
2022/04/24 01:17:21
amazon prescription drugs vipps canadian pharmacy online
2022/04/24 06:35:47
insulin from canadian pharmacies prescription drugs account for 25% of all healthcare-related costs.
2022/04/24 15:24:30
mailing prescription drugs across state lines pet pharmacy canada
2022/04/24 18:52:44
pharmacy chains in canada discount prescription drugs
2022/04/25 06:20:39
bringing prescription drugs into mexico animal rx pharmacy
2022/04/29 17:59:53
dapoxetine and sildenafil tablets generic sildenafil 20 mg https://sildenafilkiol.com/
2022/04/30 12:39:56
heartguard ivermectin jama ivermectin https://stromectolujlo.com/
2022/04/30 17:48:36
sands rx pharmacy canadian pharmacy ambien https://dtupharmyjn.com/
2022/05/01 02:21:14
50mg viagra where to buy cheap generic viagra https://sgiviagraikn.com/
2022/05/01 05:41:44
jamaica rx pharmacy your pharmacy online https://jzpharmacyukj.com/
2022/05/01 16:51:08
how to get levitra levitra walmart https://glevitrargu.com/
2022/05/04 14:51:24
best generic sildenafil generic viagra gel https://aviagrasbt.com/
2022/05/04 20:04:46
best cialis dose generic cialis online pharmacy https://dccialisxvf.com/
2022/05/05 03:49:25
canadian pharmacies reviews canadian pharmacy prescription
2022/05/05 07:02:53
cost of viagra vs cialis vs levitra can women take levitra https://xclevitradb.com/
2022/05/08 12:00:35
2022/05/09 05:01:53
what are the side effects of taking hydroxychloroquine? hydroxychloroquine for covid 19
2022/05/09 14:19:28
sildenafil daily use para que sirve sildenafil https://sildenafilkiol.com/
2022/05/10 08:37:36
3 viagra online viagra india https://aviagrasbt.com/
2022/05/10 13:31:38
cialis 20mg review cialis low prices https://dccialisxvf.com/
2022/05/10 21:10:57
Nizoral canada viagra
2022/05/11 00:24:54
women using levitra levitra interactions https://xclevitradb.com/
2022/05/11 11:19:16
levitra research 40 mg levitra https://glevitrargu.com/
2022/05/14 16:52:47
sildenafil 20 mg cost walgreens sildenafil citrate buy https://sildenafilkiol.com/
2022/05/15 02:59:49
literature review dissertation
dissertation help service nottingham
help on writing a dissertation
2022/05/16 00:38:58
universal drugstore b12 canada pharmacy
2022/05/16 01:58:45
dissertation writing support group
help writing my dissertation
dissertation-help writers
2022/05/16 03:53:21
levitra women levitra directions https://xclevitradb.com/
2022/05/16 14:20:48
provigil usa modafinil drug
2022/05/16 14:52:34
buy levitra online 24 hours levitra 20mg nebenwirkungen https://glevitrargu.com/
2022/05/18 00:27:00
modafinil 200mg tablet modafinil 100mg pills
2022/05/18 11:28:47
2022/05/18 13:02:41
how to apply erythromycin azithromycin and erythromycin
2022/05/18 20:00:39
sildenafil citrate tablets 100mg sildenafil when to take https://sildenafilkiol.com/
2022/05/19 03:07:16
order modafinil 100mg for sale order provigil 200mg for sale
2022/05/19 04:27:13
2022/05/19 13:51:24
order provigil 200mg online order generic modafinil 100mg
2022/05/19 14:39:32
uga dissertation
doctoral dissertation help proposal
dissertation writing plan
2022/05/19 14:26:32
sildenafil uk otc pharmacy price comparison viagra https://aviagrasbt.com/
2022/05/19 19:22:51
how many mg cialis should i take buy c5 cialis https://dccialisxvf.com/
2022/05/20 03:43:58
canadianpharmacy cost of prescription drugs in us vs other countries
2022/05/20 07:02:26
cialis and levitra viagra cheap generic levitra online https://xclevitradb.com/
2022/05/20 10:21:41
modafinil 100mg usa order provigil 100mg sale purchase provigil generic
2022/05/20 18:04:10
levitra online generic levitra vardenafil 20mg https://glevitrargu.com/