Well small improvement but the problem remains after two different methods.
In fact, I had an easy_install binary in my config that was broken
(scraps from previous tests). After some cleaning, I got back to the
/usr/bin/easy_install and retried my initial installation of babel from
the repository. This time no runtime error but 'about' page still
complains about the translations files.
Then I followed your suggestion with wheels :
$ pip install --user --find-links wheels/ babel
Collecting babel
Retrying (Retry(total=4, connect=None, read=None, redirect=None))
after connection broken by
'NewConnectionError("<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection
object at 0x1efce90>: Failed to establish a new connection: [Errno 101]
Le r\xc3\xa9seau n'est pas accessible",)': /simple/babel/
Retrying (Retry(total=3, connect=None, read=None, redirect=None))
after connection broken by
'NewConnectionError("<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection
object at 0x1efcbd0>: Failed to establish a new connection: [Errno 101]
Le r\xc3\xa9seau n'est pas accessible",)': /simple/babel/
Retrying (Retry(total=2, connect=None, read=None, redirect=None))
after connection broken by
'NewConnectionError("<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection
object at 0x1efc990>: Failed to establish a new connection: [Errno 101]
Le r\xc3\xa9seau n'est pas accessible",)': /simple/babel/
Retrying (Retry(total=1, connect=None, read=None, redirect=None))
after connection broken by
'NewConnectionError("<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection
object at 0x1e58b90>: Failed to establish a new connection: [Errno 101]
Le r\xc3\xa9seau n'est pas accessible",)': /simple/babel/
Retrying (Retry(total=0, connect=None, read=None, redirect=None))
after connection broken by
'NewConnectionError("<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection
object at 0x1e58750>: Failed to establish a new connection: [Errno 101]
Le r\xc3\xa9seau n'est pas accessible",)': /simple/babel/
Requirement already satisfied: pytz>=0a in
/usr/lib/python2.7/site-packages (from babel)
Installing collected packages: babel
Successfully installed babel-2.4.0
I found 2 folders in my local site-packages directory ('babel' &
'Babel-2.4.0.dist-info') and copied them to '~/trac/plugins'. Finally I
got almost the same outcome:
Babel Failed to read PKG-INFO file for Babel 2.4.0: [Errno 2] No such
file or directory:
'xxxxxxxxxx/trac/plugins/Babel-2.4.0.dist-info/PKG-INFO' (translations
unavailable)
But I'm in doubt now that my attempts are in fact useless: on
https://trac.edgewall.org/wiki/TracDownload#PreviousStableRelease**, the
prerequisites section specifies "Babel: 1.3
<https://pypi.python.org/pypi/Babel/1.3> (or 0.9.6
<https://babel.edgewall.org/wiki/Download#LatestRelease:0.9.6-2011-03-17>,
win32 installer available) needed for localizing Trac, otherwise
optional. Note that it needs to be installed *before* Trac when
installing the latter from source (.gz or .zip)."
Nicolas
On 02/08/2017 17:57, Ryan Ollos wrote:
On Wed, Aug 2, 2017 at 8:55 AM, Nicolas MARTIN <[email protected]
<mailto:[email protected]>> wrote:
2.7.6 exactly and of course pip is available from the repositories
but our admin doesn't want to be involved at all in the plugins
installation activities.
So I have to manage it by myself.
If you can't get the process to work with easy_install you could grab
the source for pip and install it.
https://pypi.python.org/pypi/pip
- Ryan
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.