Cannot install pytorch & freecad

I doubt it's FreeCAD itself that's conflicting with PyTorch. It's probably one of the Python module dependencies. What is the exact message?
 
Code:
pkg install py311-pytorch-2.7.1   
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating FreeBSD-kmods repository catalogue...
FreeBSD-kmods repository is up to date.
Updating poudriere repository catalogue...
poudriere repository is up to date.
All repositories are up to date.
Checking integrity... done (3 conflicting)
  - openmpi4-4.1.8 [poudriere] conflicts with openmpi-5.0.8 [installed] on /usr/local/libdata/pkgconfig/ompi-c.pc
  - openmpi4-4.1.8 [poudriere] conflicts with openmpi-5.0.8 [FreeBSD] on /usr/local/libdata/pkgconfig/ompi-c.pc
  - openmpi4-4.1.8 [FreeBSD] conflicts with openmpi-5.0.8 [installed] on /usr/local/libdata/pkgconfig/ompi-c.pc
Checking integrity... done (0 conflicting)
The following 8 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
    openmpi4: 4.1.8 [poudriere]
    py311-pytorch: 2.7.1 [poudriere]

Installed packages to be REINSTALLED:
    libmtp-1.1.22 [FreeBSD]

Installed packages to be REMOVED:
    FreeCAD: 1.0.1_3
    opencascade: 7.9.1_1
    openmpi: 5.0.8
    py311-mpi4py: 4.0.3_1
    vtk9: 9.5.0
 
I've had problems in the past where some dependencies were installed from two separate repositories. Try installing the wanted program with it's dependencies from the same, one repository and see?
 
So it's not FreeCAD that's conflicting with PyTorch. It's that one wants to install openmpi 4.1.8 and the other wants openmpi 5.0.8. It's those two openmpi versions that conflict with each other.
 
Back
Top