# Issue with PYNQ Overlay Load Failing via systemd Service on Zynq-7000 (XC7Z020)

**URL:** https://discuss.pynq.io/t/issue-with-pynq-overlay-load-failing-via-systemd-service-on-zynq-7000-xc7z020/8442
**Category:** Support
**Created:** [May 20, 2025, 3:40pm UTC](https://discuss.pynq.io/t/issue-with-pynq-overlay-load-failing-via-systemd-service-on-zynq-7000-xc7z020/8442 "2025-05-20T15:40:49Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![marioruiz](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/marioruiz/32/2177_2.png) [@marioruiz](https://discuss.pynq.io/u/marioruiz)
#### Post date: [May 21, 2025, 2:57pm UTC](https://discuss.pynq.io/t/issue-with-pynq-overlay-load-failing-via-systemd-service-on-zynq-7000-xc7z020/8442/4 "2025-05-21T14:57:06Z")

</div>

Did you try sourcing XRT as indicated in the other post?

> [@Run python scripts in Pynq Environment](https://discuss.pynq.io/t/run-python-scripts-in-pynq-environment/7761/2):
>
> Hi @DiogoBaptista There is three steps to running PYNQ code from the command line: Make sure you are in sudo privileges (e.g. sudo su) Source the pynq venv environment source /etc/profile.d/pynq\_venv.sh Source the xrt environment source /etc/profile.d/xrt\_setup.sh You should now be in the right environment to run PYNQ code. You could put both source commands into a shell script which you can run whenever you want. Thanks, Josh

---

_[View the full topic](https://discuss.pynq.io/t/issue-with-pynq-overlay-load-failing-via-systemd-service-on-zynq-7000-xc7z020/8442)._
