質問編集履歴

4

エラー全文を追記

2019/02/06 02:09

投稿

wakky
wakky

スコア20

test CHANGED
File without changes
test CHANGED
@@ -24,6 +24,84 @@
24
24
 
25
25
  ```
26
26
 
27
+ $ pip3 install mecab-python3
28
+
29
+ Collecting mecab-python3
30
+
31
+ Downloading https://files.pythonhosted.org/packages/ac/48/295efe525df40cbc2173748eb869290e81a57e835bc41f6d3834fc5dad5f/mecab-python3-0.996.1.tar.gz
32
+
33
+ Building wheels for collected packages: mecab-python3
34
+
35
+ Building wheel for mecab-python3 (setup.py) ... error
36
+
37
+ 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:
38
+
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
+
41
+ warnings.warn(msg)
42
+
43
+ running bdist_wheel
44
+
45
+ running build
46
+
47
+ running build_py
48
+
49
+ running build_ext
50
+
51
+ building '_MeCab' extension
52
+
53
+ swigging MeCab.i to MeCab_wrap.cpp
54
+
55
+ swig -python -shadow -c++ -I/usr/include -o MeCab_wrap.cpp MeCab.i
56
+
57
+ unable to execute 'swig': No such file or directory
58
+
59
+ error: command 'swig' failed with exit status 1
60
+
61
+
62
+
63
+ ----------------------------------------
64
+
65
+ Failed building wheel for mecab-python3
66
+
67
+ Running setup.py clean for mecab-python3
68
+
69
+ Failed to build mecab-python3
70
+
71
+ Installing collected packages: mecab-python3
72
+
73
+ Running setup.py install for mecab-python3 ... error
74
+
75
+ 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:
76
+
77
+ /home/User/.pyenv/versions/anaconda3-5.2.0/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
78
+
79
+ warnings.warn(msg)
80
+
81
+ running install
82
+
83
+ running build
84
+
85
+ running build_py
86
+
87
+ running build_ext
88
+
89
+ building '_MeCab' extension
90
+
91
+ swigging MeCab.i to MeCab_wrap.cpp
92
+
93
+ swig -python -shadow -c++ -I/usr/include -o MeCab_wrap.cpp MeCab.i
94
+
95
+ unable to execute 'swig': No such file or directory
96
+
97
+ error: command 'swig' failed with exit status 1
98
+
99
+
100
+
101
+ ----------------------------------------
102
+
103
+ 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/
104
+
27
105
 
28
106
 
29
107
  ```

3

エラー全文を追記

2019/02/06 02:09

投稿

wakky
wakky

スコア20

test CHANGED
File without changes
test CHANGED
@@ -24,25 +24,7 @@
24
24
 
25
25
  ```
26
26
 
27
- $ pip3 install mecab-python3
28
27
 
29
-
30
-
31
- Collecting mecab-python3
32
-
33
- Downloading https://files.pythonhosted.org/packages/ac/48/295efe525df40cbc2173748eb869290e81a57e835bc41f6d3834fc5dad5f/mecab-python3-0.996.1.tar.gz
34
-
35
- Building wheels for collected packages: mecab-python3
36
-
37
- ...(長いので省略)
38
-
39
- ----------------------------------------
40
-
41
- Failed building wheel for mecab-python3
42
-
43
- ...(長いので省略)
44
-
45
- 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/
46
28
 
47
29
  ```
48
30
 

2

エラー全文を追記

2019/02/06 02:06

投稿

wakky
wakky

スコア20

test CHANGED
File without changes
test CHANGED
File without changes

1

エラー全文を追記

2019/02/06 02:01

投稿

wakky
wakky

スコア20

test CHANGED
File without changes
test CHANGED
File without changes