Software Engineering
[Error house] streamlit
Hyunseokim
2022. 8. 23. 11:11
https://streamlit.io/
https://github.com/streamlit/streamlit/issues
: 데이터사이언스와 머신러닝을 위한 파이썬으로 된 오픈소스 앱 프레임워크
GitHub - streamlit/streamlit: Streamlit — The fastest way to build data apps in Python
Streamlit — The fastest way to build data apps in Python - GitHub - streamlit/streamlit: Streamlit — The fastest way to build data apps in Python
github.com
version check dlib, streamlit, tensorflow
install
!pip install streamlit
streamlit hello
run
streamlit run app.py(파일이름)
pip install bokeh ftfy regex tqdm gdown
1
- OSError: [Errno 2] No such file or directory:
A) https://stackoverflow.com/questions/54778630/could-not-install-packages-due-to-an-environmenterror-errno-2-no-such-file-or - ERROR: Could not install packages due to an OSError: [WinError 5] 액세스가 거부되었습니다: 'c:\users\asus\anaconda3\envs\genforce-streamlit\lib\site-packages\~orch\lib\asmjit.dll'
Consider using the--user
option or check the permissions.
https://park-duck.tistory.com/entry/%ED%8C%8C%EC%9D%B4%EC%8D%AC-WinError-5-%EC%95%A1%EC%84%B8%EC%8A%A4-%EA%B1%B0%EB%B6%80-%EC%98%A4%EB%A5%98
pip install --user 써라 - ERROR: Could not install packages due to an OSError: [WinError 32]
https://webnautes.tistory.com/1397 - OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.
https://2-54.tistory.com/59 - AssertionError: Torch not compiled with CUDA enabled
https://github.com/pytorch/pytorch/issues/30664 - Torch not compiled with CUDA enabled
https://choice37.tistory.com/27
https://pytorch.org/get-started/locally/ - Torch not compiled with CUDA enabled
https://discuss.pytorch.org/t/torch-not-compiled-with-cuda-enabled/112467
2
- ModuleNotFoundError: No module named 'utils.webFunction'
A) https://likecode.tistory.com/250 - ModuleNotFoundError: No module named 'object_detection'
https://stackoverflow.com/questions/50113683/modulenotfounderror-no-module-named-object-detection - ModuleNotFoundError: No module named ‘streamlit.report_thread’
https://discuss.streamlit.io/t/modulenotfounderror-no-module-named-streamlit-report-thread/20983 - ModuleNotFoundError: No module named 'sklearn'
- ModuleNotFoundError: No module named 'sklearn.utils.murmurhash'
- ModuleNotFoundError: No module named 'skimage'
: https://log-mylife.tistory.com/entry/ModuleNotFoundError-No-module-named-skimage-%EC%97%90%EB%9F%AC-%ED%95%B4%EA%B2%B0-%EB%B0%A9%EB%B2%95 - ModuleNotFoundError: No module named 'imageio'
: https://forums.raspberrypi.com/viewtopic.php?t=265282
3
- AttributeError: module ‘click’ has no attribute ‘get_os_args’
https://discuss.streamlit.io/t/attributeerror-module-click-has-no-attribute-get-os-args/23621/10
pip install click==8.0.4 - AttributeError: module 'tensorflow' has no attribute 'ConfigProto'
- CacheKeyNotFoundError: Key not found in mem cache
https://github.com/streamlit/streamlit/issues/393 - treamlit.legacy_caching.caching.CacheKeyNotFoundError: Key not found in mem cache
https://docs.streamlit.io/knowledge-base/using-streamlit/caching-issues
4
- I can't install streamlit with pip
A) https://stackoverflow.com/questions/63083744/i-cant-install-streamlit-with-pip - no module named 'dlib'
A) https://stackoverflow.com/questions/52829483/importerror-no-module-named-dlib - ERROR: Failed building wheel for dlib
A) - Import "tfutil" could not be resolved
< reference >
- pip install과 conda install의 차이: https://databonanza.tistory.com/17
- conda activate face_gan
- pip freeze
- python -m pip install --upgrade pip
- pip install --upgrade tensorflow==1.15.5
- cv2는 pip install opencv-python
- https://stackoverflow.com/questions/18966564/pip-freeze-vs-pip-list