Arxari / OpenShockClock

TUI to set an alarm clock which uses electricity (OpenShock) to wake you up
https://openshock.org/
GNU General Public License v3.0
5 stars 0 forks source link

run.sh doesn't work on Linux Mint #2

Closed Arxari closed 3 months ago

Arxari commented 3 months ago

Terminal output:

arx@vbox:~$ /home/arx/Downloads/OpenShockClock-0.8.3f/run.sh Creating a virtual environment... /home/arx/Downloads/OpenShockClock-0.8.3f/run.sh: line 11: python: command not found /home/arx/Downloads/OpenShockClock-0.8.3f/run.sh: line 14: /home/arx/Downloads/OpenShockClock-0.8.3f/venv/bin/activate: No such file or directory Installing packages from requirements.txt... error: externally-managed-environment

× This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install.

If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.

If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.

See /usr/share/doc/python3.12/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. hint: See PEP 668 for the detailed specification. Failed to install packages. /home/arx/Downloads/OpenShockClock-0.8.3f/run.sh: line 22: deactivate: command not found

Arxari commented 3 months ago

Fixed with release v0.8.3ff