Closed MarSlimbook closed 2 weeks ago
The problem is bigger. The installation script uses pip without a venv what is forbidden in new Ubuntu and Fedora and give me error:
error: externally-managed-environment
I have to modify this part of deploy.sh script:
if [[ ! $(pip3 install -r requirements.txt) ]]; then print_warn_bold "ERROR: Could not install Python dependencies." exit 1 fi
To this one (will work only for Ubuntu):
if [[ ! $(apt-get install python-gi-dev python-configparser) ]]; then print_warn_bold "ERROR: Could not install Python dependencies." exit 1 fi
Other solution could be to use pipx as described here: https://itsfoss.com/externally-managed-environment/
Originally posted by @cHunter789 in https://github.com/Slimbook-Team/slimbookbattery/issues/105#issuecomment-1564853826
I have to modify this part of deploy.sh script:
To this one (will work only for Ubuntu):
Other solution could be to use pipx as described here: https://itsfoss.com/externally-managed-environment/
Originally posted by @cHunter789 in https://github.com/Slimbook-Team/slimbookbattery/issues/105#issuecomment-1564853826