2011-12-05 21 views
0

MacOS 10.6.4には、EPD 7.1の学術用バージョンがインストールされています。 私はeasy_installをrpy2python、rpy2インストールテスト - nosetests rpy2が失敗する

Searching for rpy2 
Reading http://pypi.python.org/simple/rpy2/ 
Reading http://rpy.sourceforge.net 
Best match: rpy2 2.2.4 
Downloading http://pypi.python.org/packages/source/r/rpy2/rpy2-2.2.4.tar.gz#md5=0192a3c05d8d97971e2bcf888944aff5 
Processing rpy2-2.2.4.tar.gz 
Running rpy2-2.2.4/setup.py -q bdist_egg --dist-dir /var/folders/st/stQUFIfOG28bmpY9dCspTk+++TI/-Tmp-/easy_install-TE6kYA/rpy2-2.2.4/egg-dist-tmp-qKzkC5 
Configuration for R as a library: 
    include_dirs: ('/Library/Frameworks/R.framework/Resources/include', '/Library/Frameworks/R.framework/Resources/include/x86_64') 
    libraries: ('Rblas', 'Rlapack') 
    library_dirs: ('/Library/Frameworks/R.framework/Resources/lib/x86_64',) 
    extra_link_args: ('-framework R', '-F/Library/Frameworks/R.framework/..') 
# OSX-specific (included in extra_link_args) 
    framework_dirs: ('-F/Library/Frameworks/R.framework/..',) 
    frameworks: ('-framework R',) 
warning: no previously-included files matching '*patch*' found anywhere in distribution 
warning: no previously-included files matching '*diff*' found anywhere in distribution 
warning: no previously-included files matching '.hg' found anywhere in distribution 
no previously-included directories found matching 'dist' 
zip_safe flag not set; analyzing archive contents... 
rpy2.rinterface.tests.test_EmbeddedR: module references __path__ 
Adding rpy2 2.2.4dev-20111204 to easy-install.pth file 

Installed /Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/rpy2-2.2.4dev_20111204-py2.7-macosx-10.5-x86_64.egg 
Processing dependencies for rpy2 
Finished processing dependencies for rpy2 
` 

は、その後、私はインストールをテストするためにnosetests rpy2を走ったと私は、次のエラー受信 `呼び出すことによってRpy2をインストール:ここで起こっていただきました!

====================================================================== 
ERROR: Failure: ImportError (No module named testRevents) 
---------------------------------------------------------------------- 
Traceback (most recent call last): 
    File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/nose/loader.py", line 390, in loadTestsFromName 
    addr.filename, addr.module) 
    File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/nose/importer.py", line 39, in importFromPath 
    return self.importFromDir(dir_path, fqname) 
    File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/nose/importer.py", line 86, in importFromDir 
    mod = load_module(part_fqname, fh, filename, desc) 
    File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/rpy2-2.2.4dev_20111204-py2.7-macosx-10.5-x86_64.egg/rpy2/interactive/tests/__init__.py", line 3, in <module> 
    import testRevents 
ImportError: No module named testRevents 

---------------------------------------------------------------------- 
Ran 1 test in 0.005s 

FAILED (errors=1) 

任意のアイデア?私はあなたの助けに大変感謝しています。

+0

が、それは私が 'のpython -m「rpy2.tests''を実行する必要があるということだろう代わりに?私がこれを走らせると、すべてのテストが合格した。 – codingknob

答えて

0

あなたが実行する必要がありRPy2のインストールをテストするように思える:

のpython -m 'rpy2.tests'

関連する問題