iam trying to run yolov5s_coco–640x640_quant_hailort_multidevice_1.hef
using degirum but it showing
License does not allow usage of runtime agent ‘HAILORT’
what does it mean , how can i fix it
Can you please run degirum tokenand see if a token is installed for a workspace?
- Please make sure you have Internet connection on your Hailo system.
- Please make sure you have DeGirum AI Hub token installed on your system. Follow these guidelines.
- Execute
degirum tokencommand to verify that your token is installed. You should see something like this:token: dg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx created_at: '2026-01-22T04:33:08.215955Z' description: yyyyyyyyyyyyyyyyyyyyyyyyyyyy expiration: '2026-02-05T04:33:08.216072Z' user: <your e-mail> space: <your workspace name> - Now run your script which performs inferences (make sure you still have Internet connection)
- If the inference fails with
License does not allow usageerror, then tell us the workspace name as shown inspace:field ofdegirum tokencommand output. - Please be advised, that with Free plan, you may activate a license only on one system.
Please see Token Installation and Management | PySDK | DeGirum Docs for details on token installation and management.
Hi, @vladk thanks for the reply.
I tried the same steps, but I’m still getting the error “License does not allow usage.”
Workspace: myTeam1
I’m doing local inference using a model that I downloaded locally.
Also, for your understanding, I was able to run this earlier without using any token, so I’m not sure why this issue is happening now.(only one system)
When you type degirum token do you see the space name matching your workspace name?
Starting with PySDK1.0, running PySDK for runtimes other than TFLITE/CPU requires a license: please see Release Notes | PySDK | DeGirum Docs
hi @shashi
Yes, the space name matches.
Running degirum token shows space: myTeam1, which is the same workspace I’m using.
Thanks for confirming. We will take a look and keep you posted.
Fixed. Was lack of permissions for Free plan. Try one more time.
Hi! Would you be so kind to check my workspace as well? I have exactly the same problem, but with Professional plan.
File “/************/lib/python3.11/site-packages/degirum/model.py”, line 295, in predict_batch
Feb 09 12:24:44 : for res in self._predict_impl(source):
Feb 09 12:24:44 : File “/home/tushev/picam_rec_env/lib/python3.11/site-packages/degirum/model.py”, line 1287, in _predict_impl
Feb 09 12:24:44 : raise DegirumException(msg) from saved_exception
Feb 09 12:24:44 : degirum.exceptions.DegirumException: Failed to perform model ‘scrfd_10g–640x640_quant_hailort_hailo8l_1’ inference: [ERROR]Functionality is not supported
Feb 09 12:24:44 : License does not allow usage of runtime agent 'HAILORT
Token status:
token: dg_**********************
$schema: DeGirum AI Hub
created_at: ‘2026-02-01T16:58:54.970902Z’
description: Pi5
value: dg_*****************************
expiration: ‘0001-01-01T00:00:00Z’
user:
space: TSHome
Hmm… cannot see any license requests from the owner of TSHome workspace for the last week. Do you have Internet connection from that host?
You may try the following:
- Stop all apps/servers using PySDK
- remove all files from
~/.local/share/DeGirumdir. - Install your token one more time:
degirum token install <TOKEN> - Try to run app one more time. At this moment the license request should be made and
pysdk_runtimes.licfile should be created in~/.local/share/DeGirumdir.
Hi @stushev , we see in our logs that you successfully obtained a license for PySDK today. Does it mean you resolved the license problem?
Hi @vladk ,
Thank you,
I followed your instructions to remove everything from ~/.local/share/DeGirum and reinstalled the token. I suppose the problem might have been incorrect permissions; the app could have been run with sudo the first time when pysdk_runtimes.lic was created. Now everything is fine.
But I ran into another issue that you might want to take a look at.
I was getting the following error:
File "/_____________________/lib/python3.11/site-packages/degirum/pproc_worker.py", line 39, in <module>
import pyseccomp as seccomp
ModuleNotFoundError: No module named 'pyseccomp'
However, pyseccomp was definitely installed (version 0.1.2).
After some investigation (I’m not a Python expert — it’s just a hobby for me), I found that changing the line
import pyseccomp as seccomp
to
import seccomp
resolved the issue, and everything now works as expected.
Could you please let me know if this is a correct fix, or if I might be missing something?
Hmm, subtle issue. Usually it works. Failure to import pyseccomp as seccomp usually means that the system has both pyseccomp and seccomp packages installed. Suggested way to import is:
try:
import seccomp
except ImportError:
import pyseccomp as seccomp
We will fix it in the next release.