adangert / JoustMania

Raspberry Pi Jousting at its finest
http://joustmania.com
Other
124 stars 34 forks source link

Joust Mania python install error #313

Closed jawlessfoil9855 closed 9 months ago

jawlessfoil9855 commented 10 months ago

Trying to install Joust on a PI 4 2GB model on a 128GB sd card. I have been getting a error. I will attach the setup.log file

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.

For more information visit http://rptl.io/venv

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. setup.log

adangert commented 10 months ago

Thanks! Something may have changed with the installation, I will take a look soon

jawlessfoil9855 commented 10 months ago

So I found the fault at line 46 on setup.sh file since I was able to dig deeper to find the exact break point

adangert commented 9 months ago

fixed with the following change: sudo apt-get install -y python3-virtualenv on line 46! pairing still seems to be a bit wonky with the new bookworm repo, i.e. it's asking me for a pairing code which it never did before, will have to investigate further.