Replies: 5 comments 16 replies
-
|
You're using an old version of python (3.6), so you're attempting to install a last version of hls4ml that supported that python. You should upgrade to at least python 3.8 but preferably newer. We'll be moving to 3.10 as the requirement soon. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for your reply. I am quite new with Python world. `import hls4ml Traceback (most recent call last): |
Beta Was this translation helpful? Give feedback.
-
|
Hi, I can see that the model is created successfully, but I get an error for compiling the model which is:
It seems the problem is in sth related to bash files or sth like that. I would be really grateful if you could help me or give me some hints dude. Thank you so much and looking forward to hearing from you. Regards, |
Beta Was this translation helpful? Give feedback.
-
|
Here's a hint dude, hls4ml doesn't work on Windows (see the docs). You'll have to use Linux (via VM or WSL). Sorry :-( |
Beta Was this translation helpful? Give feedback.
-
|
hi i'm new learner here. i also encounted the same situation. i am running ubuntu24.04 in virtualbox of Win11. "pip show hls4ml" indicated a successful installation. but when i typed “hls4ml -h” in cmd, or "import hls4ml" in python, only got "illegal instruction". please help |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hi to all,
I am new here. I just started to install hls4ml library by running the following command in my home folder:
pip3 install hls4ml
but I am getting the following error:
Collecting hls4ml Using cached https://files.pythonhosted.org/packages/e9/64/30fe14f8ce47277c2a69d48a63538ed5bd54241dec388048d457e5cf4df3/hls4ml-0.6.0-py3-none-any.whl Requirement already satisfied: pyyaml in /usr/lib64/python3.6/site-packages (from hls4ml) Requirement already satisfied: numpy in /usr/lib64/python3.6/site-packages (from hls4ml) Collecting onnx>=1.4.0 (from hls4ml) Using cached https://files.pythonhosted.org/packages/8f/71/1543d8dad6a26df1da8953653ebdbedacea9f1a5bcd023fe10f8c5f66d63/onnx-1.14.1.tar.gz Complete output from command python setup.py egg_info: fatal: Not a git repository (or any parent up to mount point /tmp) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-build-svy0ktzx/onnx/setup.py", line 310, in <module> packages = setuptools.find_packages() + setuptools.find_namespace_packages( AttributeError: module 'setuptools' has no attribute 'find_namespace_packages' ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-svy0ktzx/onnx/Do you have any idea?
Thank you in advance for your support.
Regards,
Amir
Beta Was this translation helpful? Give feedback.
All reactions