dominicprice / endplay

A suite of tools for generation and analysis of bridge deals. Read the documentation at https://endplay.readthedocs.io
MIT License
21 stars 5 forks source link

error when trying to install endplay #47

Closed ADavidBailey closed 3 weeks ago

ADavidBailey commented 1 month ago

I hope you can help me with this.

adavidbailey@Davids-iMac Practice-Bidding-Scenarios % pip3 install endplay Defaulting to user installation because normal site-packages is not writeable Collecting endplay Downloading endplay-0.5.8.tar.gz (124 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 124.1/124.1 kB 1.8 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting matplotlib>=2.0 (from endplay) Downloading matplotlib-3.9.0-cp312-cp312-macosx_11_0_arm64.whl.metadata (11 kB) Collecting more-itertools>=9.0 (from endplay) Downloading more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting numpy>=1.22 (from endplay) Downloading numpy-1.26.4-cp312-cp312-macosx_11_0_arm64.whl.metadata (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.1/61.1 kB 4.8 MB/s eta 0:00:00 Collecting pyparsing>=3.0 (from endplay) Downloading pyparsing-3.1.2-py3-none-any.whl.metadata (5.1 kB) Collecting tqdm>=4.65 (from endplay) Downloading tqdm-4.66.4-py3-none-any.whl.metadata (57 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.6/57.6 kB 5.2 MB/s eta 0:00:00 Collecting contourpy>=1.0.1 (from matplotlib>=2.0->endplay) Downloading contourpy-1.2.1-cp312-cp312-macosx_11_0_arm64.whl.metadata (5.8 kB) Collecting cycler>=0.10 (from matplotlib>=2.0->endplay) Downloading cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB) Collecting fonttools>=4.22.0 (from matplotlib>=2.0->endplay) Downloading fonttools-4.53.0-cp312-cp312-macosx_11_0_arm64.whl.metadata (162 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 162.2/162.2 kB 6.9 MB/s eta 0:00:00 Collecting kiwisolver>=1.3.1 (from matplotlib>=2.0->endplay) Downloading kiwisolver-1.4.5-cp312-cp312-macosx_11_0_arm64.whl.metadata (6.4 kB) Collecting packaging>=20.0 (from matplotlib>=2.0->endplay) Downloading packaging-24.0-py3-none-any.whl.metadata (3.2 kB) Collecting pillow>=8 (from matplotlib>=2.0->endplay) Downloading pillow-10.3.0-cp312-cp312-macosx_11_0_arm64.whl.metadata (9.2 kB) Collecting python-dateutil>=2.7 (from matplotlib>=2.0->endplay) Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB) Collecting six>=1.5 (from python-dateutil>=2.7->matplotlib>=2.0->endplay) Downloading six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB) Downloading matplotlib-3.9.0-cp312-cp312-macosx_11_0_arm64.whl (7.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.8/7.8 MB 37.7 MB/s eta 0:00:00 Downloading more_itertools-10.2.0-py3-none-any.whl (57 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.0/57.0 kB 8.7 MB/s eta 0:00:00 Downloading numpy-1.26.4-cp312-cp312-macosx_11_0_arm64.whl (13.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.7/13.7 MB 78.3 MB/s eta 0:00:00 Downloading pyparsing-3.1.2-py3-none-any.whl (103 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.2/103.2 kB 15.7 MB/s eta 0:00:00 Downloading tqdm-4.66.4-py3-none-any.whl (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.3/78.3 kB 13.2 MB/s eta 0:00:00 Downloading contourpy-1.2.1-cp312-cp312-macosx_11_0_arm64.whl (245 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 245.3/245.3 kB 28.9 MB/s eta 0:00:00 Downloading cycler-0.12.1-py3-none-any.whl (8.3 kB) Downloading fonttools-4.53.0-cp312-cp312-macosx_11_0_arm64.whl (2.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.2/2.2 MB 61.6 MB/s eta 0:00:00 Downloading kiwisolver-1.4.5-cp312-cp312-macosx_11_0_arm64.whl (64 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.0/65.0 kB 11.1 MB/s eta 0:00:00 Downloading packaging-24.0-py3-none-any.whl (53 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.5/53.5 kB 7.4 MB/s eta 0:00:00 Downloading pillow-10.3.0-cp312-cp312-macosx_11_0_arm64.whl (3.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 67.6 MB/s eta 0:00:00 Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 229.9/229.9 kB 36.3 MB/s eta 0:00:00 Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Building wheels for collected packages: endplay Building wheel for endplay (pyproject.toml) ... error error: subprocess-exited-with-error

× Building wheel for endplay (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [162 lines of output] A setup.py file already exists. Using it. running build running build_py creating /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build creating /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312 creating /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay copying src/endplay/config.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay copying src/endplay/init.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay creating /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dds copying src/endplay/dds/analyse.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dds copying src/endplay/dds/parscore.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dds copying src/endplay/dds/init.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dds copying src/endplay/dds/ddtable.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dds copying src/endplay/dds/solve.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dds creating /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dealer copying src/endplay/dealer/constraint.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dealer copying src/endplay/dealer/generate.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dealer copying src/endplay/dealer/runscript.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dealer copying src/endplay/dealer/init.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dealer copying src/endplay/dealer/main.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dealer creating /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dealer/actions copying src/endplay/dealer/actions/terminal.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dealer/actions copying src/endplay/dealer/actions/html.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dealer/actions copying src/endplay/dealer/actions/init.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dealer/actions copying src/endplay/dealer/actions/pdf.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dealer/actions copying src/endplay/dealer/actions/latex.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dealer/actions copying src/endplay/dealer/actions/base.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dealer/actions creating /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/evaluate copying src/endplay/evaluate/init.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/evaluate creating /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/experimental copying src/endplay/experimental/playdetect.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/experimental copying src/endplay/experimental/init.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/experimental creating /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/interact copying src/endplay/interact/actions.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/interact copying src/endplay/interact/init.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/interact copying src/endplay/interact/commandobject.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/interact copying src/endplay/interact/main.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/interact creating /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/interact/frontends copying src/endplay/interact/frontends/curses.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/interact/frontends copying src/endplay/interact/frontends/cmd.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/interact/frontends copying src/endplay/interact/frontends/init.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/interact/frontends copying src/endplay/interact/frontends/base.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/interact/frontends creating /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/interact/frontends/html copying src/endplay/interact/frontends/html/init.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/interact/frontends/html creating /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/parsers copying src/endplay/parsers/dealer.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/parsers copying src/endplay/parsers/init.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/parsers copying src/endplay/parsers/lin.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/parsers copying src/endplay/parsers/pbn.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/parsers copying src/endplay/parsers/json.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/parsers creating /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/stats copying src/endplay/stats/init.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/stats creating /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/types copying src/endplay/types/denom.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/types copying src/endplay/types/board.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/types copying src/endplay/types/bid.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/types copying src/endplay/types/vul.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/types copying src/endplay/types/init.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/types copying src/endplay/types/card.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/types copying src/endplay/types/penalty.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/types copying src/endplay/types/player.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/types copying src/endplay/types/deal.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/types copying src/endplay/types/hand.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/types copying src/endplay/types/contract.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/types copying src/endplay/types/suitholding.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/types copying src/endplay/types/rank.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/types creating /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/utils copying src/endplay/utils/escape.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/utils copying src/endplay/utils/io.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/utils copying src/endplay/utils/init.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/utils copying src/endplay/utils/play.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/utils copying src/endplay/py.typed -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay copying src/endplay/config.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay copying src/endplay/init.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay copying src/endplay/dds/analyse.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dds copying src/endplay/dds/parscore.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dds copying src/endplay/dds/init.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dds copying src/endplay/dds/ddtable.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dds copying src/endplay/dds/solve.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dds copying src/endplay/dealer/constraint.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dealer copying src/endplay/dealer/generate.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dealer copying src/endplay/dealer/runscript.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dealer copying src/endplay/dealer/init.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dealer copying src/endplay/dealer/main.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dealer copying src/endplay/dealer/actions/terminal.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dealer/actions copying src/endplay/dealer/actions/html.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dealer/actions copying src/endplay/dealer/actions/init.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dealer/actions copying src/endplay/dealer/actions/pdf.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dealer/actions copying src/endplay/dealer/actions/latex.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dealer/actions copying src/endplay/dealer/actions/base.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/dealer/actions copying src/endplay/evaluate/init.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/evaluate copying src/endplay/experimental/playdetect.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/experimental copying src/endplay/experimental/init.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/experimental copying src/endplay/interact/actions.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/interact copying src/endplay/interact/init.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/interact copying src/endplay/interact/commandobject.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/interact copying src/endplay/interact/main.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/interact copying src/endplay/interact/frontends/curses.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/interact/frontends copying src/endplay/interact/frontends/cmd.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/interact/frontends copying src/endplay/interact/frontends/init.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/interact/frontends copying src/endplay/interact/frontends/base.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/interact/frontends copying src/endplay/interact/frontends/html/index.html -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/interact/frontends/html copying src/endplay/interact/frontends/html/init.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/interact/frontends/html copying src/endplay/interact/frontends/html/script.js -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/interact/frontends/html copying src/endplay/interact/frontends/html/style.css -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/interact/frontends/html copying src/endplay/parsers/dealer.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/parsers copying src/endplay/parsers/init.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/parsers copying src/endplay/parsers/lin.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/parsers copying src/endplay/parsers/pbn.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/parsers copying src/endplay/parsers/json.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/parsers copying src/endplay/stats/init.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/stats copying src/endplay/types/denom.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/types copying src/endplay/types/board.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/types copying src/endplay/types/bid.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/types copying src/endplay/types/vul.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/types copying src/endplay/types/init.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/types copying src/endplay/types/card.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/types copying src/endplay/types/penalty.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/types copying src/endplay/types/player.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/types copying src/endplay/types/deal.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/types copying src/endplay/types/hand.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/types copying src/endplay/types/contract.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/types copying src/endplay/types/suitholding.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/types copying src/endplay/types/rank.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/types copying src/endplay/utils/escape.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/utils copying src/endplay/utils/io.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/utils copying src/endplay/utils/init.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/utils copying src/endplay/utils/play.py -> /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312/endplay/utils running build_ext cmake /private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339 -DCMAKE_INSTALL_PREFIX=/private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312 -DCMAKE_BUILD_TYPE=Release -DSETUPTOOLS_BUILD=1 CMake Warning: Ignoring extra path from command line:

     "/private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339"

  CMake Error: The source directory "/private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339" does not appear to contain CMakeLists.txt.
  Specify --help for usage, or press the help button on the CMake GUI.
  error: command '/private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-build-env-mct9ow8h/overlay/bin/cmake' failed with exit code 1
  Traceback (most recent call last):
    File "/Users/adavidbailey/Library/Python/3.12/lib/python/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
      main()
    File "/Users/adavidbailey/Library/Python/3.12/lib/python/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/Users/adavidbailey/Library/Python/3.12/lib/python/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
      return _build_backend().build_wheel(wheel_directory, config_settings,
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-build-env-mct9ow8h/overlay/lib/python3.12/site-packages/poetry/core/masonry/api.py", line 58, in build_wheel
      return WheelBuilder.make_in(
             ^^^^^^^^^^^^^^^^^^^^^
    File "/private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-build-env-mct9ow8h/overlay/lib/python3.12/site-packages/poetry/core/masonry/builders/wheel.py", line 88, in make_in
      wb.build(target_dir=directory)
    File "/private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-build-env-mct9ow8h/overlay/lib/python3.12/site-packages/poetry/core/masonry/builders/wheel.py", line 121, in build
      self._build(zip_file)
    File "/private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-build-env-mct9ow8h/overlay/lib/python3.12/site-packages/poetry/core/masonry/builders/wheel.py", line 182, in _build
      self._run_build_command(setup)
    File "/private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-build-env-mct9ow8h/overlay/lib/python3.12/site-packages/poetry/core/masonry/builders/wheel.py", line 248, in _run_build_command
      subprocess.check_call([
    File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/subprocess.py", line 413, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12', '/private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/setup.py', 'build', '-b', '/private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build', '--build-purelib', '/private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib', '--build-platlib', '/private/var/folders/01/192hrzr915qf75npd50tlfyh0000gn/T/pip-install-q3g2b4ji/endplay_4662f720cf434569a1b21f2e5edc9339/build/lib.macosx-10.9-universal2-cpython-312']' returned non-zero exit status 1.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for endplay Failed to build endplay ERROR: Could not build wheels for endplay, which is required to install pyproject.toml-based projects

ADavidBailey commented 1 month ago

I tried 'pip3 uninstall endplay' and then 'pip3 uninstall wheel'. I don't know what to try next.

dominicprice commented 1 month ago

Hi,

Thanks for raising an issue :).

This might be related to an issue someone had due to a deprecated distutils package being removed from revent Python versions, I have fixed it in master but not been home yet to publish the package to pypi. If you try and install by running pip install git+https://www.github.com/dominicprice/endplay it will hopefully work, although note that this will build from source so you must have a c++ compiler on your system.

Wheels will be pushed very soon.

ADavidBailey commented 1 month ago

Thanks, Dominic.

I'm working primarily to enable Dealer to generate constrained deals on a BBO Practice Table. I have lots of BBO Dealer code. I do not have a c++ compiler; so, I'll wait for the fix. Check out my project -- Practice Bidding Scenarios https://github.com/ADavidBailey/Practice-Bidding-Scenarios/blob/main/README.md

On Sun, Jun 2, 2024 at 4:28 PM Dominic Price @.***> wrote:

Hi,

Thanks for raising an issue :).

This might be related to an issue someone had due to a deprecated distutils package being removed from revent Python versions, I have fixed it in master but not been home yet to publish the package to pypi. If you try and install by running pip install git+ https://www.github.com/dominicprice/endplay it will hopefully work, although note that this will build from source so you must have a c++ compiler on your system.

Wheels will be pushed very soon.

— Reply to this email directly, view it on GitHub https://github.com/dominicprice/endplay/issues/47#issuecomment-2144026714, or unsubscribe https://github.com/notifications/unsubscribe-auth/BC4TXI6YH5BGAUI26HLA5HTZFOFAXAVCNFSM6AAAAABIVITL32VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBUGAZDMNZRGQ . You are receiving this because you authored the thread.Message ID: @.***>

-- David Bailey 918-520-9700 mobile

dominicprice commented 1 month ago

okay, version 0.5.9 has hit pypi https://pypi.org/project/endplay/0.5.9/

you might need to force the version with pip install --force-reinstall -v "endplay==0.5.9" if the current install is hanging around in a broken state

let me know if it works or not :)

ADavidBailey commented 1 month ago

It looked like endplay installed OK, just now. Thorvald had suggested this:

Practice-Bidding-Scenarios>python -m endplay.dealer .\dlr\Basic-Stayman-N.dlr I tried this -- changed from python to python3. No joy. adavidbailey@Davids-iMac Practice-Bidding-Scenarios % python3 -m endplay.dealer .\dlr\Dealer-FourthSuitForcing-S.dlr dealer had to exit prematurely because of the following error: .dlrDealer-FourthSuitForcing-S.dlr: no such file Then I added escaped the \, used \\, because it looked like it was needed. Still no joy. adavidbailey@Davids-iMac Practice-Bidding-Scenarios % python3 -m endplay.dealer .\\dlr\\Dealer-FourthSuitForcing-S.dlr dealer had to exit prematurely because of the following error: .\dlr\Dealer-FourthSuitForcing-S.dlr: no such file adavidbailey@Davids-iMac Practice-Bidding-Scenarios % I did the '--force...' and tried again with the same results.
ADavidBailey commented 1 month ago

It looks like this might work:

python3 -m endplay.dealer ./dlr/Dealer-FourthSuitForcing-S.dlr

My dealer code does NOT have a 'condition' and I think it failed with this message:

adavidbailey@Davids-iMac Practice-Bidding-Scenarios % python3 -m endplay.dealer ./dlr/Dealer-FourthSuitForcing-S.dlr dealer had to exit prematurely because of the following error: Syntax error: Expected end of text, found 'allSequences' (at char 7293), (line:223, col:1)

ADavidBailey commented 1 month ago

I had some code for statistics after the condition. I got rid it it and I get the following error

adavidbailey@Davids-iMac Practice-Bidding-Scenarios % python3 -m endplay.dealer ./dlr/Dealer-FourthSuitForcing-S.dlr dealer had to exit prematurely because of the following error: Unknown function if adavidbailey@Davids-iMac Practice-Bidding-Scenarios %

Here's a screenshot of the last few statments in my fourth suit forcing code:

Screenshot 2024-06-04 at 1 33 29 PM
ADavidBailey commented 1 month ago
Screenshot 2024-06-04 at 1 36 52 PM
dominicprice commented 1 month ago

hi, yes i can confirm that there is a bug there.

it's a simple fix (as far as i can tell) which i will push, for the moment you can patch your current copy as follows:

add the following condition:

        elif node.value == "if":
            return self._fn_if(node, deal)

it should then work!

edit: sorry i forgot the /endplay after <path>. the diff is viewable at https://github.com/dominicprice/endplay/pull/49/files

ADavidBailey commented 1 month ago

My 'Location' is Location: /Users/adavidbailey/Library/Python/3.12/lib/python/site-packages

I can't navigate to .../Library... It must be hidden.

dominicprice commented 1 month ago

maybe you can open it directly in notepad by pressin Win+r on the keyboard to open up the run dialog, then running the command notepad.exe /Users/adavidbailey/Library/Python/3.12/lib/python/site-packages/endplay/dealer/constraint.py (or maybe C:/Users/... if it needs the drive letter, it's been a while since i worked on windows)

dominicprice commented 1 month ago

merging the fix into master now anyway, so it will be available on pypi when i get back home this evening

ADavidBailey commented 1 month ago

I figured out how to find hidden files. Found and changed the constraint.py file. It ran without an error message. Now, I just need to figure out what it did.

On Tue, Jun 4, 2024 at 2:09 PM Dominic Price @.***> wrote:

hi, yes i can confirm that there is a bug there.

it's a simple fix (as far as i can tell) which i will push, for the moment you can patch your current copy as follows:

  • find out where python has installed your copy of endplay by running python3 -m pip show endplay. the output i get is

python3 -m pip show endplay Name: endplay Version: 0.5.9 Summary: A suite of tools for generation and analysis of bridge deals Home-page: Author: Dominic Price Author-email: @.*** License: MIT Location: /home/dominic/.cache/pypoetry/virtualenvs/endplay-kLj4eYnw-py3.12/lib/python3.12/site-packages Editable project location: /home/dominic/Source/endplay Requires: matplotlib, more-itertools, numpy, pyparsing, tqdm Required-by:

let's say is the path after Location:

  • edit the file /dealer/constraint.py. On line 157 is the method _dispatch_function(self, node, deal) with a lot of if/elif statements. just before the else statement

    else:
        raise ValueError(f"Unknown function {node.value}")

add the following condition:

    elif node.value == "if":
        return self._fn_if(node, deal)

it should then work!

— Reply to this email directly, view it on GitHub https://github.com/dominicprice/endplay/issues/47#issuecomment-2148220023, or unsubscribe https://github.com/notifications/unsubscribe-auth/BC4TXI7KS5ZBNOZLEMVLFRLZFYGIFAVCNFSM6AAAAABIVITL32VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBYGIZDAMBSGM . You are receiving this because you authored the thread.Message ID: @.***>

-- David Bailey 918-520-9700 mobile

dominicprice commented 3 weeks ago

closing now and it seems the original issue is fixed, please feel free to raise anything else as a new issue