Offline Installation - Python API

I’ve compiled OpenMC from source on an offline Linux system but am now struggling to get the Python API to work. The guidance documentation 2. Installation and Configuration — OpenMC Documentation assumes you’re working on a networked system. Is there any guidance on how to do this offline?

I’ve already obtained the required third-party Python packages.

@Chris welcome to the community! If you already have the required Python dependencies installed, you should be able to run:

pip install --no-deps --no-build-isolation .

The --no-deps flag ensures that pip doesn’t try to install run-time dependencies whereas --no-build-isolation ensures it doesn’t install build-time dependencies.