[MacPorts] #66359: py310-torchvision does not build

MacPorts noreply at macports.org
Mon Nov 28 10:26:35 UTC 2022


#66359: py310-torchvision does not build
-----------------------+-------------------------------
 Reporter:  garbeware  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:
 Keywords:             |       Port:  py310-torchvision
-----------------------+-------------------------------
 The building process fails with a line complaining that
 `affine_quantizer.h` cannot be found.

 This can be fixed by editing
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 torchvision/py310-torchvision/work/pytorch-vision-
 da3794e/torchvision/csrc/ops/quantized/cpu/qnms_kernel.cpp

 and replacing `affine_quantizer.h` in the second line with
 `AffineQuantizer.h`

 The installation then goes through without other problems.

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


More information about the macports-tickets mailing list