問題描述
我在啟動 django 或 ipython notebook 時遇到以下問題
I getting the below issue when firing up django or ipython notebook
/opt/bitnami/python/bin/.python2.7.bin:加載共享庫時出錯:libreadline.so.5
然而 libreadline.so.5 在我的系統中存在如下圖所示定位后
However libreadline.so.5 exists in my system after locating it as shown below
root@linux:/opt/bitnami/scripts# 定位 libreadline.so.5/opt/bitnami/common/lib/libreadline.so.5/opt/bitnami/common/lib/libreadline.so.5.2
我還導出了環境變量中的路徑(libreadlive.so.5 所在的位置),但似乎仍然沒有解決我的問題(見下文)
I have also exported the path in the environment variable (where the libreadlive.so.5 is located) but still does'nt seems to be resolving my issue (see below)
導出 LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$HOME/opt/bitnami/common/lib
還有一個由 bitnami 提供的腳本,它位于/opt/bitnami/scripts/setenv.sh.但即使在執行之后我仍然卡住了.
Also there is a script which is being provided by bitnami which is located in /opt/bitnami/scripts/setenv.sh. But even after executing it still i am stuck.
任何人都可以幫助我解決這個問題
Anyone can help me with this
推薦答案
你可以執行以下操作,看看是否解決了你的問題?
Can you execute the following and see if it solves your issue?
./opt/bitnami/scripts/setenv.sh
. /opt/bitnami/scripts/setenv.sh
(注意點和腳本路徑之間的空格)
(notice the space between the dot and the path to the script)
還有你正在執行什么導致你出現這個錯誤?
Also what are you executing that gives you that error?
這篇關于Bitnami -/opt/bitnami/python/bin/.python2.7.bin:加載共享庫時出錯:libreadline.so.5的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!