jonalinux / Archmain

Archmain - Arch System Management
Other
31 stars 4 forks source link

Problem during installtion #27

Open MarcelloPercoco opened 1 year ago

MarcelloPercoco commented 1 year ago

Hi.

Instlalling Archmain on an updated Archlinux raise thise error:

`customtkinter is NOT installed Installing customtkinter... error: externally-managed-environment

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

If you wish to install a non-Arch-packaged Python package,
create a virtual environment using 'python -m venv path/to/venv'.
Then use path/to/venv/bin/python and path/to/venv/bin/pip.

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

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.`

and same for python-pillow and python-psutils

pillow and psutils can be installed with pacman, but for customtkinter i haven't found any solution.

jonalinux commented 1 year ago

dipende da python-pip try : sudo rm /usr/lib/python3.11/EXTERNALLY-MANAGED

Il giorno mer 28 giu 2023 alle ore 09:53 Marcello Percoco < @.***> ha scritto:

Hi.

Instlalling Archmain on an updated Archlinux raise thise error:

`customtkinter is NOT installed Installing customtkinter... error: externally-managed-environment

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

If you wish to install a non-Arch-packaged Python package, create a virtual environment using 'python -m venv path/to/venv'. Then use path/to/venv/bin/python and path/to/venv/bin/pip.

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

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.`

and same for python-pillow and python-psutils

pillow and psutils can be installed with pacman, but for customtkinter i haven't found any solution.

— Reply to this email directly, view it on GitHub https://github.com/jonalinux/Archmain/issues/27, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYSHTEWBD6GLC4QZICHSZ3TXNPWH5ANCNFSM6AAAAAAZWWWBBY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

MarcelloPercoco commented 1 year ago

Is this solution safe or cuold break other things?

dipende da python-pip try : sudo rm /usr/lib/python3.11/EXTERNALLY-MANAGED Il giorno mer 28 giu 2023 alle ore 09:53