shlomif / PySolFC

A comprehensive, feature-rich, open source, and portable, collection of Solitaire games.
http://pysolfc.sourceforge.net/
GNU General Public License v3.0
445 stars 97 forks source link

Error running and compilling #339

Open RahRah80 opened 8 months ago

RahRah80 commented 8 months ago

Hello. I've just updated Linux Mint Debian Edition 5 to 6 and i was running PySolFC-2.16.0 just fine. After the OS update i can't run and i downloaded git clone and even downloaded PySolFC-2.21.0 version.

Anything i can do or need to install?

Running the game like so: python3 pysol.py or python poysol.py the error output is

rah-rah@rah-rah-dev1:~/git/PySolFC$ python3 pysol.py Please install pysol_cards.py from "PyPI" (e.g: using "python3 -m pip install --user --upgrade pysol_cards"

rah-rah@rah-rah-dev1:~/git/PySolFC$ python pysol.py Please install pysol_cards.py from "PyPI" (e.g: using "python3 -m pip install --user --upgrade pysol_cards"

Trying to update cards outputs this

rah-rah@rah-rah-dev1:~/git/PySolFC$ python3 -m pip install --user --upgrade pysol_cards 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.11/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.

gmake test output https://controlc.com/9fab6d9e

gmake rules https://controlc.com/1422adea

joeraz commented 8 months ago

Hello,

First, according to the gmake output, it looks like you're missing the Python "attrs" library.

As far as "pysol-cards" is concerned, I would suggest opening a ticket at the pysol-cards repo about that - https://github.com/shlomif/pysol_cards

Alternatively, you could try downloading and installing the package from Flathub - https://flathub.org/apps/io.sourceforge.pysolfc.PySolFC

RahRah80 commented 8 months ago

Hello.

I installed attrs from synaptic, but still there is a bunch of erros... it's out of my league.

I already had the flatpak, but i don't like much the standalone packages, i prefer the native ones deb.

Thank you for you're reply.

On Thu, Oct 5, 2023 at 10:43 PM Joe R. @.***> wrote:

Hello,

First, according to the gmake output, it looks like you're missing the Python "attrs" library.

As far as "pysol-cards" is concerned, I would suggest opening a ticket at the pysol-cards repo about that - https://github.com/shlomif/pysol_cards

Alternatively, you could try downloading and installing the package from Flathub - https://flathub.org/apps/io.sourceforge.pysolfc.PySolFC

— Reply to this email directly, view it on GitHub https://github.com/shlomif/PySolFC/issues/339#issuecomment-1749753653, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATDEDIMC43GQSKKP5B2X3WTX54ZZRAVCNFSM6AAAAAA5UKP67WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBZG42TGNRVGM . You are receiving this because you authored the thread.Message ID: @.***>

joeraz commented 8 months ago

Understandable.

So if you have attrs installed, based on the logs you posted, the missing piece would be pysol-cards. Unfortunately, I haven't done much with pysol-cards, but if you're having issues installing it, you could try getting the code manually from https://github.com/shlomif/pysol_cards or open an issue there.

RahRah80 commented 8 months ago

Hello.

Thanks, i'll have a go.

On Fri, Oct 6, 2023 at 1:54 AM Joe R. @.***> wrote:

Understandable.

So if you have attrs installed, based on the logs you posted, the missing piece would be pysol-cards. Unfortunately, I haven't done much with pysol-cards, but if you're having issues installing it, you could try getting the code manually from https://github.com/shlomif/pysol_cards or open an issue there.

— Reply to this email directly, view it on GitHub https://github.com/shlomif/PySolFC/issues/339#issuecomment-1749881418, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATDEDIKJCYZWUDOQC4ZPASLX55QGLAVCNFSM6AAAAAA5UKP67WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBZHA4DCNBRHA . You are receiving this because you authored the thread.Message ID: @.***>