git clone
cd lios-3
python3 setup.py install --install-data=/usr
則會出現下列錯誤:
traceback (most recent call last):
file "/usr/local/lib/python3.6/dist-packages/lios/main.py", line 1329, in make_preferences_effective
self.dict = dictionary.dict(dictionary.dictionary_language_dict[languages[self.preferences.language]])
indexerror: list index out of range
during handling of the above exception, another exception occurred:
traceback (most recent call last):
file "/usr/local/bin/lios", line 8, in linux_intelligent_ocr_solution()
file "/usr/local/lib/python3.6/dist-packages/lios/main.py", line 342, in __init__
self.make_preferences_effective()
file "/usr/local/lib/python3.6/dist-packages/lios/main.py", line 1350, in make_preferences_effective
pacman -s aspell-fr""").format(languages[self.preferences.language]))
indexerror: list index out of range
即使將上面安裝的lios解除安裝,然後使用 sudo apt install lios 的命令安裝並執行lios後,也還會繼續得到相同的錯誤,此時的處理辦法就是解除安裝錯誤提示裡面的相關資料夾和檔案,然後重新使用 sudo apt install lios 的方法安裝即可正常執行:
sudo rm -rf /usr/local/lib/python3.6/dist-packages/lios
sudo rm /usr/local/lib/python3.6/dist-packages/lios-2.5.egg-info
Ubuntu18 如何安裝Postman
1.第一種方式 snap install sudo snap install postman 由於snap安裝方式是最新,雖然是以後的趨勢,但是目前,有的應用安裝或多或少存在問題。2第二種方式 傳統安裝包 sudo tar xzf postman linux x64 7.11.0.tar.gz c ...
ubuntu 18 編譯安裝 nginx
1,安裝依賴 apt get install gcc apt get install libpcre3 libpcre3 dev apt get install zlib1g zlib1g dev ubuntu14.04的倉庫中沒有發現openssl dev,由下面openssl和libssl de...
Ubuntu18安裝cuckoo沙箱
關於cuckoo的詳細資訊見官方文件 系統基礎軟體安裝 sudo apt get install python python pip python dev libffi dev libssl dev sudo apt get install python virtualenv python setu...