質問するログイン新規登録

質問編集履歴

4

エラー全文を追記

2019/02/06 02:09

投稿

wakky
wakky

スコア20

title CHANGED
File without changes
body CHANGED
@@ -11,7 +11,46 @@
11
11
  ### 発生している問題・エラーメッセージ
12
12
 
13
13
  ```
14
+ $ pip3 install mecab-python3
15
+ Collecting mecab-python3
16
+ Downloading https://files.pythonhosted.org/packages/ac/48/295efe525df40cbc2173748eb869290e81a57e835bc41f6d3834fc5dad5f/mecab-python3-0.996.1.tar.gz
17
+ Building wheels for collected packages: mecab-python3
18
+ Building wheel for mecab-python3 (setup.py) ... error
19
+ Complete output from command /home/User/.pyenv/versions/anaconda3-5.2.0/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-_0warbr_/mecab-python3/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-yqe2xhlb --python-tag cp36:
20
+ /home/User/.pyenv/versions/anaconda3-5.2.0/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
21
+ warnings.warn(msg)
22
+ running bdist_wheel
23
+ running build
24
+ running build_py
25
+ running build_ext
26
+ building '_MeCab' extension
27
+ swigging MeCab.i to MeCab_wrap.cpp
28
+ swig -python -shadow -c++ -I/usr/include -o MeCab_wrap.cpp MeCab.i
29
+ unable to execute 'swig': No such file or directory
30
+ error: command 'swig' failed with exit status 1
14
31
 
32
+ ----------------------------------------
33
+ Failed building wheel for mecab-python3
34
+ Running setup.py clean for mecab-python3
35
+ Failed to build mecab-python3
36
+ Installing collected packages: mecab-python3
37
+ Running setup.py install for mecab-python3 ... error
38
+ Complete output from command /home/User/.pyenv/versions/anaconda3-5.2.0/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-_0warbr_/mecab-python3/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-6oh17sp6/install-record.txt --single-version-externally-managed --compile:
39
+ /home/User/.pyenv/versions/anaconda3-5.2.0/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
40
+ warnings.warn(msg)
41
+ running install
42
+ running build
43
+ running build_py
44
+ running build_ext
45
+ building '_MeCab' extension
46
+ swigging MeCab.i to MeCab_wrap.cpp
47
+ swig -python -shadow -c++ -I/usr/include -o MeCab_wrap.cpp MeCab.i
48
+ unable to execute 'swig': No such file or directory
49
+ error: command 'swig' failed with exit status 1
50
+
51
+ ----------------------------------------
52
+ Command "/home/User/.pyenv/versions/anaconda3-5.2.0/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-_0warbr_/mecab-python3/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-6oh17sp6/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-_0warbr_/mecab-python3/
53
+
15
54
  ```
16
55
 
17
56
  ### その前にインストールしたこと

3

エラー全文を追記

2019/02/06 02:09

投稿

wakky
wakky

スコア20

title CHANGED
File without changes
body CHANGED
@@ -11,16 +11,7 @@
11
11
  ### 発生している問題・エラーメッセージ
12
12
 
13
13
  ```
14
- $ pip3 install mecab-python3
15
14
 
16
- Collecting mecab-python3
17
- Downloading https://files.pythonhosted.org/packages/ac/48/295efe525df40cbc2173748eb869290e81a57e835bc41f6d3834fc5dad5f/mecab-python3-0.996.1.tar.gz
18
- Building wheels for collected packages: mecab-python3
19
- ...(長いので省略)
20
- ----------------------------------------
21
- Failed building wheel for mecab-python3
22
- ...(長いので省略)
23
- Command "/home/User/.pyenv/versions/anaconda3-5.2.0/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-_0warbr_/mecab-python3/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-6oh17sp6/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-_0warbr_/mecab-python3/
24
15
  ```
25
16
 
26
17
  ### その前にインストールしたこと

2

エラー全文を追記

2019/02/06 02:06

投稿

wakky
wakky

スコア20

title CHANGED
File without changes
body CHANGED
File without changes

1

エラー全文を追記

2019/02/06 02:01

投稿

wakky
wakky

スコア20

title CHANGED
File without changes
body CHANGED
File without changes