Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running and compilling #339

Open
RahRah80 opened this issue Oct 5, 2023 · 4 comments
Open

Error running and compilling #339

RahRah80 opened this issue Oct 5, 2023 · 4 comments

Comments

@RahRah80
Copy link

RahRah80 commented Oct 5, 2023

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
Copy link
Collaborator

joeraz commented Oct 5, 2023

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
Copy link
Author

RahRah80 commented Oct 6, 2023 via email

@joeraz
Copy link
Collaborator

joeraz commented Oct 6, 2023

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
Copy link
Author

RahRah80 commented Oct 6, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants