아이패드에서 jupyter 앱인 -carnets-을 쓰다가 matplotlib 라이브러리를 쓰면 한글font가 없어서 사각형 글자로 깨져보인다. 대부분 예제가 MAC (노트북) 기준으로 작성되다 보니 아이패드의 다른 설정을 반영을 하지 못한 것이다. ERROR MESSAGEsite-packages\IPython\core\pylabtools.py:151: UserWarning: Glyph 47928 (\N{HANGUL SYLLABLE MUN}) missing from current font 예제를 살펴보자한글이 들어가는 부분은 제대로 보이지 않고 4각형 박스로만 표현이 된다.# 가능한 font list 확인import matplotlib.font_manager as fmfontlist = [font...
참고자료 https://codechacha.com/ko/install-python37-in-ubuntu1804/ Ubuntu 18.04에서 Python3.7을 설치하는 방법Ubuntu 18.04에 파이썬3.7 버전을 설치하는 방법을 정리하였습니다. 아직 APT에서 파이썬3.7을 제공하지 않아 직접 설치파일을 다운받았습니다. 그리고 Alternatives를 이용하여 파이썬을 설치하였습니codechacha.com https://linuxhint.com/update_alternatives_ubuntu/ How to Use update-alternatives Command on UbuntuFreelancer & Linux System Administrator. Also loves Web API developm..
#2024-05-09 update ERROR MESSAGEuvicorn main:app --reload'uvicorn' 용어가 cmdlet, 함수, .... 기본코드를 입력하고 필요한 패키지가 설치되었음에도 pip install fastapipip install uvicorn 우분투나 gitpod.io 등의 환경에서는 잘 동작을 하나 정착 내 -Windows- 환경에서는 실행불가.사용자 환경 등에 Path를 이리저리 넣더라도 동작을 하지 않는다. # main.pyfrom fastapi import FastAPIapp = FastAPI()@app.get("/")async def root(): return {"message" : "Hello Hello"} # RU..
ctrl + shift + P >> Preferences: Open Current Profile Setting (JSON) 20230719CODE RUNNER SETTING "code-runner.executorMap": { "python": "set PYTHONIOENCODING=utf8 && cd $dir && $pythonPath -u $fullFileName", "c": "cd $dir && gcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", "cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutE..
docker code-server 이미지에서 pyenv를 설치하려는데 다음과 같은 오류가 발생한다기타 ubuntu / wsl에서도 동일한 메세지 발생시 조치는 아래방법으로 ERRORInspect or clean up the working tree atResults logged to /tmp/python-buildchecking for --enable-universalsdk... no 이런저런 방법을 찾다보니 - 사전모듈을 설치하고- 이후 curl pyenv.run 을 실행하여 설치하니 정상적으로 진행이 된다.https://gist.github.com/cedricbonhomme/ababe00d0a675ea5c69d777276e8f375# Prerequisites to build Python 사전모듈..