アプリ版:「スタンプのみでお礼する」機能のリリースについて

度々申し訳ありません。
cd pylearn2
python setup.py developの実行を行い、

running develop
running egg_info
writing requirements to pylearn2.egg-info/requires.txt
writing pylearn2.egg-info/PKG-INFO
writing top-level names to pylearn2.egg-info/top_level.txt
writing dependency_links to pylearn2.egg-info/dependency_links.txt
reading manifest file 'pylearn2.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'pylearn2.egg-info/SOURCES.txt'
running build_ext
Creating /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pylearn2.egg-link (link to .)
pylearn2 0.1dev is already the active version in easy-install.pth

Installed /Users/k11053kk/pylearn2
Processing dependencies for pylearn2==0.1dev
Searching for argparse==1.2.2
Best match: argparse 1.2.2
Processing argparse-1.2.2-py2.7.egg
argparse 1.2.2 is already the active version in easy-install.pth

Using /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/argparse-1.2.2-py2.7.egg
Searching for PyYAML==3.11
Best match: PyYAML 3.11
Processing PyYAML-3.11-py2.7-macosx-10.6-intel.egg
PyYAML 3.11 is already the active version in easy-install.pth

Using /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyYAML-3.11-py2.7-macosx-10.6-intel.egg
Searching for Theano==0.6.0
Best match: Theano 0.6.0
Processing Theano-0.6.0-py2.7.egg
Theano 0.6.0 is already the active version in easy-install.pth
Installing theano-cache script to /Library/Frameworks/Python.framework/Versions/2.7/bin
Installing theano-nose script to /Library/Frameworks/Python.framework/Versions/2.7/bin
Installing theano-test script to /Library/Frameworks/Python.framework/Versions/2.7/bin

Using /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Theano-0.6.0-py2.7.egg
Searching for numpy==1.7.2
Best match: numpy 1.7.2
Adding numpy 1.7.2 to easy-install.pth file

Using /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
Searching for scipy==0.16.0.dev-3a00319
Best match: scipy 0.16.0.dev-3a00319
Adding scipy 0.16.0.dev-3a00319 to easy-install.pth file

Using /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
Finished processing dependencies for pylearn2==0.1dev
と、developは成功致しました。

しかし、
cd pylearn2/pylearn2/scripts/tutorials/grbm_smd/
python make_dataset.py
の実行を行ったところ、
Traceback (most recent call last):
File "make_dataset.py", line 27, in <module>
train = cifar10.CIFAR10(which_set="train")
File "/Users/aaa/pylearn2/pylearn2/datasets/cifar10.py", line 73, in __init__
data = CIFAR10._unpickle(fname)
File "/Users/aaa/pylearn2/pylearn2/datasets/cifar10.py", line 244, in _unpickle
fname = os.path.join(string_utils.preprocess('${PYLEARN2_DATA_PATH}'),
File "/Users/aaa/pylearn2/pylearn2/utils/string_utils.py", line 55, in preprocess
reraise_as(NoDataPathError())
File "/Users/aaa/pylearn2/pylearn2/utils/exc.py", line 90, in reraise_as
six.reraise(type(new_exc), new_exc, orig_exc_traceback)
File "/Users/aaa/pylearn2/pylearn2/utils/string_utils.py", line 52, in preprocess
else os.environ[varname])
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/UserDict.py", line 23, in __getitem__
raise KeyError(key)
pylearn2.utils.exc.NoDataPathError: You need to define your PYLEARN2_DATA_PATH environment variable. If you are
using a computer at LISA, this should be set to /data/lisa/data.

Platform-specific instructions for setting environment variables:

Linux
=====
On most linux setups, you can define your environment variable by adding this
line to your ~/.bashrc file:
export PYLEARN2_VIEWER_COMMAND="eog --new-instance"

*** YOU MUST INCLUDE THE WORD "export". DO NOT JUST ASSIGN TO THE ENVIRONMENT VARIABLE ***
If you do not include the word "export", the environment variable will be set
in your bash shell, but will not be visible to processes that you launch from
it, like the python interpreter.
対応策をお願い致します。
足りない部分は補足します。

A 回答 (1件)

少しは、メッセージを読んで、自分で考えてはどうですか?



この先も全部人に聞くつもりですか?
それなら、求人サイトとかで「プログラムを作ってくれる人」を募集する事をおすすめします。


> You need to define your PYLEARN2_DATA_PATH environment variable

と書いてあるのだから、その通りにしたらいいのでは?
少なくとも「PYLEARN2_DATA_PATH」で検索すれば有用な情報は見つかるはずですよ。
    • good
    • 0

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!