久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<small id='F928K'></small><noframes id='F928K'>

<i id='F928K'><tr id='F928K'><dt id='F928K'><q id='F928K'><span id='F928K'><b id='F928K'><form id='F928K'><ins id='F928K'></ins><ul id='F928K'></ul><sub id='F928K'></sub></form><legend id='F928K'></legend><bdo id='F928K'><pre id='F928K'><center id='F928K'></center></pre></bdo></b><th id='F928K'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='F928K'><tfoot id='F928K'></tfoot><dl id='F928K'><fieldset id='F928K'></fieldset></dl></div>
  • <legend id='F928K'><style id='F928K'><dir id='F928K'><q id='F928K'></q></dir></style></legend>

      • <bdo id='F928K'></bdo><ul id='F928K'></ul>

      1. <tfoot id='F928K'></tfoot>
      2. 在 ubuntu 14.04(trusty tahr) 上構建 Pylucene

        Building Pylucene on ubuntu 14.04(trusty tahr)(在 ubuntu 14.04(trusty tahr) 上構建 Pylucene)

        • <bdo id='lLEp9'></bdo><ul id='lLEp9'></ul>

          <small id='lLEp9'></small><noframes id='lLEp9'>

          <i id='lLEp9'><tr id='lLEp9'><dt id='lLEp9'><q id='lLEp9'><span id='lLEp9'><b id='lLEp9'><form id='lLEp9'><ins id='lLEp9'></ins><ul id='lLEp9'></ul><sub id='lLEp9'></sub></form><legend id='lLEp9'></legend><bdo id='lLEp9'><pre id='lLEp9'><center id='lLEp9'></center></pre></bdo></b><th id='lLEp9'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='lLEp9'><tfoot id='lLEp9'></tfoot><dl id='lLEp9'><fieldset id='lLEp9'></fieldset></dl></div>
              1. <legend id='lLEp9'><style id='lLEp9'><dir id='lLEp9'><q id='lLEp9'></q></dir></style></legend>
                  <tbody id='lLEp9'></tbody>

                <tfoot id='lLEp9'></tfoot>

                • 本文介紹了在 ubuntu 14.04(trusty tahr) 上構建 Pylucene的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  按照安裝說明,JCC搭建成功.

                  As per the installation instructions, JCC is successfully built.

                  安裝的依賴項是:螞蟻,openjdk-7-jdk,python-setuptools,python-dev.

                  Dependencies Installed were: ant, openjdk-7-jdk, python-setuptools, python-dev.

                  然后開始制作pylucene,在Makefile"中選擇與Ubuntu 11相對應的規格.

                  Then procedding to make pylucene, in "Makefile" i choose specs corresponding to Ubuntu 11.

                  # Linux     (Ubuntu 11.10 64-bit, Python 2.7.2, OpenJDK 1.7, setuptools 0.6.16)
                  # Be sure to also set JDK['linux2'] in jcc's setup.py to the JAVA_HOME value
                  # used below for ANT (and rebuild jcc after changing it).
                  PREFIX_PYTHON=/usr
                  ANT=JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64 /usr/bin/ant
                  PYTHON=$(PREFIX_PYTHON)/bin/python
                  JCC=$(PYTHON) -m jcc --shared
                  NUM_FILES=8
                  

                  在執行sudo make"命令時遇到以下錯誤:

                  On executing "sudo make" command following error was encountered:

                  /usr/bin/python -m jcc --shared --jar lucene-java-4.6.1/lucene/build/core/lucene-core-4.6.1.jar --jar lucene-java-4.6.1/lucene/build/analysis/common/lucene-analyzers-common-4.6.1.jar --jar lucene-java-4.6.1/lucene/build/memory/lucene-memory-4.6.1.jar --jar lucene-java-4.6.1/lucene/build/highlighter/lucene-highlighter-4.6.1.jar --jar build/jar/extensions.jar --jar lucene-java-4.6.1/lucene/build/queries/lucene-queries-4.6.1.jar --jar lucene-java-4.6.1/lucene/build/queryparser/lucene-queryparser-4.6.1.jar --jar lucene-java-4.6.1/lucene/build/sandbox/lucene-sandbox-4.6.1.jar --jar lucene-java-4.6.1/lucene/build/analysis/stempel/lucene-analyzers-stempel-4.6.1.jar --jar lucene-java-4.6.1/lucene/build/grouping/lucene-grouping-4.6.1.jar --jar lucene-java-4.6.1/lucene/build/join/lucene-join-4.6.1.jar --jar lucene-java-4.6.1/lucene/build/facet/lucene-facet-4.6.1.jar --jar lucene-java-4.6.1/lucene/build/suggest/lucene-suggest-4.6.1.jar --jar lucene-java-4.6.1/lucene/build/expressions/lucene-expressions-4.6.1.jar  --use_full_names --include lucene-java-4.6.1/lucene/build/misc/lucene-misc-4.6.1.jar --include lucene-java-4.6.1/lucene/expressions/lib/antlr-runtime-3.5.jar --include lucene-java-4.6.1/lucene/expressions/lib/asm-4.1.jar --include lucene-java-4.6.1/lucene/expressions/lib/asm-commons-4.1.jar --package java.lang java.lang.System java.lang.Runtime --package java.util java.util.Arrays java.util.Collections java.util.HashMap java.util.HashSet java.util.TreeSet java.lang.IllegalStateException java.lang.IndexOutOfBoundsException java.util.NoSuchElementException java.text.SimpleDateFormat java.text.DecimalFormat java.text.Collator --package java.util.concurrent java.util.concurrent.Executors --package java.util.regex --package java.io java.io.StringReader java.io.InputStreamReader java.io.FileInputStream java.io.DataInputStream --exclude org.apache.lucene.sandbox.queries.regex.JakartaRegexpCapabilities --exclude org.apache.regexp.RegexpTunnel --python lucene --mapping org.apache.lucene.document.Document 'get:(Ljava/lang/String;)Ljava/lang/String;' --mapping java.util.Properties 'getProperty:(Ljava/lang/String;)Ljava/lang/String;' --sequence java.util.AbstractList 'size:()I' 'get:(I)Ljava/lang/Object;' org.apache.lucene.index.IndexWriter:getReader --version 4.6.1 --module python/collections.py --module python/ICUNormalizer2Filter.py --module python/ICUFoldingFilter.py --module python/ICUTransformFilter.py --resources lucene-java-4.6.1/lucene/analysis/icu/src/resources --files 8 --build 
                    Warning: renaming static method 'toString' on class java.lang.Boolean to 'toString_' since it is shadowed by non-static method of same name.
                    Warning: renaming static method 'toString' on class java.lang.Character to 'toString_' since it is shadowed by non-static method of same name.
                  Exception in thread "main" java.lang.NoSuchMethodException: org.apache.lucene.analysis.Tokenizer.pythonDecRef()
                      at java.lang.Class.getMethod(Class.java:1665)
                  Traceback (most recent call last):
                    File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
                      "__main__", fname, loader, pkg_name)
                    File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
                      exec code in run_globals
                    File "/usr/local/lib/python2.7/dist-packages/JCC-2.19-py2.7-linux-x86_64.egg/jcc/__main__.py", line 107, in <module>
                      cpp.jcc(sys.argv)
                    File "/usr/local/lib/python2.7/dist-packages/JCC-2.19-py2.7-linux-x86_64.egg/jcc/cpp.py", line 687, in jcc
                      declares, typeset)
                    File "/usr/local/lib/python2.7/dist-packages/JCC-2.19-py2.7-linux-x86_64.egg/jcc/cpp.py", line 1174, in code
                      superMethod = find_method(superCls, methodName, params)
                    File "/usr/local/lib/python2.7/dist-packages/JCC-2.19-py2.7-linux-x86_64.egg/jcc/cpp.py", line 310, in find_method
                      if (e.getJavaException().getClass().getName() == 'java.lang.NoSuchMethodException'):
                    File "/usr/local/lib/python2.7/dist-packages/JCC-2.19-py2.7-linux-x86_64.egg/jcc/cpp.py", line 51, in getJavaException
                      return self.args[0]
                  IndexError: tuple index out of range
                  make: *** [compile] Error 1
                  

                  關于搜索錯誤幾老的郵件列表 被發現有類似的錯誤,但我無法得到任何提示.

                  On searching for the error few old mailing list were found which had similar errors but i was not able to get any hint out.

                  您能告訴我出了什么問題以及如何解決嗎?

                  Can you please let me know what went wrong and how to fix it?

                  安裝pyLucene之前需要先安裝java Lucene嗎?

                  Do I need to install the java Lucene before installing pyLucene?

                  推薦答案

                  按照這些說明(http://bendemott.blogspot.de/2013/11/installing-pylucene-4-451.html) 用 pylucene 安裝了我的系統.在它工作之前,它很瘋狂,我遇到了這個問題(在 ubuntu 上構建 Pylucene14.04(trusty tahr)) 但是經過徹底的重新格式化和新的 ubuntu 14.04 我讓它運行了:

                  Following these instructions (http://bendemott.blogspot.de/2013/11/installing-pylucene-4-451.html) got my system installed with pylucene. Before it was working, it was crazy and I had this problem (Building Pylucene on ubuntu 14.04(trusty tahr)) but after a thorough reformatting and a fresh ubuntu 14.04 i got it running:

                  # Downloads and extract pylucene
                  $ wget http://mirror.serversupportforum.de/apache/lucene/pylucene/pylucene-4.9.0-0-src.tar.gz
                  $ tar -zxvf pylucene-4.9.0-0-src.tar.gz
                  
                  # Install dependencies
                  $ sudo apt-get install ant
                  $ sudo apt-get install g++
                  $ sudo apt-get install python-dev
                  $ sudo apt-get install python3-setuptools
                  $ sudo easy_install pip
                  $ sudo pip install setuptools --upgrade 
                  
                  # Build and install pylucene
                  $ cd pylucene-4.9.0-0/jcc
                  $ sudo python setup.py build
                  $ sudo python setup.py install 
                  $ cd ..
                  

                  編輯位于您剛剛提取的pylucene-4.9.0目錄根目錄下的名為Makefile"的文件并找到這一行:

                  Edit the file named "Makefile" located at the root of the pylucene-4.9.0 directory you just extracted and locate this line:

                  # Linux     (Ubuntu 11.10 64-bit, Python 2.7.2, OpenJDK 1.7, setuptools 0.6.16)
                  

                  如圖所示取消 Makefile 中的注釋行(如果您使用的是 linux)并保存更改:

                  Uncomment lines in the Makefile as shown (if you are on linux) and save the changes:

                  然后繼續:

                  $ make 
                  $ sudo make install  
                  

                  瞧,它已安裝.測試 pylucene 是否有效:

                  Voila, it's installed. To test that pylucene works:

                  $ python
                  >>> import lucene
                  >>> lucene.initVM()
                  

                  這篇關于在 ubuntu 14.04(trusty tahr) 上構建 Pylucene的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  How to make a discord bot that gives roles in Python?(如何制作一個在 Python 中提供角色的不和諧機器人?)
                  Discord bot isn#39;t responding to commands(Discord 機器人沒有響應命令)
                  Can you Get the quot;About mequot; feature on Discord bot#39;s? (Discord.py)(你能得到“關于我嗎?Discord 機器人的功能?(不和諧.py))
                  message.channel.id Discord PY(message.channel.id Discord PY)
                  How do I host my discord.py bot on heroku?(如何在 heroku 上托管我的 discord.py 機器人?)
                  discord.py - Automaticaly Change an Role Color(discord.py - 自動更改角色顏色)
                  <i id='8aKmM'><tr id='8aKmM'><dt id='8aKmM'><q id='8aKmM'><span id='8aKmM'><b id='8aKmM'><form id='8aKmM'><ins id='8aKmM'></ins><ul id='8aKmM'></ul><sub id='8aKmM'></sub></form><legend id='8aKmM'></legend><bdo id='8aKmM'><pre id='8aKmM'><center id='8aKmM'></center></pre></bdo></b><th id='8aKmM'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='8aKmM'><tfoot id='8aKmM'></tfoot><dl id='8aKmM'><fieldset id='8aKmM'></fieldset></dl></div>

                      <bdo id='8aKmM'></bdo><ul id='8aKmM'></ul>
                      • <small id='8aKmM'></small><noframes id='8aKmM'>

                        <tfoot id='8aKmM'></tfoot>

                          <legend id='8aKmM'><style id='8aKmM'><dir id='8aKmM'><q id='8aKmM'></q></dir></style></legend>
                            <tbody id='8aKmM'></tbody>

                            主站蜘蛛池模板: 欧美一区二区三区在线免费观看 | 日韩视频精品 | 亚洲视频区 | 日一区二区 | 日韩一区二区不卡 | 久久剧场| 国产色播av在线 | 日韩欧美一区在线 | www.一区二区| 精品国产久 | 亚洲国产一区二区视频 | 国产精品久久久久影院色老大 | 狠狠干天天干 | 久久精品国产久精国产 | 精品无码久久久久久久动漫 | 51ⅴ精品国产91久久久久久 | 亚洲福利在线观看 | 亚洲精品一区二区三区蜜桃久 | 欧美一区二区视频 | 天天干视频网 | 91精品成人久久 | 成人伊人 | 精品视频在线免费观看 | 色综合九九 | 亚洲经典一区 | 久久99精品久久久久久狂牛 | 日韩一区二区三区精品 | 欧美精品片 | 免费观看av | 精品久久99 | 国产精品一区久久久久 | 成人福利网站 | 国产免费a视频 | 亚洲电影免费 | 久久中文免费视频 | 久久99深爱久久99精品 | 欧美激情五月 | 日韩欧美国产精品一区二区三区 | 中文字幕免费在线观看 | 麻豆毛片 | 激情a |