# Error no device found when loading overlay

**URL:** <https://discuss.pynq.io/t/error-no-device-found-when-loading-overlay/2989>\
**Category:** Support\
**Created:** [September 5, 2021, 3:09pm UTC](https://discuss.pynq.io/t/error-no-device-found-when-loading-overlay/2989 "2021-09-05T15:09:38Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![haipnh](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/haipnh/32/4439_2.png) [@haipnh](https://discuss.pynq.io/u/haipnh)\
**Post date:** [June 27, 2022, 9:18am UTC](https://discuss.pynq.io/t/error-no-device-found-when-loading-overlay/2989/6 "2022-06-27T09:18:51Z")

</div>

I have the same problem.

I logged in via SSH to my PYNQ-ZU board. Then ran

```nohighlight
sudo -s 
source /etc/profile.d/pynq_venv.sh 
python3

```

In Python prompt, I ran some lines of code and get the following error:

```python
>>> from pynq.overlays.base import BaseOverlay
>>> from pynq.lib.video import *
>>> base = BaseOverlay("base.bit")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/xilinx/pynq/overlays/base/base.py", line 48, in __init__
    super(). __init__ (*args, **kwargs)
  File "/home/xilinx/pynq/overlay.py", line 336, in __init__
    super(). __init__ (bitfile_name, dtbo, partial=False, device=device)
  File "/home/xilinx/pynq/bitstream.py", line 111, in __init__
    device = Device.active_device
  File "/home/xilinx/pynq/pl_server/device.py", line 94, in active_device
    raise RuntimeError("No Devices Found")
RuntimeError: No Devices Found

```

---

_[View the full topic](https://discuss.pynq.io/t/error-no-device-found-when-loading-overlay/2989)._
