> On Dec 30, 2016, at 08:47, marco turchi <marco.tur...@gmail.com> wrote:
> 
> Dear All,
> I'm newer with PyLucene and I'm trying to instal it on my local home on a
> cluster. In this environment, I do not have root privilege,

You do not need root privileges if you don't modify the system python. One way 
to achieve that is to setup a python virtualenv first and install jcc and 
pylucene into it instead of the system python.

> I'm using a
> version of python (2.7.5) available in anaconda and our cluster is not
> connected to the WEB, so I cannot use setuptools.

You can use setuptools without a web connection, why not ?

> I have followed the instructions for JCC and I have used:
> python setup.py build
> python setup.py install --users
> 
> and JCC is installed in $home/.local
> 
> Then I have started to install pyLucene, I have changed the Makefile (using
> the Linux     (Debian Jessie 64-bit, Python 2.7.9, Oracle Java 1.8)
> configuration). The installation starts but it got stacked (for ages) here:
> ivy-configure:
> 
> [ivy:configure] :: loading settings :: file =
> /hltsrv0/turchi/Projects/QT21/WorkingFolder/NMT/software/pylucene-6.2.0/lucene-java-6.2.0/lucene/top-level-ivy-settings.xml

Ah, here, to build Java Lucene, ivy is required and without a web connection, 
it's going to be more difficult. You need to somehow make sure that all things 
ivy is going to download during the Lucene build (a one time setup only) are 
already there when you build Lucene.
You could do this on an equivalent machine that has a web connection and then 
copy the local ivy tree to the machine that doesn't.

Andi..

> 
> resolve:
> 
> Am I doing anything wrong? do you have any suggestions to help me to
> proceed with the installation?
> 
> Thanks a lot in advance for your help!
> 
> Best Regards,
> Marco

Reply via email to