Raunak Bhagat
10/18/2024, 10:02 PMmake .venv. This fails with an error "distutils module not found". I tried running using Python 3.9 and 3.12, but to no avail on either.
Anyhoo, I tried circumventing that problem by using uv to create and manage the .venv. I ran:
uv v --python 3.9 # create the .venv for python 3.9
source .venv/bin/activate
uv sync # this fails
uv pip install maturin
make build # this failed with a linker error, so I installed the `cc` linker
sudo apt install build-essentials --fix-all -y # this command failed, but seemed to install the linker
make build # this one is working now...Raunak Bhagat
10/18/2024, 10:03 PMjay
10/18/2024, 10:03 PMsudo yum install git gcc gcc-c++ kernel-devel make python-devel
curl --proto '=https' --tlsv1.2 -sSf <https://sh.rustup.rs> | sh
source "$HOME/.cargo/env"
git clone <https://github.com/Eventual-Inc/Daft.git>
cd Daft/
make .venv
source .venv/bin/activate
make build-release
aws configure ssoRaunak Bhagat
10/18/2024, 10:03 PMmake .venv was failing for me. Seems like that one is extremely important to run during this entire installation process...jay
10/18/2024, 10:04 PMuv is a good idea, but you might need the yum installs that I have in thereRaunak Bhagat
10/18/2024, 10:04 PMRaunak Bhagat
10/18/2024, 10:05 PMRaunak Bhagat
10/18/2024, 10:06 PMRaunak Bhagat
10/18/2024, 10:07 PMColin Ho
10/18/2024, 10:11 PMsudo yum install git gcc gcc-c++ kernel-devel make python-devel
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source "$HOME/.cargo/env"
git clone https://github.com/Eventual-Inc/Daft.git
cd Daft/
make .venv
source .venv/bin/activate
make build-release
aws configure sso@jay this is so nice lol. I always just, hey chatgpt give me a command to install git python rust etc. etc. every single time lmao. maybe we should have a daft-dev ami?
Raunak Bhagat
10/18/2024, 10:13 PMjay
10/18/2024, 10:13 PMjay
10/18/2024, 10:13 PMjay
10/18/2024, 10:14 PM.sh setup scripts in our repojay
10/18/2024, 10:15 PM