Dockerfile that is for installing packages using poetry
FROM python:3.10-slim-buster WORKDIR /app COPY ./ ./ RUN apt-get update -y RUN apt-get upgrade -y RUN apt-get install curl -y…
FROM python:3.10-slim-buster WORKDIR /app COPY ./ ./ RUN apt-get update -y RUN apt-get upgrade -y RUN apt-get install curl -y…
curl -X 'GET' -G 'http://localhost:3333/hosting' --data-urlencode 'sentence1=ワンダフル' --data-urlencode 'sentence2=我爱拉面'
docker run -it -d --name server -p 1111:80 -e https_proxy=http://proxyserver your-container-name
import dotenv cfg = dotenv.dotenv_values('.env')
Add a package source Install torch based on the ‘source’
Calling from pyocr
Dataframe-2D to_numpy() Series-1D
pip install pip-licenses pip-licenses > licenses.txt
[tool.poetry] name = "project" version = "0.1.0" description = "" authors = ["kevin <your@gmail.com>"] readme = "README.md" packages = [{include…
When you install Python using pyenv install 3.11.1, the below error might occur. ModuleNotFoundError: No module named ‘_ssl’ERROR: The Python…