[FIX] pip error missing bz2 dependency
- Remove artifacts, this cause interference with some pip installation - You need to recompile your python after installing libbz2-dev from .pyenv
This commit is contained in:
parent
492fc4c5b0
commit
9b466e552d
2 changed files with 3 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ sudo su - postgres -c "createuser -s ${EL_USER}" 2> /dev/null || true
|
||||||
# Install Dependencies
|
# Install Dependencies
|
||||||
#--------------------------------------------------
|
#--------------------------------------------------
|
||||||
echo -e "\n--- Installing debian dependency --"
|
echo -e "\n--- Installing debian dependency --"
|
||||||
sudo apt-get install git build-essential wget libxslt-dev libzip-dev libldap2-dev libsasl2-dev node-less libpng12-0 gdebi-core libffi-dev -y
|
sudo apt-get install git build-essential wget libxslt-dev libzip-dev libldap2-dev libsasl2-dev node-less libpng12-0 gdebi-core libffi-dev libbz2-dev -y
|
||||||
sudo apt-get install libmariadbd-dev -y
|
sudo apt-get install libmariadbd-dev -y
|
||||||
|
|
||||||
echo -e "\n---- Installing nodeJS NPM and rtlcss for LTR support ----"
|
echo -e "\n---- Installing nodeJS NPM and rtlcss for LTR support ----"
|
||||||
|
|
|
||||||
|
|
@ -221,6 +221,8 @@ ${VENV_PATH}/bin/pip install --upgrade pip
|
||||||
#/home/"${USER}"/.poetry/bin/poetry env use ${PYTHON_EXEC}
|
#/home/"${USER}"/.poetry/bin/poetry env use ${PYTHON_EXEC}
|
||||||
source $HOME/.poetry/env
|
source $HOME/.poetry/env
|
||||||
poetry install
|
poetry install
|
||||||
|
# Delete artifacts created by pip, cause error in next "poetry install"
|
||||||
|
rm -rf artifacts
|
||||||
|
|
||||||
# Link for dev
|
# Link for dev
|
||||||
echo -e "\n---- Add link dependency in site-packages of Python ----"
|
echo -e "\n---- Add link dependency in site-packages of Python ----"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue