[IPython-User] Installation on CentOS 6.3 - test failure
daveM
merbergd@gmail....
Wed Jan 2 09:36:06 CST 2013
Hi. I'm trying to install IPython on CentOS 6.3 running Python 2.7.3. I've
installed the 2.7.3 from source - the OS distribution comes with 2.6.6. I've
also installed numpy and scipy from source.
To install IPython, I did " python2.7 setup.py install". It runs OK, but
then fails one test with:
FAIL: IPython.utils.tests.test_path.test_not_writable_ipdir
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/local/lib/python2.7/site-packages/nose-1.2.1-py2.7.egg/nose/case.py",
line 197, in runTest
self.test(*self.arg)
File
"/usr/local/lib/python2.7/site-packages/IPython/testing/decorators.py", line
228, in skipper_func
return f(*args, **kwargs)
File
"/usr/local/lib/python2.7/site-packages/IPython/utils/tests/test_path.py",
line 397, in test_not_writable_ipdir
ipdir = path.get_ipython_dir()
File "/usr/local/lib/python2.7/site-packages/IPython/testing/tools.py",
line 359, in __exit__
assert self.s in printed, notprinted_msg.format(self.s, self.channel,
printed)
AssertionError: Did not find 'is not a writable location' in printed output
(on stderr):
u''
<IPython.testing.tools.AssertPrints object at 0x2651650>.tee.flush()
setattr(<module 'sys' (built-in)>, <IPython.testing.tools.AssertPrints
object at 0x2651650>.channel, <IPython.testingtPrints object at
0x2651650>.orig_stream)
u'' = <IPython.testing.tools.AssertPrints object at
0x2651650>.buffer.getvalue()
>> assert <IPython.testing.tools.AssertPrints object at 0x2651650>.s in
>> u'', 'Did not find {0!r} in printed output (on
>> {.format(<IPython.testing.tools.AssertPrints object at 0x2651650>.s,
>> <IPython.testing.tools.AssertPrints object at 0x26516 u'')
return False
. . .
ERROR - 1 out of 8 test groups failed.
----------------------------------------
Runner failed: IPython.utils
You may wish to rerun this one individually, with:
/usr/local/bin/python2.7
/usr/local/lib/python2.7/site-packages/IPython/testing/iptest.py
IPython.utils
The above was run as root. I tried running the individual test as an
unprivileged user, but it still fails.
I appreciate any suggestions.
Dave
--
View this message in context: http://python.6.n6.nabble.com/Installation-on-CentOS-6-3-test-failure-tp5001147.html
Sent from the IPython - User mailing list archive at Nabble.com.
More information about the IPython-User
mailing list