[Moin-user] AttributeError: 'module' object has no attribute 'HIGHEST_PROTOCOL'
Javier Lopez Cacheiro
jlopez at cesga.es
Thu Nov 3 01:33:29 EST 2005
Sorry, it was my fault. I did not check the docs/CHANGES file where it
is said that the requirements are Python >= 2.3. Unfortunately I have
python-2.2.3-6.1 (RedHatEnterprise 3).
Thanks to ThomasWaldmann for the help,
Javier
Javier Lopez Cacheiro wrote:
> Hi,
> I am trying to install MoinMoin 1.5.0beta1 but in the line:
> "from MoinMoin.request import RequestCGI"
> of the moin.cgi script I get the following error:
> ----
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File
> "/home/moin/local/moin-1.5.0//lib/python2.2/site-packages/MoinMoin/request.py",
> line 11, in ?
> from MoinMoin import config, wikiutil, user
> File
> "/home/moin/local/moin-1.5.0//lib/python2.2/site-packages/MoinMoin/user.py",
> line 17, in ?
> PICKLE_PROTOCOL = pickle.HIGHEST_PROTOCOL
> AttributeError: 'module' object has no attribute 'HIGHEST_PROTOCOL'
> ----
>
> During the installation I also got some warnings and a syntax error:
> ----
> [moin at www2 moin-1.5.0beta1]$ python setup.py --quiet install
> --prefix=/home/moin/local/moin-1.5.0/ --record=install.log
> <string>:45: Warning: 'yield' will become a reserved keyword in the
> future
> File
> "/home/moin/local/moin-1.5.0//lib/python2.2/site-packages/MoinMoin/lupy.py",
> line 45
> yield v
> ^
> SyntaxError: invalid syntax
> <string>:102: Warning: 'yield' will become a reserved keyword in the
> future
> File
> "/home/moin/local/moin-1.5.0//lib/python2.2/site-packages/MoinMoin/logfile/logfile.py",
> line 102
> yield result
> ^
> SyntaxError: invalid syntax
> <string>:17: Warning: 'yield' will become a reserved keyword in the
> future
> File
> "/home/moin/local/moin-1.5.0//lib/python2.2/site-packages/MoinMoin/support/lupy/index/documentwriter.py",
> line 17
> yield m.group().lower()
> ^
> SyntaxError: invalid syntax
> <string>:218: Warning: 'yield' will become a reserved keyword in the
> future
> File
> "/home/moin/local/moin-1.5.0//lib/python2.2/site-packages/MoinMoin/support/lupy/index/segmentmerger.py",
> line 218
> yield self.position
> ^
> SyntaxError: invalid syntax
> warning: install: modules installed to
> '/home/moin/local/moin-1.5.0//lib/python2.2/site-packages/', which is
> not in Python's module search path (sys.path) -- you'll have to change
> the search path yourself
> ----
>
> I am able to run versions 1.3.0 and 1.4.0 without problems. What could
> be the problem with version 1.5.0beta1?
>
> Thanks,
> Javier
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server.
> Download
> it for free - -and be entered to win a 42" plasma tv or your very own
> Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> Moin-user mailing list
> Moin-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/moin-user
>
More information about the Moin-user
mailing list