[MacPorts] #67798: py310-torchvision @0.15.2: No sympy found; NameError: name 'sympy' is not defined

MacPorts noreply at macports.org
Fri Jul 21 20:38:31 UTC 2023


#67798: py310-torchvision @0.15.2: No sympy found; NameError: name 'sympy' is not
defined
------------------------+----------------------------
 Reporter:  ryandesign  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.8.1
 Keywords:              |       Port:  py-torchvision
------------------------+----------------------------
 https://build.macports.org/builders/ports-
 11_arm64-builder/builds/98027/steps/install-port/logs/stdio

 {{{
 No sympy found
 Traceback (most recent call last):
   File "/opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_python_py-
 torchvision/py310-torchvision/work/vision-0.15.2/setup.py", line 9, in
 <module>
     import torch
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/torch/__init__.py", line 1465, in <module>
     from . import _meta_registrations
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/torch/_meta_registrations.py", line 7, in <module>
     from torch._decomp import _add_op_to_registry,
 global_decomposition_table, meta_table
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/torch/_decomp/__init__.py", line 169, in <module>
     import torch._decomp.decompositions
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/torch/_decomp/decompositions.py", line 10, in <module>
     import torch._prims as prims
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/torch/_prims/__init__.py", line 33, in <module>
     from torch._subclasses.fake_tensor import FakeTensor, FakeTensorMode
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/torch/_subclasses/__init__.py", line 3, in <module>
     from torch._subclasses.fake_tensor import (
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/torch/_subclasses/fake_tensor.py", line 13, in <module>
     from torch._guards import Source
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/torch/_guards.py", line 78, in <module>
     class ShapeGuard(NamedTuple):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/torch/_guards.py", line 79, in ShapeGuard
     expr: sympy.Expr
 NameError: name 'sympy' is not defined
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/67798>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list