pepper wiki


%./setup.sh ruby:[2.2.2]
New python executable in /Users/outannexway/projects/PepperWiki/env/bin/python2.7
Also creating executable in /Users/outannexway/projects/PepperWiki/env/bin/python
Installing setuptools, pip, wheel...done.
Collecting wikipedia (from -r requirements.txt (line 1))
Collecting requests<3.0.0,>=2.0.0 (from wikipedia->-r requirements.txt (line 1))
Using cached requests-2.9.1-py2.py3-none-any.whl
Collecting beautifulsoup4 (from wikipedia->-r requirements.txt (line 1))
Using cached beautifulsoup4-4.4.1-py2-none-any.whl
Installing collected packages: requests, beautifulsoup4, wikipedia
Exception:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/pip/basecommand.py", line 209, in main
status = self.run(options, args)
File "/usr/local/lib/python2.7/site-packages/pip/commands/install.py", line 317, in run
prefix=options.prefix_path,
File "/usr/local/lib/python2.7/site-packages/pip/req/req_set.py", line 731, in install
**kwargs
File "/usr/local/lib/python2.7/site-packages/pip/req/req_install.py", line 841, in install
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File "/usr/local/lib/python2.7/site-packages/pip/req/req_install.py", line 1040, in move_wheel_files
isolated=self.isolated,
File "/usr/local/lib/python2.7/site-packages/pip/wheel.py", line 246, in move_wheel_files
prefix=prefix,
File "/usr/local/lib/python2.7/site-packages/pip/locations.py", line 153, in distutils_scheme
i.finalize_options()
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/install.py", line 264, in finalize_options
"must supply either home or prefix/exec-prefix -- not both"
DistutilsOptionError: must supply either home or prefix/exec-prefix -- not both

You can make this "empty prefix" the default by adding a ~/.pydistutils.cfg file with the following contents:

[install]
prefix
=

%sudo pip install virtualenv ruby:[2.2.2]
Password:
The directory '/Users/outannexway/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/Users/outannexway/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
.pydistutils.cfg+ < buffers
Collecting virtualenv
Downloading virtualenv-14.0.6-py2.py3-none-any.whl (1.8MB)
100% |████████████████████████████████| 1.8MB 289kB/s
Installing collected packages: virtualenv
Successfully installed virtualenv-14.0.6

%cd PepperWiki/ ruby:[2.2.2]
112506784 drwxr-xr-x@ 10 outannexway staff - 340B 2 8 14:07:24 2016 .git/
112506847 -rw-r--r--@ 1 outannexway staff - 163B 2 8 14:07:24 2016 .gitignore
112506848 -rw-r--r--@ 1 outannexway staff - 1.1K 2 8 14:07:24 2016 LICENSE
112506849 -rw-r--r--@ 1 outannexway staff - 1.2K 2 8 14:07:24 2016 README.md
112506850 drwxr-xr-x@ 7 outannexway staff - 238B 2 8 14:40:53 2016 WikipediaExample/
112510931 drwxr-xr-x@ 7 outannexway staff - 238B 2 8 14:25:42 2016 env/
112506860 -rw-r--r--@ 1 outannexway staff - 10B 2 8 14:07:24 2016 requirements.txt
112510912 -rwxr-xr-x@ 1 outannexway staff - 366B 2 8 14:22:04 2016 setup.sh*
112506862 -rw-r--r--@ 1 outannexway staff - 369B 2 8 14:07:24 2016 setup_win.sh

正常にコレグラフに導入できたけど、実行して、話しかけてもwikiで調べてくれないようです。
原因不明です。