Giter Site home page Giter Site logo

Installing on linux about pooltool HOT 7 CLOSED

ekiefl avatar ekiefl commented on July 26, 2024
Installing on linux

from pooltool.

Comments (7)

ekiefl avatar ekiefl commented on July 26, 2024

Debian 12 installs ok, crashes when run

Ok. Any details on the crash?

However it is tricky to use with a mouse because unlike MacOS when the mouse leaves the window events are no longer forwarded to the app, and after aiming +/-10 degrees the screen flicks straight again. Similarly when hitting the ball pushing mouse forward it travels out of the window and no shot is played. Same story full screen - mouse events stop at border.

This also happens with Windows, and @owenhayman just found a workaround (#95). I've updated the README. Could I bother you to try installing via the "Developer" instructions in the README? When you get to step iv, please run the instructions. I think that will fix the problem, but it would be nice to know for certain.

I had to use pipx to install and the python version was 3.11

Interesting. I hadn't heard of pipx before but it sounds like it's the right tool for the job.

from pooltool.

tailuge avatar tailuge commented on July 26, 2024

Yes the @owenhayman fix works.

I started from a fresh system and ran the following commands to install pooltool on linux

mkdir venv
python -m venv ./venv/
source venv/bin/activate
pip install pooltool-billiards
pip uninstall panda3d -y
pip install --pre --extra-index-url https://archive.panda3d.org/ panda3d
run_pooltool

On linux you cannot install packages system wide in python so you have to create a virtual isolated environment just like conda with python -m venv

Everything works great after that, very nice and I like the keyboard and mouse input system.

These instructions work on debian and arch - both working fine.

from pooltool.

ekiefl avatar ekiefl commented on July 26, 2024

Ok great, I will update the README. Thanks a lot, this is going to help a lot of people.

from pooltool.

tailuge avatar tailuge commented on July 26, 2024

from pooltool.

ekiefl avatar ekiefl commented on July 26, 2024

Sure. Can you please tell me your table, ball, and shot parameters?

I would need table length, table width, ball mass, ball radius, sliding and rolling coefficients, and all Han cushion coefficients. Then I would need your cue angle, cue elevation, English, and your outgoing cue ball speed (or your cue stick mass and cue stick speed if you're using the same ball-stick collision model as me)

from pooltool.

tailuge avatar tailuge commented on July 26, 2024

from pooltool.

ekiefl avatar ekiefl commented on July 26, 2024

Since this is off topic from "Installing on linux", I'm gonna move this discussion your issue here: tailuge/billiards#48

from pooltool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.