Data Flow Compliler Install error

Hello, i’m trying to install the the DFC and I keep getting this error, concerning the jaxlib. I’m certain that it’s a me problem, but any help would be appreciated. Thanks

Hi @matthewkolb,

Welcome to Hailo community!
Ensure that your Python version is compatible with hwl. If it’s not, you may need to install a compatible version. You can check your current Python version using:

python --version  

I recommend trying to install jaxlib==0.4.13 in a fresh virtual environment to see if it works there. This can help isolate and resolve potential compatibility issues.

Please let me know if this helps or if you need further assistance!

Best regards,
Ronit

Hi @matthewkolb

As @ronits recommended, it’s best to install jaxlib in a fresh virtual environment to avoid potential compatibility issues.

However, if you’d prefer to use your current virtual environment, here’s what you can do:

Uninstall the Current jaxlib Version
Run the following command to remove your existing jaxlib installation:

pip uninstall jaxlib

Install the Targeted jaxlib Version
Install the required version (jaxlib==0.4.13) with this command:

pip install jaxlib==0.4.13

Verify the Installed Version
Confirm that the correct version was installed by using:

pip show jaxlib

Retry the Installation
Once jaxlib is correctly installed, try running the command again:

pip install hailo_dataflow_compiler-3.29.0-py3-none-linux_x86_64.whl

Note: Using your current virtual environment may still result in compatibility issues, so a fresh virtual environment is always the safer option.

Let me know if this helps or if you encounter any further problems!

Regards,

Oscar Mendez
Embedded SW Engineer at RidgeRun
Contact us: support@ridgerun.ai
Developers wiki: Hailo AI Platform Guide
Website: www.ridgerun.ai

I tried to install jaxlib==0.4.13. but this version is not available
ERROR: Ignored the following yanked versions: 0.4.32
ERROR: Could not find a version that satisfies the requirement jaxlib==0.4.13 (from versions: 0.4.17, 0.4.18, 0.4.19, 0.4.20, 0.4.21, 0.4.22, 0.4.23, 0.4.24, 0.4.25, 0.4.26, 0.4.27, 0.4.28, 0.4.29, 0.4.30, 0.4.31, 0.4.33, 0.4.34, 0.4.35, 0.4.36, 0.4.38, 0.5.0, 0.5.1)
ERROR: No matching distribution found for jaxlib==0.4.13

1 Like

Hello, I’m having the same problem.
Trying to install DFC 3.30.0 in a fresh virtual env results in:

It seems version 0.4.13 of jaxlib is not available anymore, but it is required by DFC. Can I proceed somehow without needing you to bump the library inside the wheel file?
Thanks

Welcome to the Hailo Community!

I recommend using the Hailo AI Software Suite Docker. This avoids the dependency issues.

1 Like

I did so and was able to proceed. Thanks.

1 Like