본문 바로가기

명사 美 비격식 (무리 중에서) 아주 뛰어난[눈에 띄는] 사람[것]

인공지능/PYTHON

Python Streamlit 종료방법: 이 전 서비스가 게속 돌아간다

 

Python streamlit을 경험하고 있던도중, 

같지만 비슷한 chatbot을 하나 더 만들고 싶어 만들어 실행하는 와중 코드가 전혀 바뀌지안히고있다는것을 알았다. 

 

 

 

 

이런화면이 떠야하는데

 

 

 

계속 이전 chatbot만이 보임

 

 

 

 

 

deactivate하고 다시 실행한것인데 계속 살아있는 듯 했다 .

같은 포트번호를 streamlit가 사용하고있고 비활성화를 하거나 다른 py를 실행했음에도 말을 듣지않고있는것.

 

 

 

 

모든 streamlit를 종료하기 위해 수행뒤 다시 실행시키니 해결됬다.

명령어가 안될경우 순차적으로 다음다음것을 사용

taskkill /F /IM streamlit.exe
taskkill /F /IM python.exe

 

https://standout.tistory.com/298

 

Several ports (8005, 8080) required by Tomcat v9.0 Server at localhost are already in use

Several ports (8005, 8080) required by Tomcat v9.0 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or chan

standout.tistory.com

 

 

 

 

 

명령어 실행시 꼭 종료된것을 확인 뒤 실행하자.