Hallo
ein schlichtes
führt bei mir auf eine Eception bein installieren, aber das Modul ist installiert ... führt aber seinerseits beim
auf eine Fehlermeldung..... (dieselbe wie hier beim installieren:
Code
pi@raspberrypi ~ $ sudo pip-3.2 install statistics
Downloading/unpacking statistics
Downloading statistics-1.0.3.5.tar.gz
Running setup.py egg_info for package statistics
Downloading/unpacking docutils>=0.3 (from statistics)
Running setup.py egg_info for package docutils
warning: no files found matching 'MANIFEST'
warning: no files found matching '*' under directory 'extras'
warning: no previously-included files matching '.cvsignore' found under directory '*'
warning: no previously-included files matching '*.pyc' found under directory '*'
warning: no previously-included files matching '*~' found under directory '*'
warning: no previously-included files matching '.DS_Store' found under directory '*'
Installing collected packages: statistics, docutils
Running setup.py install for statistics
File "/usr/local/lib/python3.2/dist-packages/statistics/__init__.py", line 94
u"""
Basic statistics module.
This module provides functions for calculating statistics of data, including
averages, variance, and standard deviation.
Calculating averages
--------------------
================== =============================================
Function Description
================== =============================================
mean Arithmetic mean (average) of data.
median Median (middle value) of data.
median_low Low median of data.
median_high High median of data.
median_grouped Median, or 50th percentile, of grouped data.
mode Mode (most common value) of data.
================== =============================================
Calculate the arithmetic mean ("the average") of data:
>>> mean([-1.0, 2.5, 3.25, 5.75])
2.625
Calculate the standard median of discrete data:
>>> median([2, 3, 4, 5])
3.5
Calculate the median, or 50th percentile, of data grouped into class intervals
centred on the data values provided. E.g. if your data points are rounded to
the nearest whole number:
>>> median_grouped([2, 2, 3, 3, 3, 4]) #doctest: +ELLIPSIS
2.8333333333...
This should be interpreted in this way: you have two data points in the class
interval 1.5-2.5, three data points in the class interval 2.5-3.5, and one in
the class interval 3.5-4.5. The median of these data points is 2.8333...
Calculating variability or spread
---------------------------------
================== =============================================
Function Description
================== =============================================
pvariance Population variance of data.
variance Sample variance of data.
pstdev Population standard deviation of data.
stdev Sample standard deviation of data.
================== =============================================
Calculate the standard deviation of sample data:
>>> stdev([2.5, 3.25, 5.5, 11.25, 11.75]) #doctest: +ELLIPSIS
4.38961843444...
If you have previously calculated the mean, you can pass it as the optional
second argument to the four "spread" functions to avoid recalculating it:
>>> data = [1, 2, 2, 4, 4, 4, 5, 6]
>>> mu = mean(data)
>>> pvariance(data, mu)
2.5
Exceptions
----------
A single exception is defined: StatisticsError is a subclass of ValueError.
"""
^
SyntaxError: invalid syntax
Running setup.py install for docutils
copy/convert test suite
changing mode of build/scripts-3.2/rst2html.py from 644 to 755
changing mode of build/scripts-3.2/rst2s5.py from 644 to 755
changing mode of build/scripts-3.2/rst2latex.py from 644 to 755
changing mode of build/scripts-3.2/rst2xetex.py from 644 to 755
changing mode of build/scripts-3.2/rst2man.py from 644 to 755
changing mode of build/scripts-3.2/rst2xml.py from 644 to 755
changing mode of build/scripts-3.2/rst2pseudoxml.py from 644 to 755
changing mode of build/scripts-3.2/rstpep2html.py from 644 to 755
changing mode of build/scripts-3.2/rst2odt.py from 644 to 755
changing mode of build/scripts-3.2/rst2odt_prepstyles.py from 644 to 755
File "/usr/local/lib/python3.2/dist-packages/docutils/utils/math/math2html.py", line 87
u'@article':u'$authors. $title. <i>$journal</i>,{ {$volume:}$pages,} $month $year.{ doi: $doi.}{ URL <a href="$url">$url</a>.}{ $note.}',
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.2/dist-packages/docutils/writers/latex2e/__init__.py", line 716
ord('#'): ur'\#',
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.2/dist-packages/docutils/writers/docutils_xml.py", line 177
except xml.sax._exceptions.SAXParseException, error:
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.2/dist-packages/docutils/writers/odf_odt/__init__.py", line 38
except ImportError, e:
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.2/dist-packages/docutils/writers/html4css1/__init__.py", line 342
ord('&'): u'&',
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.2/dist-packages/docutils/writers/manpage.py", line 275
text = text.replace(u'\xa0', '\\ ')
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.2/dist-packages/docutils/writers/xetex/__init__.py", line 117
self.literal_double_quote = u'"' # TODO: use \textquotedbl
^
SyntaxError: invalid syntax
warning: no files found matching 'MANIFEST'
warning: no files found matching '*' under directory 'extras'
warning: no previously-included files matching '.cvsignore' found under directory '*'
warning: no previously-included files matching '*.pyc' found under directory '*'
warning: no previously-included files matching '*~' found under directory '*'
warning: no previously-included files matching '.DS_Store' found under directory '*'
changing mode of /usr/local/bin/rst2man.py to 755
changing mode of /usr/local/bin/rst2pseudoxml.py to 755
changing mode of /usr/local/bin/rst2xetex.py to 755
changing mode of /usr/local/bin/rst2latex.py to 755
changing mode of /usr/local/bin/rst2odt.py to 755
changing mode of /usr/local/bin/rst2xml.py to 755
changing mode of /usr/local/bin/rst2s5.py to 755
changing mode of /usr/local/bin/rst2html.py to 755
changing mode of /usr/local/bin/rst2odt_prepstyles.py to 755
changing mode of /usr/local/bin/rstpep2html.py to 755
Successfully installed statistics docutils
Cleaning up...
Alles anzeigen
Bitte um Hiiiiilfe
Danke
Gottfried