docker-alpine
docker-alpine copied to clipboard
py3-pandas is installed as python3.8
FROM python:3.7-alpine
RUN echo "http://dl-8.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
RUN echo "http://dl-8.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories
RUN apk add py3-numpy py3-pandas py3-numpy-dev
whaterver version you have (3.7 above) py3-pandas will be installed at python3.8
apk info -L py3-pandas
usr/lib/python3.8/site-packages/pandas/__pycache__/__init__.cpython-38.pyc
Having the same issue here. Figured out any workaround for this yet? I tried apk add --root "/usr/lib/python3.7/site-packages" py3-pandas but that didn't have any effect.
/edit I just realized that's not how you use the --root option and this repo is not specific to that package.