Do people really need homebrew and XCode? Can't they get Python directly from https://www.python.org/downloads/macos/?
As for the error, perhaps an easier to debug option would be to see what happens if you don't use pip yet, but follow the new build instructions from Ace, which will use poetry to install Mnemosyne in your system? If that has a similar error, then you could add e.g. extra print statements to /python3.11/site-packages/poetry/core/pyproject/toml.py to figure out what part of the configuration file causes errors? Peter On Sun, Oct 15, 2023 at 1:50 AM [email protected] <[email protected]> wrote: > > Sorry, missed the updates to this thread. Installing XCode, homebrew, python, > and pip is a bit of work for non-tech, but assuming we could simplify that I > tried running the install command from > https://test.pypi.org/project/mnemosyne/2.10.1a0/ and I got the following > error output > > ``` > orpved2:~ devin$ pip3 install -i https://test.pypi.org/simple/ > mnemosyne==2.10.1a0 > Looking in indexes: https://test.pypi.org/simple/ > Collecting mnemosyne==2.10.1a0 > Downloading > https://test-files.pythonhosted.org/packages/fb/4d/d17f2eaead745b10676d4b5795ff3ac8948b685a4b5d61440213ab95af65/mnemosyne-2.10.1a0.tar.gz > (898 kB) > ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 898.4/898.4 kB 10.2 MB/s eta > 0:00:00 > Installing build dependencies ... done > Getting requirements to build wheel ... done > Preparing metadata (pyproject.toml) ... error > error: subprocess-exited-with-error > > × Preparing metadata (pyproject.toml) did not run successfully. > │ exit code: 1 > ╰─> [18 lines of output] > Traceback (most recent call last): > File > "/usr/local/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", > line 353, in <module> > main() > File > "/usr/local/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", > line 335, in main > json_out['return_val'] = hook(**hook_input['kwargs']) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File > "/usr/local/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", > line 149, in prepare_metadata_for_build_wheel > return hook(metadata_directory, config_settings) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File > "/private/var/folders/s_/kfjzrd0x21502lph7nw_nqk80000gr/T/pip-build-env-t6ye3_dd/overlay/lib/python3.11/site-packages/poetry/core/masonry/api.py", > line 40, in prepare_metadata_for_build_wheel > poetry = Factory().create_poetry(Path(".").resolve(), > with_groups=False) > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File > "/private/var/folders/s_/kfjzrd0x21502lph7nw_nqk80000gr/T/pip-build-env-t6ye3_dd/overlay/lib/python3.11/site-packages/poetry/core/factory.py", > line 46, in create_poetry > local_config = PyProjectTOML(path=poetry_file).poetry_config > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File > "/private/var/folders/s_/kfjzrd0x21502lph7nw_nqk80000gr/T/pip-build-env-t6ye3_dd/overlay/lib/python3.11/site-packages/poetry/core/pyproject/toml.py", > line 74, in poetry_config > assert isinstance(config, Table) > AssertionError > [end of output] > > note: This error originates from a subprocess, and is likely not a problem > with pip. > error: metadata-generation-failed > > × Encountered error while generating package metadata. > ╰─> See above for output. > > note: This is an issue with the package mentioned above, not pip. > hint: See above for details. > ``` > > Not sure yet if this is my setup or a generic issue. I don't get the same > error with, for example, pip3 install sphinx -- You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/CAMdxoPGE%2BLE5niok84ONfEO7LVHN_qLpp6NiTWJtAoSKhPYEoA%40mail.gmail.com.
