看板 Python 關於我們 聯絡資訊
Hi python expert sorry to bother However, I get below code on google colab it can run the streamlit on colab to let others link to this app.py due to google colab only can run 12 hours So, I am trying to use these code to run on my ubuntun PC however, it will show the thrid line code got error "Background processes not supported" I use Ipython to run it on both google colab and my local ubutntu So strange it can't run.......... Please help........ Thanks a lot code as below--------------------- ---------------------------------------------------------------- !pip install streamlit !npm install localtunnel !streamlit run app.py &>/dev/null& !npx localtunnel --port 8501 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 1.200.220.216 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/Python/M.1613302959.A.548.html
liton: Try to run your code one by one and line by line 02/14 20:44
ggggggh: 只有下面這行有問題欸 02/14 20:51
ggggggh: streamlit run app.py &>/dev/null& 02/14 20:51
penut85420: Is there any error message 02/15 00:53
bluecadence: error message 不是很清楚嗎 "Background processes 02/15 12:15
bluecadence: not supported" 02/15 12:16
bluecadence: 你執行命令裡面的 & 就是在跑 background job 02/15 12:17
MAGICXX: 為啥不用中文問捏...XD 02/16 03:35
loveyou9527: 略懂略懂 02/18 10:41
ggggggh: 抱歉。之前手機打不出中文 02/18 13:46
ggggggh: 感謝。 雖然還不知道怎麼做 02/18 13:46
ggggggh: 謝謝大家幫看 02/18 13:46