#68342 closed defect (invalid)

Problem installing mesa on Mac OS 13.5.2 Mac with M1 chip

Reported by: jbrundle Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py-mesa

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Did a port search for the "mesa" package. Found these ports:

glw @20120116_2 (x11, devel, graphics)
    Mesa OpenGL widget library

HermesApp @1.3.1_1 (aqua, audio)
    compact macOS Pandora client that doesn't use Flash

mesa @22.1.7_1 (x11, graphics)
    Mesa 3D Graphics Library

mesalink @1.0.0 (devel, security)
    A memory-safe and OpenSSL-compatible TLS library

Then tried to install mesa. Seemed to install:

sudo port install mesa
--->  Computing dependencies for mesa
--->  Cleaning mesa
--->  Scanning binaries for linking errors
--->  No broken files found.                             
--->  No broken ports found.

*But*, when I tried to use it, got the following message:

python
Python 3.10.13 (main, Aug 25 2023, 02:38:26) [Clang 14.0.3 (clang-1403.0.22.14.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import mesa
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'mesa'

Change History (5)

comment:1 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: mesa added

If you are looking for the Python module called Mesa, as far as I know it is not in MacPorts.

The MacPorts mesa port is for the Mesa 3D graphics library which is unrelated to Python.

comment:2 Changed 14 months ago by cjones051073 (Chris Jones)

Resolution: invalid
Status: newclosed

Closing this as there is no issue with the mesa port.

Please submit a follow up ticket requesting a new py-mesa port, if this is wanted.

comment:3 Changed 14 months ago by jbrundle

It would be great to have a py-mesa port if possible, since this is a mainstay of Agent Based Modeling of complex systems, which are common in economics, finance, disaster response, and many other applications. I personally would like to pair it with predictive methods such as transformers, deep learning and the like so that the impacts of events on these human systems could be modeled.

comment:4 Changed 14 months ago by jmroot (Joshua Root)

Port: py-mesa added; mesa removed
Resolution: invalid
Status: closedreopened
Summary: Problem installing mesa on Mac OS 13.5.2 Mac with M1 chipRequest: py-mesa
Type: defectrequest

comment:5 Changed 14 months ago by jmroot (Joshua Root)

Resolution: invalid
Status: reopenedclosed
Summary: Request: py-mesaProblem installing mesa on Mac OS 13.5.2 Mac with M1 chip
Type: requestdefect

Sorry, missed that you opened a new ticket.

Note: See TracTickets for help on using tickets.