# Offline Installation - Python API

**URL:** <https://openmc.discourse.group/t/offline-installation-python-api/2952>\
**Category:** User Support\
**Created:** [April 27, 2023, 11:13am UTC](https://openmc.discourse.group/t/offline-installation-python-api/2952 "2023-04-27T11:13:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris](https://avatars.discourse-cdn.com/v4/letter/c/958977/32.png) [@Chris](https://openmc.discourse.group/u/Chris)\
**Post date:** [April 27, 2023, 11:13am UTC](https://openmc.discourse.group/t/offline-installation-python-api/2952/1 "2023-04-27T11:13:17Z")

</div>

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](https://docs.openmc.org/en/stable/usersguide/install.html#installing-python-api) 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.

---

<div class="post-metadata">

**Author:** ![paulromano](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/paulromano/32/486_2.png) [@paulromano](https://openmc.discourse.group/u/paulromano)\
**Post date:** [April 27, 2023, 11:37am UTC](https://openmc.discourse.group/t/offline-installation-python-api/2952/2 "2023-04-27T11:37:19Z")

</div>

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

```bash
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.
