Skip to content

Commit

Permalink
allow install.sh to fix broken env
Browse files Browse the repository at this point in the history
  • Loading branch information
shardros committed Aug 20, 2022
1 parent ddc7604 commit 18c9b54
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,15 @@ cd ..
rm Python-3.10.6.tgz
sudo rm Python-3.10.6 -rf

echo "python install complete"
echo "Fixing potenitally broken virtual env..."

# Fix the maybe broken virtual env: https://stackoverflow.com/a/63117674/5006710
poetry env remove python3.10
poetry env use python3.10

echo "Installing python dependancies using poetry"

# Try to install the project dependencies again
if poetry install; then
echo "========================================"
Expand Down

0 comments on commit 18c9b54

Please sign in to comment.