Skip to content

Commit

Permalink
adjust for specific python version
Browse files Browse the repository at this point in the history
  • Loading branch information
kpandl committed Mar 27, 2024
1 parent 64cb2b6 commit 8b88cac
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions sdk/build_ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,12 @@ sudo apt-get install -y \

sudo apt-get update
sudo apt-get install -y patchelf
sudo apt install -y pkg-config libssl-dev

# Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source $HOME/.cargo/env

# install pip
sudo apt-get install -y python3-pip

# Install python sdk
pip3 install maturin
echo 'export PATH="$PATH:$(python3 -m site --user-base)/bin"' >> ~/.bashrc
python3.11 -m pip install maturin
echo 'export PATH="$PATH:$(python3.11 -m site --user-base)/bin"' >> ~/.bashrc

0 comments on commit 8b88cac

Please sign in to comment.