Closed mathiaHT closed 2 years ago
Sorry, I don't understand? Why does it compile from source?
This is a good question, I did update the dockerfile above, it contains everything
Could you try rust nightly?
Probably it is an older pip version that doesn't try to install binaries by default. You can upgrade pip or use: pip3 install --only-binary :all: polars
.
FROM public.ecr.aws/lambda/python:3.9
WORKDIR /app
RUN yum update -y && \
yum install -y \
cmake3 \
curl \
Cython \
findutils \
gcc \
gcc-c++ \
git \
gzip \
jq \
libxml2 \
libxslt \
make \
man \
man-pages \
openssl-devel \
rsync \
tar \
wget \
which \
zip && \
ln -s /usr/bin/cmake3 /usr/bin/cmake
RUN pip3 install --only-binary :all: polars
Thanks, how would you do that with poetry? I don't find a way of specifying such option
You probably need to upgrade pip in that case.
I understood that poetry uses pip which does not use the wheel version of numpy when pip <= 20.2.x.
What language are you using?
python
Have you tried latest version of polars?
If the problem was resolved, please update polars. :)
What version of polars are you using?
0.13.30
What operating system are you using polars on?
amazon linux 2
What language version are you using
python
Describe your bug.
Fail to compile polars-core in amazon linux with rust 1.60.0
What are the steps to reproduce the behavior?
What is the actual behavior?