일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- 코로나19
- Kaggle
- programmers
- github
- 더현대서울 맛집
- Git
- 백준
- Real or Not? NLP with Disaster Tweets
- 프로그래머스
- 프로그래머스 파이썬
- dacon
- AI 경진대회
- 맥북
- leetcode
- 자연어처리
- ChatGPT
- 편스토랑
- PYTHON
- 우분투
- SW Expert Academy
- hackerrank
- 데이콘
- 파이썬
- 편스토랑 우승상품
- ubuntu
- 금융문자분석경진대회
- Docker
- gs25
- Baekjoon
- 캐치카페
- Today
- Total
목록
반응형
전체 글 (1651)
솜씨좋은장씨
gunicorn을 활용하여 Flask로 만든 API를 배포하기 위하여 gunicorn --bind 0.0.0.0:5000 -w=2 -k=gevent --threads=2 app:app 위의 명령어를 활용하여 실행을 하니 [Ubuntu] ModuleNotFoundError: No module named '_bz2' 해결 방법 우분투에서 아래의 명령어를 통해 api를 gunicorn을 활용하여 띄우려고 할때 gunicorn --bind 0.0.0.0:5000 -w=2 -k=gevent --threads=2 app:app /usr/local/lib/python3.7/importlib/_bootstrap.py:219: Runtime.. somjang.tistory.com [Ubuntu] UserWarning: ..
Write a function to delete a node in a singly-linked list. You will not be given access to the head of the list, instead you will be given access to the node to be deleted directly. It is guaranteed that the node to be deleted is not a tail node in the list. Example 1: Input: head = [4,5,1,9], node = 5 Output: [4,1,9] Explanation: You are given the second node with value 5, the linked list shoul..
UserWarning: Could not import the lzma module. Your installed Python is incomplete. Attempting to use lzma compression will result in a RuntimeError. gunicorn을 사용하던 중 위와 같은 오류가 발생하게 되었습니다. 이를 해결 하는 방법은 다음과 같습니다. $ sudo apt-get install liblzma-dev apt-get install 명령어를 통하여 liblzma-dev를 설치해주면 됩니다. 그 다음 python을 한번 다시 컴파일 해주어야 합니다. 먼저 설치할 때 사용했던 파일들이 있는 디렉토리로 이동합니다. 만약 설치할 때 사용했던 파일들이 있는 디렉토리가 없다면 먼저..
우분투에서 아래의 명령어를 통해 api를 gunicorn을 활용하여 띄우려고 할때 gunicorn --bind 0.0.0.0:5000 -w=2 -k=gevent --threads=2 app:app /usr/local/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject return f(*args, **kwds) -- 중략 -- File "/home/azureuser/workplace/projects/QA_Extractor/qna-maker/Qn..
A web developer needs to know how to design a web page's size. So, given a specific rectangular web page’s area, your job by now is to design a rectangular web page, whose length L and width W satisfy the following requirements: The area of the rectangular web page you designed must equal to the given target area. The width W should not be larger than the length L, which means L >= W. The differ..
The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Given two integers x and y, calculate the Hamming distance. Note: 0 ≤ x, y < 231. Example: Input: x = 1, y = 4 Output: 2 Explanation: 1 (0 0 0 1) 4 (0 1 0 0) ↑ ↑ The above arrows point to positions where the corresponding bits are different. Soltuion class Solution: def hammingDist..
S and T are strings composed of lowercase letters. In S, no letter occurs more than once. S was sorted in some custom order previously. We want to permute the characters of T so that they match the order that S was sorted. More specifically, if x occurs before y in S, then x should occur before y in the returned string. Return any permutation of T (as a string) that satisfies this property. Exam..
Pycharm에서 Start SSH Session을 통하여 서버에 접속하여 사용을 하려고하는데 위와 같이 한글에 대한 정보가 모두 깨져서 나오는 경우가 있습니다. 이는 터미널에 설정되어있는 인코딩 정보가 한글과 맞지 않아 발생하는 문제입니다. 이를 해결하는 방법은 다음과 같습니다. Mac OS 의 경우 먼저 상단 바의 PyCharm을 클릭하고 Preferences... 를 클릭하여 환경 설정 창으로 이동합니다. 환경 설정 창에서 좌측 배너의 Tools > SSH Terminal을 선택하면 나오는 창에서 Default encoding을 UTF-8로 바꾸어 준 뒤 OK를 누르면 됩니다. Windows의 경우 먼저 상단 메뉴에서 File > Settings 를 선택합니다. 그 다음 Mac 과 동일하게 Tool..