From: Edward C. J. <edc...@co...> - 2012-05-14 22:12:19
|
I use up-to-date Debian testing (wheezy) with an amd64 architecture. I am trying to use matplotlib with Python 3.2, I downloaded matplotlib-matplotlib-v1.1.0-684-ge87374e.tar.gz I expanded the tarball and did python3.2 setup.py build and, as root, python3.2 setup.py install When I tried to run python3.2 tests.py I had two types of error. First the files in lib/dateutil: parser.py, rrule.py, etc. had not been run through 2to3. I removed back-quotes, used the function-call form for exceptions, and fixed some import statements. After fixing these errors I get 13 messages like: ERROR: Failure: AttributeError ('module' object has no attribute 'test_backend_svg') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3/dist-packages/nose/failure.py", line 37, in runTest raise self.exc_class(self.exc_val).with_traceback(self.tb) File "/usr/lib/python3/dist-packages/nose/loader.py", line 379, in loadTestsFromName module = resolve_name(addr.module) File "/usr/lib/python3/dist-packages/nose/util.py", line 331, in resolve_name obj = getattr(obj, part) AttributeError: 'module' object has no attribute 'test_backend_svg' These tests are all in build/lib.linux-x86_64-3.2/matplotlib/tests. There is a similar problem in http://sourceforge.net/mailarchive/message.php?msg_id=28398373 What is the problem and the fix? |