Hi,

the documentation of the current development version
(http://rpy.sourceforge.net/rpy2/doc-dev/html/overview.html) states
that the minimum requirement for Rpy 2.2 is python 2.5, although
development is done on 2.6. As I've got one older system with Python
2.5, I ran into two issues that make Rpy v2.2 incompatible with python
2.5:

 - setup.py imports 'namedtuple' from 'collection', although that's
only available in Python 2.6. The import line can actually be removed,
as there's no use of namedtuple in setup.py, or at least I couldn't
find one in the alpha4 snapshot.

 - Probably more severe: PyUnicode_FromString() is used quite a lot in
the C-code, but was newly introduced in Python 2.6 - so it gives
import errors when used with python 2.5 because PyUnicode_FromString
can't be found.

For my own purpose, I'll of course upgrade to a more recent Python
version (long overdue anyway), so I don't really care much. But maybe
the documentation should be fixed to make clear that Python 2.6 is
required for Rpy 2.2.

Thanks a lot,

  Christian.

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to