Package Details: mathics-django 9.0.0-1

Git Clone URL: https://aur.archlinux.org/mathics-django.git (read-only, click to copy)
Package Base: mathics-django
Description: The Django front-end to Mathics.
Upstream URL: https://mathics.org/
Licenses: GPL3
Submitter: vicp74
Maintainer: vicp74
Last Packager: vicp74
Votes: 3
Popularity: 0.000000
First Submitted: 2021-02-13 11:06 (UTC)
Last Updated: 2025-09-07 11:00 (UTC)

Dependencies (9)

Required by (0)

Sources (1)

Latest Comments

mio-19 commented on 2025-07-11 09:51 (UTC)

mathicsserver
/usr/lib/python3.13/site-packages/mathics_django/settings.py:7: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  import pkg_resources
Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/pkg_resources/__init__.py", line 653, in _build_master
    ws.require(__requires__)
    ~~~~~~~~~~^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/pkg_resources/__init__.py", line 1065, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.13/site-packages/pkg_resources/__init__.py", line 892, in resolve
    dist = self._resolve_dist(
        req, best, replace_conflicting, env, installer, required_by, to_activate
    )
  File "/usr/lib/python3.13/site-packages/pkg_resources/__init__.py", line 938, in _resolve_dist
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (sympy 1.14.0 (/usr/lib/python3.13/site-packages), Requirement.parse('sympy<1.14,>=1.13'), {'Mathics3'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/mathicsserver", line 33, in <module>
    sys.exit(load_entry_point('Mathics-Django==8.0.1', 'console_scripts', 'mathicsserver')())
             ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/mathicsserver", line 25, in importlib_load_entry_point
    return next(matches).load()
           ~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/importlib/metadata/__init__.py", line 179, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/lib/python3.13/site-packages/mathics_django/server.py", line 15, in <module>
    from mathics_django import (  # Prevents UnboundLocalError
    ...<3 lines>...
    )
  File "/usr/lib/python3.13/site-packages/mathics_django/settings.py", line 7, in <module>
    import pkg_resources
  File "/usr/lib/python3.13/site-packages/pkg_resources/__init__.py", line 3660, in <module>
    @_call_aside
     ^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/pkg_resources/__init__.py", line 3644, in _call_aside
    f(*args, **kwargs)
    ~^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/pkg_resources/__init__.py", line 3673, in _initialize_master_working_set
    working_set = _declare_state('object', 'working_set', WorkingSet._build_master())
                                                          ~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/pkg_resources/__init__.py", line 655, in _build_master
    return cls._build_from_requirements(__requires__)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/pkg_resources/__init__.py", line 668, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3.13/site-packages/pkg_resources/__init__.py", line 892, in resolve
    dist = self._resolve_dist(
        req, best, replace_conflicting, env, installer, required_by, to_activate
    )
  File "/usr/lib/python3.13/site-packages/pkg_resources/__init__.py", line 933, in _resolve_dist
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'sympy<1.14,>=1.13' distribution was not found and is required by Mathics3

b.vandenheuvel commented on 2024-10-23 08:29 (UTC) (edited on 2024-10-23 08:30 (UTC) by b.vandenheuvel)

The package extra/python-sympy is at 1.13.3-1, whereas Mathics3 (used by this package) requires 'sympy<1.13,>=1.11'. Normal mathics is starting OK on my system.

vicp74 commented on 2021-11-17 17:24 (UTC)

You just need to run /usr/bin/mathicsserver and follow the instructions (open http://localhost:8000 in any web browser)

archisman commented on 2021-11-17 05:52 (UTC)

How to start it after installation from AUR?

https://github.com/Mathics3/mathics-django/#running tells to execute make runserver, but that is probably for running from source.