[問題] how to run local turnnel on my local

看板Python作者 (ggggggh)時間3年前 (2021/02/14 19:42), 編輯推噓2(206)
留言8則, 5人參與, 3年前最新討論串1/1
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

02/14 20:44, 3年前 , 1F
Try to run your code one by one and line by line
02/14 20:44, 1F

02/14 20:51, 3年前 , 2F
只有下面這行有問題欸
02/14 20:51, 2F

02/14 20:51, 3年前 , 3F
streamlit run app.py &>/dev/null&
02/14 20:51, 3F

02/15 00:53, 3年前 , 4F
Is there any error message
02/15 00:53, 4F

02/15 12:15, 3年前 , 5F
error message 不是很清楚嗎 "Background processes
02/15 12:15, 5F

02/15 12:16, 3年前 , 6F
not supported"
02/15 12:16, 6F

02/15 12:17, 3年前 , 7F
你執行命令裡面的 & 就是在跑 background job
02/15 12:17, 7F

02/16 03:35, 3年前 , 8F
為啥不用中文問捏...XD
02/16 03:35, 8F
文章代碼(AID): #1WAGolL8 (Python)